Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.
JavaScript apple-watchbodyweightdockerfitnessfitness-trackergymhealthiosmcpnodejspasskeysprogressive-web-applicationspwareactself-hostedself-hostingvitewebauthnweightliftingworkout-tracker
v1.3.11: merge v1.3.10's #329 pairing messages and proxy docs
Duarte Santose8aaeecf9c1a
diff --cc website/docs.htmlindex 3618daccf,c18cd06b0..d9ffe9ec6--- a/website/docs.html+++ b/website/docs.html@@@ -665,10 -665,12 +665,12 @@@ ALLOW_GUEST=0 # remove "Co</ol><p>Worth knowing: the pairing exchanges the code for a bearer token that is the same signedvalue a session cookie carries — so <b>"sign out everywhere"</b> in the browser revokes- paired apps too. Use an HTTPS address if at all possible (the token would otherwise- cross the network in plain text). A connected app keeps working without a network on the+ paired apps too. Use an <code>https://</code> address: the phone blocks a plain+ <code>http://</code> server before anything is sent. Pairing fails while the browser works?+ A reverse proxy or a login page in front of <code>/api/</code> is answering instead of+ openGym; see <a href="https://github.com/DuarteSantos8/openGym/blob/main/docs/SELF_HOSTING.md#phone-app-and-cors" rel="noopener">Phone app and CORS</a>. A connected app keeps working without a network on thelast copy it synced — it shows an "Offline" line under the header and pushes your changes- as soon as the connection is back, same as the browser PWA. Settings → <b>Disconnect</b> syncs one last+ as soon as the connection is back, same as the browser PWA. Settings → Account → <b>Disconnect</b> syncs one lasttime, then drops the device cleanly back to local mode. (For the curious: it's<code>POST /api/pair/create</code> + <code>/api/pair/redeem</code> in<code>api/server.js</code>.)</p>