Bridgetown - progressive site generator and framework, powered by Ruby
bridgetownrb.comI discovered Bridgetown by following the link back from [serbea](https://www.serbea.dev/), which looks like a really nice erb replacement (I was googling around for what people were doing with rails templates these days and serbea caught my eye as the nicest looking option)
I signed up on HN just comment how much I've enjoyed Bridgetown as a newbie developer. I just got my first dev job in Rails and I'm enjoying it, but I'm still more excited about playing around with Bridgetown in my free time. One of the coolest things is that Bridgetown is now integrated with [Roda](https://roda.jeremyevans.net), a fast and lightweight alternative to Rails. Which means I could use Bridgetown to build a Roda app with the frontend bells and whistles already set up, most notably esbuild and a component architecture. And for anyone who can't get enough of Ruby, the Bridgetown maintainer even showed how it's possible to build Web Components in Ruby: https://www.fullstackruby.dev/fullstack-development/2022/01/...
Pretty cool.
If anyone associated with the project reads this: All of the headings on bridgetownrb.com seem to have a scroll overflow, which stops your page scrolling on mobile.
I'm not doing this on my Android device
You might have an android device wider than 575px, this is the media query that's causing it:
``` @media (max-width: 575px) h2 { position: relative; overflow-x: hidden; } ```
overflow-x:hidden makes overflow-y:auto, which is scroll
Maintainer here: thanks for pointing this out! I was scratching my head wondering why this was happening… overflow: hidden works, but even overflow-x: hidden + overflow:y visible still will create the inside scrolling context. Weird. Anyway, fixed now!
This is actually a very nice static site generator. Because just like with middleman or nanoc it let you extend functionality with pure Ruby. Big difference this project is certainly not a sleeper and well maintained and progressively enhanced/developed. It is highly recommended to try out if you want to build a great (product/company/etc) website. Bonus: It also supports esbuild out of the box.
As a veteran Rails developer, Bridgetown is my go-to choice for static sites. Combining familiar ERB templating with cutting-edge asset tooling that just works out of the box makes for a fantastic developer experience.
I'm also intrigued by its ability to serve dynamic routes via Roda. This project is definitely putting some interesting concepts together.
This site does a really bad job at explaining why I should use this product. It looks like they are trying to hard.
haha, I liked the section "Excited to get started? Woohoo! In case you’re wondering, Bridgetown is a progressive site generator...." Like, who is so excited to get started that they yell woo hoo, but are still wondering what Bridgetown even is, at the most vague level?
"Excited to start taking Snarflorvex? Yabba dabba doo, we are too!!1! In case you're wondering, Snarflorvex is a topical hernia medication...."
It kinda got me excited but I would’ve love to see a quick tour screencast or something.
The answer: "Bridgetown is optimized for web developer happiness." :D
Like the goal of Hugo: "With its amazing speed and flexibility, Hugo makes building websites fun again." (It didn't, I couldn't get past the fact that the docs were hard to understand.)
I think tools need to focus on clear description of feature sets and leave the decision on what emotions to have to users.
But, scrolling down, I saw it said it was a static site generator. I'm still sticking to my own for now.
I doomscrolled through the entire user praise section to find three lines of commandline or code usage. Nothing of the sort.
No specific reason to prefer this over anything else, just vague endorsements from randoms on Twitter.
On the topic of Jekyll, can anyone recommend a reliable GUI that a non-technical content team can use that integrates nicely with Jekyll? I’ve tried a few “headless CMS” options but the editing experience isn’t great, and integration is hard.
Check out https://cloudcannon.com/. Visual, on page editing and syncs with Git. Disclaimer: I'm the cofounder :-)
For the record: here it is the repo - https://github.com/bridgetownrb/bridgetown
So this is a rails alternative?
No, this is much more a Jekyll alternative.