openGym Is a Self-Hosted Fitness Tracker for Your Workouts
openGym is a free, self-hosted fitness tracker with workout planning, progress charts, mobile apps, and offline synchronization.
Fitness tracking is probably not the first thing that comes to mind when talking about self-hosting. Most of us are busy keeping media servers running or finding another useful application to add to Docker. But workout history is personal information too, and there's a reasonable argument for keeping it somewhere you control.
openGym is an open source workout tracker that can run on your own server. It handles exercise routines, records your training sessions, and tracks your progress over time. There's also a mobile app, so you don't have to stand in front of a computer every time you want to log a set.
The project is available for free, without a subscription or an account with a third-party fitness service.
Keeping Track of Your Workouts #
At its core, openGym is designed around planning and recording exercise sessions. You can build weekly routines, choose from more than 5,600 exercises, and organize workouts around the equipment you actually have available.
Each exercise includes visual demonstrations, and a body map shows which muscle groups you're working. That's a useful touch, especially when putting together a routine and trying to avoid training the same muscles too frequently.
During a workout, the app remembers the weights you used previously and fills them in for your next session. It also includes rest timers, personal record tracking, and options for different types of sets.
You can follow a traditional weekly schedule or use rotating routines that advance whenever you complete a session. That flexibility makes sense for people whose schedules don't always cooperate with a fixed workout calendar.
Seeing Your Progress Over Time #
Logging workouts is useful, but being able to look back at them is where a tracker starts earning its place.
openGym includes charts for tracking body weight and strength progression. You can see estimated one-repetition maximums for individual exercises and review your training activity over the past year.
There's also a muscle map that visualizes training volume and recovery. Rather than digging through previous sessions, you can get a clearer picture of which muscle groups have received attention recently.
The app supports progress photos too, including a comparison slider for viewing changes over time.
For anyone moving away from another fitness tracker, openGym can import workout history from Strong, Hevy, and FitNotes. You can export your own records as JSON or CSV, which is reassuring when the whole point of self-hosting is maintaining control over your information.
Your Server, Your Workout History #
Getting openGym running is fairly straightforward if you're already familiar with Docker Compose. The project provides a Compose configuration with prebuilt images for AMD64 and ARM64 systems.
The web interface runs on port 8080 by default. Workout records and profile information are stored as JSON files inside a data directory on the host, making backups relatively simple.
There's no external database service to configure, and the application doesn't require a paid cloud account.
You can access openGym through a browser or use its mobile applications. The iPhone app includes Apple Watch support, while Android users can install an APK provided by the developer. The mobile apps can also work independently without connecting to a server.
When connected, workout information synchronizes between devices. Offline changes are retained until connectivity returns, which is particularly useful when your phone doesn't have a reliable connection.
For remote access and passkey authentication, you'll want to follow the project's HTTPS configuration instructions.
An Optional AI Coach #
openGym also includes an optional AI coach that can suggest workout routines and adjustments based on your recorded activity.
This feature isn't required for normal operation. It can connect to commercial AI providers using your own API key, but there's also support for Ollama and compatible local endpoints.
That means the main workout tracker can remain entirely self-hosted without depending on a paid AI service. The coaching feature is something you can enable separately if it interests you.
A Different Kind of Self-Hosted App #
I spend a lot of time looking at applications designed for managing servers, files, and other technical things. It's refreshing to come across something that applies the same self-hosting philosophy to an everyday activity.
openGym has a fairly extensive feature set, but the underlying idea is simple. Your workout history belongs to you, and you should be able to keep using it without relying on somebody else's subscription service.
The project is licensed under AGPL-3.0, although its bundled exercise images and animations carry separate usage restrictions. That's worth reviewing if you're planning to modify or redistribute the application.
You can find the installation instructions, screenshots, and development details in the openGym GitHub repository. There's also a live demo if you'd like to explore the interface before setting up another container.

Comments 0
Join the conversation.
No comments yet. Be the first to comment.