A

A Full-Stack Web Framework for Go

Hacker News

A Full-Stack Web Framework for Go

Hey HN! I want to share my side project with you. It's called Bud and it's a full-stack web framework for Go. I created a short video to show you how to create a minimal Hacker News clone with Bud: https://www.youtube.com/watch?v=LoypcRqn-xA . The framework is free, open source and MIT Licensed. You can find it on Github: https://github.com/livebud/bud . I started working on Bud 2 years ago after watching the introductory Laracast videos about the Laravel web framework. I was just blown away by how productive you can be in Laravel. However, like many of you, I've been so spoiled by Go. I didn't want to go back to writing PHP, so I decided to try creating Laravel for the Go ecosystem. At this point, I just had the following goal: • Be as productive as Laravel in a typed language like Go. I got the first version working in 6 months and tried building a blog from it... It fell flat. You needed to scaffold all these files just to get started. If you're coming from Rails or Laravel you may shrug, this is pretty normal. Unfortunately, I've also been spoiled by the renaissance in frontend frameworks like Next.js. What I love about Next is that it starts out barebones and every file you add incrementally enhances your web application. This keeps the initial complexity under control. With these newly discovered constraints, I started working on the next iteration. Bud should: • Generate files only as you need them. Keep these generated files away from your application code and give developers the choice to keep them out of source control. • Feel like using a modern JS framework. This means it should work with modern frontend frameworks like Svelte and React, support live reload and have server-side rendering for better performance and SEO. With these new goals, the Bud you see today started to take shape. But along the way, I discovered a few more project goals: • The framework should be extensible from Day 1. Bud is too ambitious for one person. We're going to need an ambitious community behind this framework. • Bud should be able to provide high-level APIs for developers while compiling down to performant low-level Go code for production. • Bud should compile to a single binary. With platforms like Fly.io and Heroku, these days it's easy to not care about this, but I still cherish the idea that I can build a single binary that contains my entire web app and secure copy it up to a tiny server that doesn't even have Go installed. It's still super early days. You can find the the Roadmap on Github: https://github.com/livebud/bud/discussions/9 . I encourage you to contribute your thoughts. And here's the current documentation for what's already in Bud: https://denim-cub-301.notion.site/Hey-Bud-4d81622cc49942f991... . Comments are enabled for anyone to chime in. I have big plans for the framework. I hope you'll join me on this journey to build ambitious websites faster with Go!

Share card

Actual performance

531points
99comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Strong signals: created, started · Missing: supports, reddit linkedin, podcasting
94%94% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: new, single, tiny · Missing: mac, agents, macos
93%93% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: open source, hacker news, ide · Missing: https docs, excited, just released
80%80% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: video, month, way · Missing: mobile apps, ios, personal
49%49% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: platform · Missing: plus, intuitive, reviews
31%31% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
12%12% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Di
Diamond – Full-stack web-framework in D64%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Diamond – Full-stack web-framework in D

Hacker News106
Ci
Civilian – a full-stack RESTful Java web framework53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Civilian – a full-stack RESTful Java web framework

Hacker News29
Co
Coast on Clojure: A full stack framework with a catchy name63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Coast on Clojure: A full stack framework with a catchy name

Hacker News8
Gu
Gux – Yet another full stack Go framework58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Gux – Yet another full stack Go framework

Hacker News1
Sp
Spincast – Java web framework52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Spincast – Java web framework

Hacker News2
To
Tofu -- (Yet another) C web framework62%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Tofu -- (Yet another) C web framework

Hacker News49
La
Lapis – A web framework for MoonScript and OpenResty62%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Lapis – A web framework for MoonScript and OpenResty

Hacker News75
We
Weber - MVC Web framework for Elixir75%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Weber - MVC Web framework for Elixir

Hacker News2
OW
OWebl – An OCaml Web Framework62%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

OWebl – An OCaml Web Framework

Hacker News55
Sa
Sailor, an MVC web framework in Lua80%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Sailor, an MVC web framework in Lua

Hacker News61