Htmgo
htmgo - build simple and scalable systems with go + htmx
Install / Use
/learn @maddalax/HtmgoREADME
htmgo
build simple and scalable systems with go + htmx
<sup>looking for a python version? check out: https://fastht.ml</sup>
introduction:
htmgo is a lightweight pure go way to build interactive websites / web applications using go & htmx.
By combining the speed & simplicity of go + hypermedia attributes (htmx) to add interactivity to websites, all conveniently wrapped in pure go, you can build simple, fast, interactive websites without touching javascript. All compiled to a single deployable binary.
func IndexPage(ctx *h.RequestContext) *h.Page {
now := time.Now()
return h.NewPage(
h.Div(
h.Class("flex gap-2"),
h.TextF("the current time is %s", now.String())
)
)
}
core features:
- deployable single binary
- live reload (rebuilds css, go, ent schema, and routes upon change)
- automatic page and partial registration based on file path
- built in tailwindcss support, no need to configure anything by default
- custom htmx extensions to reduce boilerplate with common tasks
get started:
View documentation on htmgo.dev.
Star History
Related Skills
node-connect
351.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
xurl
351.2kA CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.
frontend-design
110.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
