3 ms·
If you love building stuff in Rails, keep an eye on my project Sitepress at https://github.com/sitepress/sitepress https://github.com/sitepress/sitepress (there
by bradgessler 5y ago
If you love building stuff in Rails, keep an eye on my project Sitepress at https://github.com/sitepress/sitepress https://github.com/sitepress/sitepress (there's a project site too at https://sitepress.cc https://sitepress.cc). I'm a few betas away from dropping a 2.x release. I'm still working through a few refactors that makes the whole thing more modular.
I built this because it was extremely difficult to embed Middleman or Jekyll into a Rails site. While I was building it, I discovered that Rails actually has a LOT of stuff in it already that make it work well for a static site compiler.
I run it in a few places, with the largest deployment at https://www.polleverywhere.com https://www.polleverywhere.com. At Poll Everywhere it's happily been serving up content pages for a few years. I've switched all of my personal static websites over to it as well.
Here's what's kind of crazy about Sitepress: you can use it to compile static websites -- OR -- you can embed it in rails and do things dynamically like display a "Login" vs "Logout" button state. The choice of "static" vs "dynamic" just isn't a big deal with Sitepress, you can have it both ways.
Last thing: I'm currently working on making Sitepress serve up Notion and Webflow content. This can be really helpful for teams that need to deal with multiple CMS formats from large teams.
- alwillis 5y agoIf you love building stuff in Rails… Check out Bridgetown, "a Webpack-aware, Ruby-powered static site generator for the modern Jamstack era". It's come a long way since it forked from Jekyll a year ago [1]. [1]: https://www.bridgetownrb.com https://www.bridgetownrb.com