Rails-based Static Site Generator

Static sites with the framework you love ❤️

Hey! 👋

Another Static Site Generator (SSG)? In 2025? Yes! For years I've built static sites using Ruby-based SSGs and occasionally tried JavaScript alternatives. But there's always been a frustrating disconnect when switching between building Rails apps and creating static sites. Stimulus works differently, Tailwind CSS requires separate configurations, and countless other tools from my Rails workflow simply weren't reusable in static site generators (even Ruby-based ones!).

Perron (Dutch/French; a platform at a railway station from where passengers can board or disembark trains) bridges this gap elegantly. Rather than being a standalone SSG, Perron is packaged as a gem that runs within your Rails app. This approach gives you the best of both worlds:

Perron offers two operating modes to fit your needs:

With Perron's convention-over-configuration approach, you can organize content in familiar Rails patterns. Create collections with generators, set up routes naturally, and leverage ERB embedding in your markdown when needed.

Perron is already powering this site (repo can be found here) and my latest SaaS marketing site. I'd love to see you give Perron a try for your next marketing site, blog, or documentation project! 😊

Be sure to check it out (and star) it on GitHub.

-Rails Designer