Skip to main content
  1. Blog/

Building a Training Dashboard with Go & HTMX

·1 min· loading ·
Author
Manuel Anrig
Racing road & gravel in Switzerland. Building bikes, software, and endurance.
Table of Contents

I wanted a simple way to visualize my training data without subscribing to another platform. So I built one.

Stack
#

  • Backend: Go (Chi router)
  • Frontend: HTMX + Tailwind CSS
  • Database: SQLite
  • Deployment: Fly.io

What it does
#

It ingests FIT files exported from my bike computer, parses them, and displays:

  • Weekly volume (km and hours)
  • Elevation gain over time
  • Power distribution charts
  • A simple training log

Why HTMX?
#

I wanted to see if the hype is real. Honestly? It’s refreshing. No build step for the frontend, no JavaScript framework fatigue. A Go template with HTMX attributes does 90% of what I’d normally use React for.

Key takeaway
#

Perfect is the enemy of done. This took me one weekend to get a working MVP, and I’ve been iterating since.

Source code is on GitHub — feel free to adapt it for your own use.