| A while ago I posted openGym here a self-hosted gym and body-weight tracker built with React + Node. It runs in two Docker containers, supports passkeys, has an Android APK, 14 languages and is AGPL licensed. The most common request I got since then was basically: "can you add some kind of coaching?" So v1.3 now has a Coach. I wanted to keep it in line with the rest of openGym though, so instead of sending all your workout data to some random cloud service, the Coach is designed to work with your own AI provider. What the Coach actually does
Everything is undoable, and the Coach doesn't touch your working weights. The normal deterministic progression system still handles that. Bring your own AIWhen setting it up, the admin goes through a 5-step setup: provider -> endpoint -> key -> model -> test You can use:
The phone app can either use the server's provider or its own API key. PrivacyThis was probably the part I spent the most time on. The Coach doesn't just dump your whole database into an LLM. It sends an allowlisted set of data: your plan, relevant sessions, aggregates, body weight and your answers to the intake questions. It's sent using an opaque handle, so your name, login and other users' data aren't included. Each user has to consent individually and can see what categories of data will be sent before using the Coach. API keys are encrypted on the server and only sent to the provider while a job is running. The admin can see usage counts and outcomes, but not what users asked the Coach. There's a more detailed write-up in Also added in 1.3:
LinksSource + releases: https://gitlab.com/DuarteSantos8/opengym Website / docs / APK: https://opengym.duarte-santos.ch Try it directly in the browser: https://opengym.duarte-santos.ch/demo/ The demo Coach uses a canned response, so you don't need an API key to try the UI. The actual Coach needs a provider configured. For existing self-hosters:
Then go to Settings -> Admin -> AI Coach. I'm especially interested in feedback on the prompt design and the validator. The model's response gets checked against a closed list of allowed change types and real exercise IDs before anything can actually be applied. Also happy to answer questions about running it with Ollama / local models. It's free and will stay free. AGPL, no pro tier. If openGym ends up replacing a paid tracker for you, there's a Buy Me a Coffee link on the website. That mostly goes towards hosting, signing certificates and properly licensing the exercise content. [link] [留言] |
AI & ML
Read original: https://www.reddit.com/r/selfhosted/comments/1w722q0/opengym_v_13/
openGym v. 1.3
/u/0_KermitTheFrog_0 Reddit r/selfhosted
18 views
← Previous
Avoid adding new library to project: 10-year retrospective
Next →
Discovery of a new OpenAI agent message board
Related
OpenClaw Plugin: Connect WAIaaS to LangChain, CrewAI, and Any AI Framework
AI & ML
60
Dev.to (EN Zone)
Why Giving AI Agents More Context Can Make Them Worse
AI & ML
49
Dev.to (EN Zone)
How to Optimize Development Cycles with AI: Numbers, Tools & Tactics [2026]
AI & ML
51
Dev.to (EN Zone)
How to Stop Leaking API Keys and PII to LLMs: Zero-Trust In-Memory Sanitization for Cursor & Claude
AI & ML
49
DEV Community
Comments0
No comments yet — be the first