Tinybird is a tiny Wasm-based application platform for microcontrollers. The main goal of the project is to provide a consistent execution environment and hardware API that allows developers to write applications once and run them on different devices without modifying their code.
See ROADMAP.md for the list of implemented and planned features.
Important
Tinybird is in early development, so bugs and breaking changes are expected. Use the issues page to report bugs or request features.
To follow the steps below, you need to have Git and Nix (with flakes enabled) installed on your machine.
Important
The instructions below are for Linux. Use Windows Subsystem for Linux (WSL) on Windows. A working Nix installation with flakes enabled is needed. Currently, the primary microcontroller target is the Raspberry Pi Pico 2.
git clone --recurse-submodules https://github.com/habedi/tinybird.git
cd tinybirdnix develop# Install Python tools
make install
# Run host-side unit tests (no board needed)
make test
# Build the host CLI, sample Wasm applications, and MCU firmware
make build# Run the hello world example
./zig-out/bin/tinybird run zig-out/examples/hello.wasm
# Run the add example with arguments
./zig-out/bin/tinybird run zig-out/examples/add.wasm add 10 20- Enter BOOTSEL mode by holding down the white
BOOTSELbutton on the Pico 2 while plugging the USB cable into your machine, then release it. - Flash the board:
# Option A: Automatic flash over USB using picotool
make flash
# Option B: Flash a specific UF2 file path
make flash FIRMWARE_UF2=zig-out/firmware/tinybird.uf2make console TTY=/dev/ttyACM0Tip
On Linux, access to /dev/ttyACM0 needs membership in the dialout group:
sudo usermod -aG dialout $USERCheck out the project documentation for more information.
To see all available commands in Makefile and their descriptions, run:
make helpSee CONTRIBUTING.md for details on how to make a contribution.
Tinybird is licensed under the Apache License, Version 2.0 (see LICENSE).
- The logo is from SVG Repo with some modifications.
