Go + HTMX + Templ
A production-ready template for building server-driven hypermedia applications. Write Go, return HTML fragments, let HTMX handle the rest.
Go + Echo
Type-safe HTTP handlers with Echo. Struct-based routing, middleware, and context propagation.
echo.HandlerFuncHTMX
Swap HTML fragments from the server. No client-side JS framework needed. Progressive enhancement built in.
hx-get hx-swap hx-targetTempl
Compile-time type-safe HTML templates in Go. Components, layouts, and fragments with full IDE support.
templ ComponentComposable SQL Fragments
Write real SQL with dialect-aware helpers. Switch between SQLite and MSSQL with one environment variable. No ORM magic.
DB_ENGINE=sqliteDB_PATH=db/app.dbHypermedia Controls
Server-driven UI controls: buttons, filters, tables, pagination, error recovery. The server decides what the client can do next.
DaisyUI + Tailwind
Production styling out of the box. Light and dark themes, responsive layouts, semantic component classes.
Feature Flags at Build Time
Template setup strips unused features. Auth, SSE, MSSQL, demo content, each opt-in. Ship only what you need.
Quick Start
git clone <this-repo> my-app && cd my-appmage setup # configure app name, ports, featuresmage dev # air + templ watch + tailwind watch