talira

The gym tracker you host yourself

open sourceAGPL-3.0-or-laterself-hostablefreeMCP

openGym is a free, open source gym and body-weight tracker: plan a routine per weekday or a rotation from a library of over 5,600 exercises with animated demos, run guided sessions with pre-filled weights, a rest timer, plate math and PR detection, and follow progression rules (linear, double, triple, Greyskull LP) with estimated 1RMs and a muscle map of what you trained. It runs as a progressive web app with passkey sign-in on your own server with Docker Compose, storing each profile as JSON files under ./data and syncing between devices with field-level merges; apps for iPhone, iPad, Android, Apple Watch and Wear OS work on their own or connected to your server. Optional extras, off by default, are an AI coach that uses your own provider key (Anthropic, OpenAI, Gemini or an OpenAI-compatible endpoint such as Ollama), an MCP server for assistants such as Claude, signed webhooks to Home Assistant, n8n or ntfy, and OIDC sign-in. It imports history from Strong, Hevy and FitNotes and is licensed under the AGPL, with no paid tier.

Ways to install

Problems it solves

  • a self-hosted workout tracker so my lifting history isn't on some app company's servers
  • log sets and reps at the gym with weights pre-filled from last time and a rest timer
  • an open source alternative to Strong or Hevy that has no subscription
  • move years of workout history out of Strong, Hevy or FitNotes into something I control
  • plan a push/pull/legs split and see which muscles each session works on a body map
  • follow a rotation of workouts A, B, C that doesn't care which weekday it is
  • progression rules that add weight only when I hit my reps and deload when I stall
  • work out which plates to put on the bar from the plates my gym actually has
  • track my estimated one-rep max for each lift over time
  • see which muscle groups I've neglected or are still recovering
  • chart my body weight against a goal with progress photos side by side
  • tick off sets from my Apple Watch with heart rate recorded for each set
  • a gym log app for Android that works offline with no account at all
  • let my family use one gym tracker on our home server with their own profiles
  • sign in to my homelab workout tracker with passkeys or through Authentik

View all 22 problems

Features

  • weekly plans or rotations over a library of 5,632 exercises with animated demos and a body map
  • four starter plans: Push/Pull/Legs, Upper/Lower, Full Body, 5x5
  • guided sessions with weights pre-filled from last time, rest timer and PR detection
  • supersets, warm-up sets, drop sets, rest-pause, timed exercises, cardio and planned deloads
  • progression rules: linear, Greyskull LP, double and triple progression, added time
  • plate math for barbell, EZ bar, trap bar and Smith machine, per gym
  • optional RIR or RPE effort column
  • estimated 1RM curves, structural balance ratios and a year-long activity heatmap
  • muscle map of volume, recovery and untrained muscles
  • body-weight chart with goal line and progress photos with a before/after slider
View 12 more
  • passkey sign-in, optional password sign-in and OIDC through your own identity provider
  • field-level sync merge between devices
  • imports from FitNotes, Strong, Hevy (CSV or API key) and Apple Health weight exports; JSON and CSV export
  • apps for iPhone, iPad and Android that work alone or with your server; Apple Watch, Wear OS (beta) and Garmin watch apps
  • Apple Health and Health Connect in both directions
  • admin dashboard with invite-only signup and an activity log
  • modules to switch whole parts of the app on and off
  • optional AI coach with your own Anthropic, OpenAI, Gemini or OpenAI-compatible key
  • optional MCP server for assistants such as Claude Desktop, with a workout logging tool
  • signed webhooks for finished workouts, records and weigh-ins; calendar feed; WebDAV backup; Strava upload
  • 26 languages, including right-to-left Arabic and Persian
  • documented HTTP API (OpenAPI spec)

Limitations

  • The exercise animations aren't open source: they're licensed for use in openGym only, and other forks need their own licence6

Capabilities

Has an APIplan not known
Has an MCP serverplan not known
Has single sign-onplan not known
Sends webhooksplan not known

Alternatives

The same job

These do what openGym does.

  1. wger Self hosted FLOSS fitness/workout, nutrition and weight tracker
  2. SparkyFitness Built for Families. Powered by AI. Track food, fitness, water, and health — together.

Compare openGym with the top 3