| 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] [留言] |
General
Read original: https://www.reddit.com/r/selfhosted/comments/1w722q0/opengym_v_13/
openGym v. 1.3
0 views

PreviousOpenCompany เปิดซอร์ส 22 บริษัทให้ agent รัน แต่สมองยังอยู่ที่อื่นNextOpenIntent Protocol: Um Protocolo Declarativo para Comunicação entre Agentes Baseada em Intenções
Related posts
Device mockups and animated launch videos in your browser, no account needed.
0dev.to Design
Vellinko – Sign PDFs in the browser without uploading them
0Hacker News New
Show HN: Vivio House, an interactive 3D headquarters
0Hacker News New
Pushover – Simple Notifications
0Hacker News New
The Gift of It's Your Problem Now (2021)
0Hacker News New
Implied News: News X Prediction Markets
0Hacker News New