Skip to content

skryukov/runruby.dev

Repository files navigation

RunRuby.dev

RunRuby.dev brings Ruby programming into your browser, streamlining the process of writing and running Ruby code. Here's what sets it apart:

  • Simple Editing: Easily create, rename, and manage text files and directories directly in your browser.
  • Gist integration: Save your work to a GitHub Gist and share it with others.
  • Bundler Support: Add a Gemfile to your project and click "Bundle Install". The absence of native networking in WASI is not a problem.
  • Networking: For networking, try using Faraday with the Faraday::Adapter::JS adapter to make web requests from Ruby.wasm.
  • Quick start: Access gems or gists quickly with runruby.dev/{gem_name} and runruby.dev/gist/{id} URLs.
  • Gems Caching: Take advantage of the browser's cache to prevent re-downloading gems, enhancing efficiency.

Built on top of ruby.wasm 💕.

Made in Evil Martians, product consulting for developer tools.

Development

Open in StackBlitz

To run project locally:

  1. Install Node.js by asdf or manually:

    asdf install
  2. Install dependencies:

    npm install
  3. Run local server:

    npm run dev