Strata runs some of the earliest releases of Ruby in your browser, with nothing to install. It goes from 0.49 (July 1994), the oldest release that survives, to 1.8.7 (June 2013), the last release of the last series before YARV.
Each Ruby is built from its original source code, patched only where needed to get it working on a modern system (thanks to all-ruby for already doing most of the heavy lifting here).
Under the hood there’s a small Debian guest running in v86, an x86 emulator compiled to WebAssembly:
- The page restores a snapshot, so you get a root shell in a few seconds rather than having to wait for the VM to boot
- Files are fetched only when they’re read, so a Ruby is downloaded the first time you run it
- Anything in
~/work/is kept in your browser, and the rest is gone when you reload - Drop files on the page to upload them, and use
download FILEto get them back out - Basic HTTP networking is enabled via a Cloudflare Worker proxy
Try it at strata.matiaskorhonen.fi, or have a look at the source on GitHub.