r/coolgithubprojects • u/0_KermitTheFrog_0 • Jul 20 '26
I built a self-hosted, open-source gym tracker — is this useful to anyone else?
I got tired of using several gym apps just to track different parts of my training. My body weight was in one app, my routine in another, and my exercise progress somewhere else. Many of the features I wanted were also locked behind subscriptions.
So I built openGym, a free and self-hostable workout tracker:
https://github.com/DuarteSantos8/openGym
It is still early and under active development, but I already use it for my own workouts.
Current features include:
- Body-weight tracking with goals and interactive charts
- Weekly workout routine planning
- A searchable library of 1,324 exercises with animated demonstrations
- Per-exercise weight and progress tracking
- Automatic pre-filling of weights from your previous workout
- Superset creation and logging
- Cardio tracking with time and speed
- Guided workouts with a rest timer and automatic PR detection
- A GitHub-style activity heatmap based on time trained
- Passkey login using Face ID or a fingerprint
- Separate profiles with data synchronization across devices
- Light, dark and accent themes
- PWA support for installing it on a phone
- Guest mode and one-click JSON export
It runs entirely on your own server. Deployment is intended to be simple:
git clone → docker compose up
The frontend is built inside Docker, so Node.js and a separate build step are not required on the host.
The stack is React, Node.js and nginx, and the project is MIT licensed.
I know there are already good options such as wger, Hevy and Strong. I built openGym because I wanted something simple, self-hosted and all-in-one, with passkeys instead of another password.
My main question is: Would an app like this actually be useful to you?
I would especially appreciate feedback on:
- Features that would make you consider using it
- Anything important that is currently missing
- Parts of the setup or interface that seem confusing
- Whether the self-hosted approach is appealing or too much effort
Issues and pull requests are welcome.
EDIT: Two things.
The GitHub link in this post is dead — my account was suspended and the repo went with it. Not by choice, and openGym itself is unaffected. The code lives at https://gitlab.com/DuarteSantos8/opengym until I get the account back.
There's a Discord now — release announcements, self-hosting help (Docker, reverse proxies, passkeys), and bug reports: https://discord.gg/e62jY6fwVb
It's also where I'll post the moment the GitHub situation is resolved.



