Gomponents, HTML components in pure Go
Hey everyone! I just released v1.0.0 of gomponents last week. It's an HTML component builder in pure Go, with a DSL-like HTML syntax. It's been 4 years in the making, and makes it really easy to build HTML in your web apps.
Gomponents, HTML components in pure Go launched on October 15, 2024 with 113 votes, #461 of 5,185 launches that month and more than 95% of that year's launches. The site was still online in September 2026, 2 years on.
In plain words
Gomponents is an HTML component builder written entirely in Go that uses a domain-specific language-like syntax for generating HTML. Designed for Go developers building web applications, it enables them to construct HTML programmatically within their Go code. The tool reached its v1.0.0 milestone after four years of development, offering a streamlined approach to HTML generation as an alternative to traditional templating.
written from the facts on this page · September 2026
From the sources
HTML components in pure Go, that render to HTML 5.
gomponents are HTML components in pure Go. They render to HTML 5, and make it easy for you to build reusable components. So you can focus on building your app instead of learning yet another templating language. Does your company depend on this project? Contact me at [email protected] to discuss options for a one-time or recurring invoice to ensure its continued thriving. Have a look at this component. If you know HTML, you know what it does. Easy, right? import ( . "maragu.dev/gomponents" . "maragu.dev/gomponents/html" ) func Navbar() Node { return Nav(Class("navbar"), Ol( Li(A(Href("/"), Text("Home"))), Li(A(Href("/contact"),…from gomponents.com
Does a similar job
all alternatives →- UGUse Go's HTML/template to write React-like code2024 · ▲106
Hi all, I'm currently working on my hobby project, and one of the fun constraints I put in was to build using as less dependencies as possible. I chose Go as it has a really good standard library, and all went well for building backend. But for frontend, I was wondering whether I should break the constraint and go for React. I tried options like Web Components, but I really didn't like the ergonomics and I didn't want to use jQuery either. Out of curiosity, I was exploring Go's html/template package to see if I can write UIs in a React-like manner. I found most of the online docs using…
htmgo - build simple and scalable systems with golang + htmx2024 · htmgo.dev · ▲166Hey all, I just wanted to share a project I've been working on for the past month. After years of heavy frameworks, I really like the idea of using htmx, but it’s a little too low level for me and needs a thin layer above it to facilitate things like components, better syntax with complex JS inside of an attribute, etc To try and solve this problem with a very minimal stack (golang + htmx) that I've been really enjoying, I'm building this project to cater to my needs and was thinking it would be useful for other developers.
- BPBuild progressively enhanced reactive HTML apps using Go and Alpine.js2023 · livefir.fly.dev · ▲127
Fir leverages Golang’s standard library html/template package and a bit of alpinejs to allow building reactive UIs. You start with plain old html and use alpinejs to enhance it to bring no-page-reload interactivity to web apps. The Fir toolkit is designed for Go developers with moderate html/css & js skills who want to progressively build reactive web apps without mastering complex web frameworks. It includes a Go library and an Alpine.js plugin. How it works ? On receiving user-interactions the fir server re-renders html templates and sends it over the wire where the fir client…
- GTGo Template Preview – Powered by WebAssembly2022 · gotemplate.io · ▲102
Quickly test and visualize your Go templates live. Template and data never leave your browser unless you share.


More life & fun this month
the category →
A free city-building game in your browser. You are the mayor. You know what the city needs. Now get it past the zoning board, the neighbors, the appeals court and the next election.
Life & fun · 24h ago · permit.petercai.com
- IV
Life & fun · 13d ago · tanzaniaeducationproject.org

Turn a phone, tablet or TV into a sign. Type a message and it fills the screen: welcome signs, timers, Wi-Fi passwords and more. No app, no account, free.
Life & fun · 14d ago · bigwords.page

Play a free virtual guitar online with your keyboard or by touch. Slow songs down and see every chord, string and strum. Acoustic, classic, electric and bass.
Life & fun · 8d ago · guitoro.com

Carrier settings from iPhone, Pixel and Galaxy firmware, decoded and compared: APNs, VoLTE, 5G and Wi-Fi Calling per carrier, and what each build changed.
Life & fun · 12d ago · carrierexplode.com

Life & fun · 22d ago · space.bl2.net
Source: Show HN post ↗
Launched alongside, October 2024
the whole month →
bolt.new▲1,230Build and scale high-performing websites & apps using your words. Join millions and start building today.
AI · 2024 · bolt.new


Softr for Notion▲923Turn Notion databases into portals & apps with no code
Dev tools · 2024 · softr.io

One inbox for all your work discussions
Work · 2024 · generalcollaboration.com