Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skryukov/runruby.dev
A basic playground built with ruby.wasm
https://github.com/skryukov/runruby.dev
Last synced: 1 day ago
JSON representation
A basic playground built with ruby.wasm
- Host: GitHub
- URL: https://github.com/skryukov/runruby.dev
- Owner: skryukov
- License: mit
- Created: 2022-05-18T13:21:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-27T09:05:56.000Z (3 months ago)
- Last Synced: 2024-12-17T17:05:56.957Z (9 days ago)
- Language: TypeScript
- Homepage: http://runruby.dev/
- Size: 40.2 MB
- Stars: 70
- Watchers: 4
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# RunRuby.dev
[RunRuby.dev](https://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](https://github.com/ruby/ruby.wasm) 💕.
Made in Evil Martians, product consulting for developer tools.
## Development
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://pr.new/skryukov/runruby.dev)
To run project locally:
1. Install Node.js by [`asdf`](https://github.com/asdf-vm/asdf) or manually:
```sh
asdf install
```1. Install dependencies:
```sh
npm install
```1. Run local server:
```sh
npm run dev -- --host 0.0.0.0
```open https://local.runruby.dev:5173/