Rails Static

Generate static sites with Rails · a step by step guide

Another framework?

The Ruby ecosystem offers many static site generators - Jekyll, Middleman, Kamal Skiff, Sitepress, Bridgetown, High Voltage, Nanoc, … - and countless more exist beyond Ruby.

The intent here is to remove one - to use Rails and all its magic goodies for both dynamic and static sites.

This is not a new framework. It’s a thoughtful collection of existing gems that each excel at one task and integrate seamlessly with Rails.

This very website is generated using this approach - let’s learn how to build and deploy it together!

Start with Rails and Hotwire


What you will learn

This guide will teach you how to transform Rails into a powerful static site generator, leveraging a modern Hotwire stack. You will discover how to:

What you need

Before starting, you should have:

Start with Rails and Hotwire


About

This guide and website were created by François Catuhe and are available on GitHub.