About This Blog

This is a demo of Ruby2JS with Astro. It shows how Ruby can be used at every level of an Astro project:

  1. Static content (this page) - Plain markdown, no Ruby required
  2. Astro pages - Ruby code in .astro.rb files, rendered at build time
  3. Interactive islands - Preact components in .jsx.rb files, hydrated on client

How It Works

Built with Ruby2JS.