Settings

Theme

Bridgetown - progressive site generator and framework, powered by Ruby

bridgetownrb.com

79 points by obahareth 4 years ago · 19 comments

Reader

zem 4 years ago

I 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)

fpsvogel 4 years ago

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/...

datene 4 years ago

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.

  • thunderbong 4 years ago

    I'm not doing this on my Android device

    • datene 4 years ago

      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

      • jaredcwhite 4 years ago

        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!

osxman 4 years ago

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.

existentialmutt 4 years ago

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.

encryptluks2 4 years ago

This site does a really bad job at explaining why I should use this product. It looks like they are trying to hard.

  • knodi123 4 years ago

    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...."

  • sirwinsley 4 years ago

    It kinda got me excited but I would’ve love to see a quick tour screencast or something.

  • bigpeopleareold 4 years ago

    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.

  • nurettin 4 years ago

    I doomscrolled through the entire user praise section to find three lines of commandline or code usage. Nothing of the sort.

    • antifa 4 years ago

      No specific reason to prefer this over anything else, just vague endorsements from randoms on Twitter.

throwaway2474 4 years ago

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.

stanislavb 4 years ago

For the record: here it is the repo - https://github.com/bridgetownrb/bridgetown

pacifika 4 years ago

So this is a rails alternative?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection