How to integrate a static website to Rails app

This page summarizes the projects mentioned and recommended in the original post on /r/rails

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • static-rails

    Build & serve static sites (e.g. Jekyll, Hugo) from your Rails app

  • testdouble/static-rails: Build & serve static sites (e.g. Jekyll, Hugo) from your Rails app (github.com)

  • High Voltage

    Easily include static pages in your Rails app.

  • Also not quite what you're lookin' for but throwing it out there anyway: https://github.com/thoughtbot/high_voltage

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • rails-reverse-proxy

    A reverse proxy for Ruby on Rails

  • I use https://github.com/axsuul/rails-reverse-proxy to pass along any requests made to my Rails app for /blog/ and /blog/:article_slug to my separately hosted static blog site (which I host on Cloudflare Pages). It serves my purpose pretty well. The main thing that I don't love is the extra network time between my Rails app server and the blog server when someone requests my blog via my Rails app, but it's good enough for my needs.

  • Bridgetown

    A next-generation progressive site generator & fullstack framework, powered by Ruby

  • FYI. I used Bridgetown as a static site generator recently and rather enjoyed it. https://github.com/bridgetownrb/bridgetown.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts