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.github.io 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 60

  2. R2P2-ESP32 R2P2-ESP32 Public

    PicoRuby shell for ESP32. This project runs PicoRuby on ESP32 using picoruby-esp32.

    Ruby 42 5

  3. mruby-compiler2 mruby-compiler2 Public

    C 15 7

  4. estalloc estalloc Public

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

    C 10 3

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

    HTML 7 7

  6. rapicco rapicco Public

    Ruby 2

Repositories

Showing 10 of 32 repositories
  • picoruby/picoruby.github.io’s past year of commit activity
    HTML 7 7 15 0 Updated Apr 21, 2026
  • picoruby-esp32 Public

    This is a component that can be used with ESP-IDF, allowing you to add PicoRuby to your project.

    picoruby/picoruby-esp32’s past year of commit activity
    Ruby 16 MIT 6 0 1 Updated Apr 20, 2026
  • picoruby Public

    PicoRuby is the smallest Ruby implementation for one-chip microcontrollers

    picoruby/picoruby’s past year of commit activity
    C 1,059 MIT 60 0 4 Updated Apr 20, 2026
  • funicular Public
    picoruby/funicular’s past year of commit activity
    Ruby 14 MIT 0 0 0 Updated Apr 20, 2026
  • R2P2-ESP32 Public

    PicoRuby shell for ESP32. This project runs PicoRuby on ESP32 using picoruby-esp32.

    picoruby/R2P2-ESP32’s past year of commit activity
    Ruby 42 MIT 5 1 1 Updated Apr 18, 2026
  • picoruby/mruby-compiler2’s past year of commit activity
    C 15 7 0 1 Updated Apr 17, 2026
  • runtimegems Public

    RuntimeGems are libraries for PicoRuby written in pure Ruby

    picoruby/runtimegems’s past year of commit activity
    Ruby 2 2 0 0 Updated Apr 14, 2026
  • picoruby/r2p2-installer’s past year of commit activity
    Shell 3 MIT 0 0 0 Updated Apr 13, 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 10 BSD-3-Clause 3 0 0 Updated Mar 30, 2026
  • picoruby/mruby-bin-mrbc2’s past year of commit activity
    C 1 0 0 0 Updated Mar 28, 2026

Sponsors

  • @yujiyokoo
  • @bleughb
  • @swanmatch
  • @techmech-keeb
  • @kristerj
  • @arai-ta
  • @igaiga
  • Private Sponsor

Top languages

Loading…

Most used topics

Loading…