Ruby2JS Demos

Start anywhere. Go anywhere. Same patterns throughout.

Whether you're publishing content or building an application, the same ActiveRecord patterns work everywhere.

Starting from Content

SSG Blog

Pure static. Markdown → HTML. Zero JavaScript. (11ty)

Astro Blog

Content + islands. Client-side CRUD when needed. (Astro)

Starting from Application

Blog

Full CRUD. Deploy to browser, Node, or Edge. (Rails)

Chat

Real-time Turbo Streams, Stimulus controllers. (Rails)

Notes

JSON API, path helper RPC. (Rails + React)

Adding Capabilities

Photo Gallery

Device APIs: camera, Capacitor, Electron.

Dictaphone

Active Storage, Whisper AI speech-to-text.

Workflow Builder

Third-party React libraries: React Flow.

Interactive Editor

Editor (Blog)

Edit Ruby source files in-browser with live preview via WebContainers.

Downloads

NPM packages and demo app tarballs