Skip to content
@picoruby

PicoRuby

A Ruby interpreter implementation for one-chip microcontrollers

PicoRuby

PicoRuby is the smallest Ruby implementation for one-chip microcontrollers.

Supported Platforms

  • Raspberry Pi Pico (RP2040/RP2350) - R2P2
  • ESP32 - R2P2-ESP32
  • WebAssembly - Browser runtime (work in progress)

Key Features

  • Write microcontroller firmware in Ruby
  • Interactive shell with IRB on-chip
  • Peripheral support: GPIO, ADC, I2C, SPI, UART, and PWM
  • Keyboard firmware framework (PRK Firmware)

Getting Started

Visit picoruby.org for documentation.

Development

This project is supported by the Ruby Association Grant Program and mentored by Matz.

Maintainer: HASUMI Hitoshi (@hasumikin) License: MIT

Pinned Loading

  1. picoruby picoruby Public

    PicoRuby is the smallest Ruby implementation for one-chip microcontrollers

    C 1.1k 72

  2. R2P2-ESP32 R2P2-ESP32 Public

    R2P2 (Ruby Rapid Portable Platform), a PicoRuby shell, on ESP32.

    Ruby 48 8

  3. funicular funicular Public

    Rails plugin for full-stack SPA in Ruby

    Ruby 36 4

  4. estalloc estalloc Public

    A memory allocator for embedded systems, implementing the Two-Level Segregated Fit (TLSF) algorithm

    C 12 3

  5. picoruby.github.io picoruby.github.io Public

    Ruby 7 9

  6. runtimegems runtimegems Public

    RuntimeGems are libraries for PicoRuby written in pure Ruby

    Ruby 2 3

Repositories

Showing 10 of 33 repositories
  • picoruby/mruby-compiler2's past year of commit activity
    C 18 9 0 0 Updated Sep 16, 2026
  • R2P2-ESP32-installer Public

    Web-based firmware installer for R2P2-ESP32 (PicoRuby on ESP32).

    picoruby/R2P2-ESP32-installer's past year of commit activity
    HTML 2 Apache-2.0 0 0 0 Updated Sep 15, 2026
  • R2P2-ESP32 Public

    R2P2 (Ruby Rapid Portable Platform), a PicoRuby shell, on ESP32.

    picoruby/R2P2-ESP32's past year of commit activity
    Ruby 48 MIT 8 4 1 Updated Sep 15, 2026
  • picoruby Public

    PicoRuby is the smallest Ruby implementation for one-chip microcontrollers

    picoruby/picoruby's past year of commit activity
    C 1,101 MIT 72 5 12 Updated Sep 14, 2026
  • funicular Public

    Rails plugin for full-stack SPA in Ruby

    picoruby/funicular's past year of commit activity
    Ruby 36 MIT 4 0 0 Updated Sep 13, 2026
  • picoruby/mruby-bin-mrbc2's past year of commit activity
    Ruby 1 0 0 0 Updated Sep 10, 2026
  • estalloc Public

    A memory allocator for embedded systems, implementing the Two-Level Segregated Fit (TLSF) algorithm

    picoruby/estalloc's past year of commit activity
    C 12 BSD-3-Clause 3 0 0 Updated Sep 8, 2026
  • picoruby/picoruby.github.io's past year of commit activity
    Ruby 7 9 16 1 Updated Sep 6, 2026
  • runtimegems Public

    RuntimeGems are libraries for PicoRuby written in pure Ruby

    picoruby/runtimegems's past year of commit activity
    Ruby 2 3 0 0 Updated Aug 14, 2026
  • .github Public
    picoruby/.github's past year of commit activity
    0 0 0 0 Updated May 29, 2026