tinygo
Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
- adafruit
- arduino
- arm
- avr
- esp32
- gpio
- i2c
- llvm
- microbit
- microcontroller
- nrf51
- nrf52
- samd21
- spi
- stm32
- tinygo
- wasi
- wasm
- webassembly
- Stars
- 18,151
- Forks
- 1,137
- + today
- +4
- Created
- 8y
Ranking data as of December 2, 2026 (UTC).
Star History
Today, hour by hour
Overview
Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM. It ranks #62 on GitTiger, gaining +4 stars on December 2, 2026 (UTC).
The project is written in Go and has 1,137 forks. It was created 8y ago.
What it is
TinyGo is a Go compiler aimed at constrained targets: microcontrollers, WebAssembly through WASM and WASI, and command-line tools. It is built on LLVM and its topic list spans boards and chips from Adafruit, Arduino, AVR, ARM, ESP32, nRF51/nRF52 and micro:bit, with GPIO and I2C as the named hardware interfaces.
What the description covers
The project exists to compile Go programs where the standard toolchain does not fit, whether that means a few kilobytes of RAM or a WebAssembly module. The README preview points readers at a separate list of Go language features that are currently supported, which implies the compiler tracks but does not fully match upstream Go. Practical entry points are listed per platform: Linux, macOS, Windows, Docker and Nix.
What is missing
The evidence does not include the actual feature-support table, flash and RAM figures per board, the current release number, or debugging support. GitHub reports the licence as not identified, so the exact terms are not stated in these fields.
Getting started
Install one of the platform packages listed in the preview, or run the Docker image, then follow the README's board-specific notes before flashing hardware. Confirm the licence from the repository itself if you plan to redistribute binaries.
git clone https://github.com/tinygo-org/tinygo.git
cd tinygo
# see README for setupFrequently Asked Questions
Which boards are supported?
The topics name Adafruit, Arduino, AVR, ARM, ESP32, micro:bit and the nRF51 and nRF52 families, with GPIO and I2C among the interfaces covered.
Does TinyGo support the whole Go language?
The preview defers to a separate document listing currently supported language features, which indicates coverage is tracked rather than assumed complete.
Can it target the browser?
Yes, WebAssembly is one of the three stated targets, alongside microcontrollers and command-line tools.