| Love Go + HTMX. I pair it with a-h/templ for a bit more type safety on the template, components and partials. I just shared my whole toolkit too [1], I call it the "GUS stack" -- Go, Unix, SQLite. Inspired heavily by the exe.dev "GUTS" stack [2] but with HTMX instead of Typescript. Some other Go components in the kit... - cockroachdb/errors for errors with stack traces - templ for type-safe HTML templates (with htmx for reactivity and tailwindcss for CSS) - fuego for an OpenAPI spec generated from web handlers - sqlc for type-safe code generated from SQL - modernc.org/sqlite for a pure Go sqlite library - goose for SQL and Go migrations - dbos for durable workflows in SQLite - rod for Chrome / CDP testing and automation Feels so productive coding, agentic coding, and building and deploying binaries with this stack. [1] https://housecat.com/blog/the-gus-stack-go-unix-sqlite [2] https://exe.dev/docs/guts |
Hyperscript fits perfectly in the Go + HTMX stack to do DOM manipulation without having to make a server round trip or having to write a separate JS function.
I get that not many are fan of such declarative programming, but when there's already HTML file we're working with; Hyperscript feels just like an extension of it.
I have been working on a Open Payment Host[2] which handles multiple payment gateways and was able to perform complex DOM manipulation with just Hyperscript.
[1] https://hyperscript.org/
[2] https://openpaymenthost.com/