{"id":50489481,"url":"https://github.com/josephschito/rubyduino","last_synced_at":"2026-06-02T01:30:40.638Z","repository":{"id":356532619,"uuid":"1232898809","full_name":"josephschito/rubyduino","owner":"josephschito","description":"Rubyduino compiles Ruby code for Arduino UNO boards and uploads the generated firmware.","archived":false,"fork":false,"pushed_at":"2026-05-08T14:37:08.000Z","size":15,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-08T14:37:57.802Z","etag":null,"topics":["arduino","artoo","rad","ruby"],"latest_commit_sha":null,"homepage":"https://github.com/josephschito/rubyduino","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/josephschito.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-08T11:42:53.000Z","updated_at":"2026-05-08T13:29:24.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/josephschito/rubyduino","commit_stats":null,"previous_names":["josephschito/rubyduino"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/josephschito/rubyduino","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josephschito%2Frubyduino","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josephschito%2Frubyduino/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josephschito%2Frubyduino/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josephschito%2Frubyduino/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/josephschito","download_url":"https://codeload.github.com/josephschito/rubyduino/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josephschito%2Frubyduino/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33802170,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","artoo","rad","ruby"],"created_at":"2026-06-02T01:30:40.051Z","updated_at":"2026-06-02T01:30:40.614Z","avatar_url":"https://github.com/josephschito.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# Rubyduino\n\n\u003cimg width=\"250\" height=\"250\" alt=\"image copy\" src=\"https://github.com/user-attachments/assets/156c7d41-ed42-43f3-a720-ed2e9c12b52c\" /\u003e\n\nRubyduino compiles Ruby sketches for Arduino boards and uploads the generated firmware.\n\nUnder the hood it uses [Spinel](https://github.com/matz/spinel), a Ruby AOT compiler, vendored at a pinned revision.\n\n\u003c/div\u003e\n\n## Example\n\n\u003cimg width=\"500\" height=\"281\" alt=\"IMG_0197\" src=\"https://github.com/user-attachments/assets/d2b1cc69-647a-4f63-b090-31b13a21e5a8\" /\u003e\n\n```ruby\npin_mode(ArduinoUNO::LED_BUILTIN, ArduinoUNO::OUTPUT)\n\nloop do\n  digital_write(ArduinoUNO::LED_BUILTIN, ArduinoUNO::HIGH)\n  delay_ms(100)\n  digital_write(ArduinoUNO::LED_BUILTIN, ArduinoUNO::LOW)\n  delay_ms(100)\nend\n```\n\nNot bad, huh?\n\n## Installation\n\n```bash\ngem install rubyduino\n```\n\nThe command expects the AVR toolchain to be available in `PATH`, including `avr-gcc`, `avr-objcopy`, and `avrdude`.\n\nOn macOS, install the AVR tools with Homebrew:\n\n```bash\nbrew tap osx-cross/avr\nbrew install avr-gcc avrdude\n```\n\nOn Debian/Ubuntu:\n\n```bash\nsudo apt install gcc-avr avr-libc avrdude\n```\n\nOn Fedora:\n\n```bash\nsudo dnf install avr-gcc avr-libc avrdude\n```\n\n## Usage\n\n```bash\nrubyduino examples/hello.rb\n```\n\nPass a serial port explicitly when auto-detection is not enough:\n\n```bash\nrubyduino -p /dev/cu.usbmodem11401 examples/hello.rb\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosephschito%2Frubyduino","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjosephschito%2Frubyduino","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosephschito%2Frubyduino/lists"}