selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
workout-tracker logo

Self-host workout-tracker

v2.10.1

GPX workout tracker as a single self-contained binary

ReleaseOpen SourceMIT
docker run -p 8080:8080 -v .:/data ghcr.io/jovandeginste/workout-tracker:latest
Updated3 weeks ago
LanguageGo
Setup difficultyEasy
MobileResponsive
ThemeDark mode
Stars
1 251
Port
8080 (web application (default WT_BIND [::]:8080))
Docker
ghcr.io/jovandeginste/workout-tracker
Login and registration formDashboard with totals, records, calendar and recent activitiesOverview of all activities with summariesSingle workout detail with track map in dark modeUpload page for GPX filesManually adding a workout recordMonthly aggregated statistics graphsHeatmap view of frequently visited areasDaily measurements such as weight and stepsResponsive layout on a small screen

What is workout-tracker?

Workout Tracker is a web application for logging workouts, aimed at running and other GPS-recorded activities, and intended for personal use or a small circle of family and friends. Users upload GPX, TCX or FIT recordings, or add workouts by hand; the app parses each file, stores the computed statistics and renders a zoomable map of the track with per-kilometre breakdowns, speed and elevation charts plus optional heart-rate and cadence plots. It also keeps daily measurements such as weight and steps, route segments with automatic match detection, an inventory of equipment in use, monthly aggregate graphs and a personal heatmap. Several people can share one instance: there is a registration form, sessions are signed with JWT, and accounts stay inactive until an admin approves them (registration itself can also be turned off). A Swagger-documented HTTP API with per-user keys accepts imports, including automatic GPX pushes from FitoTrack. Technically it is one Go binary embedding all web assets, defaulting to a single SQLite file, so you can run it natively or from the published ghcr.io image on port 8080, with compose files supplied for SQLite or Postgres. Map tiles and geocoding come from OpenStreetMap and Esri, and a switch disables those outbound requests. File-format support is described as work in progress, and test coverage is still thin.

workout-tracker alternatives

Should you self-host workout-tracker?

workout-tracker scores 55/100 on selfhost.directory (how scoring works) and ranks #6 of 11 in Fitness Tracker. It has 1 251 GitHub stars, +4 in the last 30 days.

It shipped 8 stable releases in the past year. The latest, v2.10.1, came out on 15 October 2026. New versions land roughly every 2 weeks.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is MIT-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is openGym (82/100, 20 187 stars). It scores higher overall, so compare the two before you pick. See workout-tracker vs openGym side by side.

Features

  • Admin user management
  • Automatic import via API
  • Daily measurements
  • Equipment tracking
  • GPX/TCX/FIT workout upload
  • Interactive track map
  • Internationalization
  • Manual workout entry
  • Multi-user accounts
  • Offline Mode
  • REST API
  • Route segments
  • Statistics and Graphs
  • Workout heatmap

workout-tracker README

GitHub go.mod Go version GitHub Release GitHub Downloads (all assets, latest release)

Go Report Card Libraries.io dependency status for GitHub repo License: MIT Swagger Validator

Translation status

Chat on Matrix

How to install workout-tracker

Install workout-tracker with Docker

Environment variables
WT_JWT_ENCRYPTION_KEY, WT_JWT_ENCRYPTION_KEY_FILE
# Latest master build
docker run -p 8080:8080 -v .:/data ghcr.io/jovandeginste/workout-tracker:latest

# Tagged release
docker run -p 8080:8080 -v .:/data ghcr.io/jovandeginste/workout-tracker:2.0.2
docker run -p 8080:8080 -v .:/data ghcr.io/jovandeginste/workout-tracker:2.0
docker run -p 8080:8080 -v .:/data ghcr.io/jovandeginste/workout-tracker:2

# Latest release
docker run -p 8080:8080 -v .:/data ghcr.io/jovandeginste/workout-tracker:release

# Run as non-root user; make sure . is owned by uid 1000
docker run -p 8080:8080 -v .:/data -u 1000:1000 ghcr.io/jovandeginste/workout-tracker

Images for amd64 and arm64; the current directory is mounted as the data directory. Set WT_JWT_ENCRYPTION_KEY to persist sessions.

How to configure workout-tracker

  • WT_JWT_ENCRYPTION_KEYKey that signs JWT tokens; if unset a random key is generated at every start, invalidating sessions
  • WT_JWT_ENCRYPTION_KEY_FILEPath to a file holding the JWT encryption key
  • WT_BIND[::]:8080Host and port the web server binds on
  • WT_WEB_ROOT/my-workout-trackerRoot path of the web application
  • WT_LOGGINGtrueEnable logging

workout-tracker releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Fitness Tracker

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…