←Services

Go + HTMX Web Applications

Fast, server-rendered web apps in Go with HTMX for interactivity: fewer moving parts than a JavaScript single-page app, cheap to host and easy to maintain.

Who this is for

Teams that want a dependable web app without the weight of a JavaScript framework: internal tools, admin dashboards, content sites, and products where speed and low running costs matter.

What you get

  • A Go web server with server-rendered templates and HTMX for interactive parts
  • PostgreSQL or SQLite, with migrations that run automatically on deploy
  • Authentication, form validation, spam protection and encryption of personal data
  • SEO basics built in: clean URLs, sitemaps, structured data and RSS where it fits
  • A deployment with Docker or systemd on a small virtual server, plus backups

Proof

This site is built this way, from scratch. So are several of my other production apps, including an email campaign platform and a cookie-free analytics service. They're described in the Lab section of my work.

?Questions

Why Go and HTMX instead of React?
For many apps, such as dashboards, admin tools, content sites and forms, rendering HTML on the server is simpler and faster. HTMX adds partial page updates without a client-side framework, build pipeline or duplicated state. React is still the right call for highly interactive interfaces, and I build those too.
How cheap is cheap to host?
A Go app compiles to a single binary that uses little memory, so several can share one small virtual server. This site and several of my other apps run that way.
Can it handle real traffic?
Yes. Go's standard library HTTP server is production grade and handles concurrent requests efficiently. The database is almost always the bottleneck long before Go is.