Tracks
Generates production-ready Go web apps with HTMX, templ, and 100+ UI components out of the box.
Go is great for building web servers. What it’s not great at is getting a new project off the ground quickly. You pick a router, figure out templating, choose a database layer, wire up migrations, set up CSS tooling, add observability, and by the time you’ve made all those decisions you’ve burned a day and haven’t written any application code.
Tracks fixes that. It’s a CLI tool that generates production-ready hypermedia applications using modern Go patterns. Think of it as Rails for Go, minus the magic.
What You Get
A generated Tracks app comes with Chi for routing, templ for type-safe HTML templates, HTMX v2 for interactivity without writing JavaScript, TemplUI (100+ pre-built components), TailwindCSS v4 for styling, SQLC for type-safe SQL, and Goose for database migrations.
The CLI uses Cobra with a Bubble Tea TUI for interactive project scaffolding. Generated apps include OpenTelemetry observability, zerolog structured logging, and Docker support.
Status
The tagline is “Go, fast. A batteries included toolkit for hypermedia servers.” Phase 1 (Core Web Layer) is complete. Phase 2 (Data Layer) is in active development. Documentation lives at go-tracks.io.
After implementing this and seeing how obvious the patterns are, I keep wondering why this isn’t standard practice in the Go community.