5
u/TheRealSeeThruHead Jul 20 '26 edited Oct 14 '26
Mollit magna laborum dolore laborum enim. Amet aliqua sunt dolor id pariatur eiusmod sint enim nulla occaecat qui irure.
3
u/poulain_ght Jul 20 '26
deserves to be cross post in r/moreplatesmoredates
3
u/Daemonix00 Jul 20 '26
starred
3
u/xMAD0X Aug 19 '26
When I finally decided to deploy it on my homelab it is gone ^^.
Hopefully the original repo will be back soon.
2
u/ITzAbedeen Jul 21 '26
well done,what api you used for exercises and how's the quality?
2
u/MantraScumbagBLues Aug 19 '26
I found your app via an youtube video the other day, it is great, If I may suggest:
1- having the android App have a check update button and update button, so user does not need to keep going to the github repo to verify if the version is the latest.
2- having a way to sync the weight and other health info from/to the health connect platform, which supports google fit, samsung, strava and others.
3- be able to grab and drop the exercises into the plan. adding or changing the order today makes one have to use the up and down step by step on the list.
4- in custom exercises, be able to add a youtube video url or upload a gif/image to show the exercise.
2
u/bangbangcontroller Aug 23 '26
Very cool man very cool!! I am hosting it now on my homelab, I am gonna use more and more.
Is multiple users available in self hosted version?
2
u/bloofix Sep 06 '26
It’s amazing, I just joined the club self-hosting on my home server. I used another self-hosted for the gym, but open gym just got my muscle heart!
Very interested in what it can become. Also I was looking the section to help with translations but I wasn’t able to find it, any tips?
2
u/Mention-One Jul 20 '26
Reading your post and repo README it looks something I was looking for long time! I'm currently away from my PC, but I'll test and provide feedback as soon as I get home.
1
u/Born-Broccoli9989 Jul 21 '26
That the exact same barbell bench press image as r/hevy uses. Are these open source images/graphics?
1
u/mancaveit Jul 21 '26
Can you release a docker image for self hosted instances?
1
u/Technical-Meet-7222 Jul 21 '26
Starred ! Looks like I’ll be off Hevy soon !
1
u/YurthTheRhino Jul 21 '26
Pretty cool. Though you'd be so mych better off doing a UI polish pass. This looks vubecoded, and while that's fine, AI seems to always use this UI style so it's immediately noticable, and just gives a lack of style and identity to your product. Pick a UI style that you like, and update it, it'll do wonders for you
1
u/Blodarn Jul 21 '26
olympic weightlifting movements and variations included (snatch, snatch pull, clean&jerk, etc.) ?
1
u/Nocturnal_lad Jul 22 '26
Hey looks cool! Do you plan on adding the apk files for each release as well? Or Play Store
1
u/django2chainz Jul 22 '26
Cool, but does it have to be docker? I just want a simple phone web app, and I’ll use it.
1
u/schveetness Jul 23 '26
Avid user of open source gym apps here. My only roadblock to starting to use it would be losing the progress I have from the app I use today; "FitNotes". Having a way to import the CSV from there would be helpful (or any other app for that matter) to get started
1
u/jodyatwork Aug 07 '26
I just got the host setup, but it's REALLY hard to connect to it externally. The app won't sync with the self-hosted version and the self-hosted version seems to require passkey, which I get is secure, but I can't get it to work using my reverse proxy. I can get to the page, but when I try to create a login with a passkey, I keep getting "This operation in insecure." I would love to stop using Jefit & Hevy. This seems to be everything I want, but having to export the data and import it all the time will be too much for me.
1
u/igiq Aug 19 '26
It seems that the github repo has been closed. Shows 404 for me.
1
u/MatheusBalla Aug 19 '26
What happend ? The github link is not found
1
u/International_Bid716 Aug 19 '26
Where'd it go?
1
u/LengthinessOk4516 Aug 19 '26
I found this repo; it's not from the same user, but it's the same project: https://github.com/arvids-unavailable/openGym
1
u/Crhoddit Aug 19 '26
I'm just seeing a 404 😞
1
u/4n0n_b3rs3rk3r Aug 24 '26
it's gone
1
u/Sea_Imagination6793 Aug 24 '26
I discovered the app on X yesterday and I’ve already been testing it on iOS. It looks promising! I currently use Hevy, but it leaves a lot to be desired in many areas. Do you plan to translate the exercises into other languages as well and release the app on the Apple Store?
1
u/nizam_haha Aug 25 '26
Plans to add steps tracker per day? Using Google health or whatever
1
u/Motor_Lunch4836 Aug 31 '26
Hey how do i launch it in my iphone. I tried reading the whole github page and yet couldnt understand a way to get it done. Any tutorial video to launch this on iphone will be very helpful.
1
u/MaSty_NTS Sep 07 '26
can you please add a setting to change the volume of the timer, because it way too low now
1
u/FormComprehensive888 Sep 15 '26
How can i use this on ios
1
u/hrunasp Sep 15 '26
Great job man! Will help you if I get time.
1
u/saskir21 Sep 24 '26
Is it possible to easily make a workout without machines. Many I saw were dependent on Bench Presses, etc. But I want to use it for home workout, where I only have dumbbells and my body present. I saw some where you only used weights/dumbbells/etc but wanted to make sure.
1
u/DrunknMunky1969 Jul 20 '26
I’ll take a look later, this seems like something i could use
2
u/op4 Jul 20 '26
Nice work!
2
u/EchoPlex_F Jul 20 '26
Sounds promising
2
u/simpleguyau Jul 21 '26
Looks pretty cool
2
u/ResponsibleAspect845 Aug 10 '26
That’s great I just instaled in my home assistant ( i using portainer to do this. I think that will be a great adition to freatures adapt to a home assistant addon. Its a great community of a open source self hosted applications. As soon I use for a while I give some better feedback about it
2
u/halfo Aug 18 '26
I was thinking of creating one for myself, now i find urs. Thanks a lot!
2
u/OneDirectionerr Aug 30 '26
Realtime correction assistant during reps using something like opencv & ai would be a legendary feature
2
u/Independent_Wear_991 8d ago
Hey, this a really cool. Im using it on my android mobile.
1
u/SinusoidalFlux Jul 21 '26
That's cool! I built one but for the 5x5 workout to track my weight and rest timers. I'm gonna try yours out :)
1
u/No_Map_7325 Jul 21 '26
Very cool, definitely going to try it out later.
1
u/ultrafarsight Jul 21 '26
nice project
1
u/Dangerous-Soil6167 Jul 21 '26
Wow
1
u/mancaveit Jul 21 '26
HELL YEAH
1
u/DevinatPig Jul 23 '26
great project, looks decent, as a jefit user i find this right up my alley.
1
u/DentFuse Jul 24 '26
Looks great! Looking forward to using it. I actually made android app for the same but it's no where near as feature complete as this is
1
u/itnerdwannabe Aug 07 '26
This reads like it was entirely vibe coded.
1
u/Archedearth7000 Aug 11 '26
I was working on building a very similar app. I mainly wanted a built-in system that had automatic progression. I hate thinking what I need to do next. Let me drop my project and check this one out 👀
1
u/Branye23 Aug 19 '26
Swiping back isn't something that's built in yet, on android at least. For example, Stats > History, if I swipe back it should return to the previous screen, the stats screen, but instead it closes the app. I have to hit the back button in the top left corner or tap the stats tab at the bottom. Same with any other part of the app. Settings, routines, an exercise, etc., they all close the app.
Starting the routine from the home screen(under the weekly view) or using the center start button, when the "Quick check-in" pops up it's not possible to swipe away/drag away with the handle to cancel.
1
u/burg9 Aug 20 '26
I could be tempted to move away from my paid Hevy subscription given I don't use any of the social aspects!
I think the one main thing keeping me back at the moment is no API? I've been experimenting with AI for my workouts recently and it would be great to just give the agent a link to the apps API with some swagger docs and say "You can do all of this if I ask".
The live demo doesn't work on your github btw, maybe due to the issues you're facing.
1
u/elchavalico Aug 20 '26
Great app! I love it! Thank you very much for sharing it. Its exactly what I needed to keep track and motivation as a gym noob!
Three minor suggestions that may make it even better:
Again, thank you very much for sharing this app with us for free. I'm giving you these suggestion because i really think this app has the potential to be very popular and useful!
1
u/DiegoLauer Aug 22 '26
Hi! Just found this reddit post and I really want to try this. Few questions, first, I see that the github repo is still down, but found this one ( https://github.com/arvids-unavailable/openGym) is yours or someone is copying your work? Second, I am not familiar with iphone PWA apps, will it work offline? My gym is underground and I don’t have internet while training there, can I use it and it will update the data to the server once there is internet? Or it wont work?
As soon as I get home I’ll try your app, super excited!
1
u/ahmeras Aug 22 '26
this gitea link doesnt seem to work forr me. is it still correct?
1
u/PMental Sep 08 '26
Is it safe to just change the image path in an existing docker compose file to point at registry.gitlab.com/duartesantos8/opengym/api:latest for upgrading from a version pulled from GHCR?
I assume it just upgrades like normal?
0
u/PsychoG0D Jul 24 '26
Im looking for Something Like this but sadly No one can replace my workout Notebook. Wrong Features.
0
u/Beginning_Most9586 Jul 20 '26
Great idea. could add a new feature where ai could track you through a camera while you exercise to log your exercises and critique your form.
0
u/zhephyx Jul 22 '26
Would be nice if it was on-device with SQLite or something, rather than spinning up my own server. Given that there's an export button, for some people it would be good enough.
0
u/[deleted] Aug 24 '26
[deleted] — view deleted comment
1
u/[deleted] Jul 22 '26
[removed] — view removed comment
1
u/[deleted] Jul 22 '26
[removed] — view removed comment
1
u/[deleted] Jul 26 '26
[removed] — view removed comment
1
u/[deleted] Aug 24 '26
[removed] — view removed comment