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.7: the Android build builds again (a double dash inside an XML comment in styles.xml broke v1.3.6's APK), plus the iPhone timer-sound fix (#183)
Duarte Santosd7f0f0dbdbc9
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 48b413ffd..3e8aee1ff 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,7 +1,10 @@# Changelog-## Unreleased+## v1.3.7 — 2026-09-12+The v1.3.6 tag's Android build failed on a double dash inside an XML comment, so the APK for everything in v1.3.6 is this one — plus the iPhone timer-sound fix that landed an hour later. Web bundle, APK and API image; v1.3.6 and v1.3.7 are the same code apart from the two items below.++- 📦 **The Android build builds again**: a comment in `styles.xml` (from the safe-area work in v1.3.6) contained `--`, which XML forbids inside comments.- 🔊 **Timer sounds on iOS** (kurktchiev, #183, #152): every tone resumes the audio context first(a lock or app switch leaves it suspended and silent), the context is unlocked from the taps thatlead to a timer, and Settings → Sounds gains **Play sounds when the phone is on silent** (off bydiff --git a/README.md b/README.mdindex 40226a9d3..b54b47f3b 100644--- a/README.md+++ b/README.md@@ -215,9 +215,9 @@ host side of that volume, not the variable.## RoadmapThe plan lives in [ROADMAP.md](ROADMAP.md) (the-[GitLab milestones](https://gitlab.com/DuarteSantos8/opengym/-/milestones) track the same items): v1.3.7 programmes and+[GitLab milestones](https://gitlab.com/DuarteSantos8/opengym/-/milestones) track the same items): v1.3.8 programmes andprogression (explicit warm-up/work phases, AMRAP driver selection, multi-week programmes, adaptive-1RM), v1.3.8 accounts and sync (password and OIDC login, personal-trainer role, remote MCP), v1.3.9+1RM), v1.3.9 accounts and sync (password and OIDC login, personal-trainer role, remote MCP), v1.3.10mobile (timer in the notification bar, widgets, Withings). Ideas and pull requests welcome.## Techdiff --git a/ROADMAP.md b/ROADMAP.mdindex fd5c1db6d..98704557d 100644--- a/ROADMAP.md+++ b/ROADMAP.md@@ -57,7 +57,7 @@ Left over from this block:- A real pause for the workout timers (#29 asked for it)- Discord announcement (owner)-## v1.3.6 — Sync, push and the phone (released 2026-09-12)+## v1.3.6 and v1.3.7 — Sync, push and the phone (released 2026-09-12)Signed in, the server's profile is the truth: sign-in adopts it, two devices merge on a serverrevision instead of overwriting each other, the app polls for changes and works offline with a@@ -69,7 +69,7 @@ the phone, nginx resolver, custom-exercise equipment, per-side data, warm-up resQA sweep of every screen. Left over: routine reordering (#142), the Smith-bar "no bar" option(#138), two decimals (#139), delete user in the admin (#107).-## v1.3.7 — Programmes & progression (October 2026)+## v1.3.8 — Programmes & progression (October 2026)**Theme: training structure beyond one weekly template.** Most of this is the Space-Hermes series.It changes the training model (per-set roles, explicit phases, normalisation on every persist), so@@ -93,7 +93,7 @@ it goes in one MR at a time, each rebased and tested on gym-test before the next- Catalogue cleanup: exercises that should not carry weight, incline and interval fields forcardio (#46); timers for planks and outdoor cardio are already there, document them (#45)-## v1.3.8 — Accounts & sync (November 2026)+## v1.3.9 — Accounts & sync (November 2026)**Theme: who may sign in, and what else may read or write your data.**@@ -111,7 +111,7 @@ it goes in one MR at a time, each rebased and tested on gym-test before the nextlogged sessions lost after editing a routine (#25)- Admin: per-user export, invite management, audit log filters-## v1.3.9 — Mobile (December 2026)+## v1.3.10 — Mobile (December 2026)**Theme: the Android app catches up with the web app.**diff --git a/api/openapi.yaml b/api/openapi.yamlindex c70c384c2..14ecfdf12 100644--- a/api/openapi.yaml+++ b/api/openapi.yaml@@ -6,7 +6,7 @@ openapi: 3.1.0info:title: openGym API- version: 1.3.6+ version: 1.3.7summary: Passkey (WebAuthn) auth + per-user state storage for openGymdescription: |The backend of [openGym](https://opengym.duarte-santos.ch) — a free, open-sourcediff --git a/api/package-lock.json b/api/package-lock.jsonindex b98e46508..f40735982 100644--- a/api/package-lock.json+++ b/api/package-lock.json@@ -1,12 +1,12 @@{"name": "gym-api",- "version": "1.3.6",+ "version": "1.3.7","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "gym-api",- "version": "1.3.6",+ "version": "1.3.7","license": "AGPL-3.0-or-later","dependencies": {"@simplewebauthn/server": "^13.1.1",diff --git a/api/package.json b/api/package.jsonindex c2b4c27a3..21a04e11c 100644--- a/api/package.json+++ b/api/package.json@@ -1,6 +1,6 @@{"name": "gym-api",- "version": "1.3.6",+ "version": "1.3.7","private": true,"type": "module","main": "server.js",diff --git a/frontend/android/app/build.gradle b/frontend/android/app/build.gradleindex bd4f9ef9e..a29920c98 100644--- a/frontend/android/app/build.gradle+++ b/frontend/android/app/build.gradle@@ -7,8 +7,8 @@ android {applicationId "ch.duartesantos.opengym"minSdkVersion rootProject.ext.minSdkVersiontargetSdkVersion rootProject.ext.targetSdkVersion- versionCode 20- versionName "1.3.6"+ versionCode 21+ versionName "1.3.7"testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"aaptOptions {// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.diff --git a/frontend/android/app/src/main/res/values/styles.xml b/frontend/android/app/src/main/res/values/styles.xmlindex ce261dbe5..b61342cf8 100644--- a/frontend/android/app/src/main/res/values/styles.xml+++ b/frontend/android/app/src/main/res/values/styles.xml@@ -14,7 +14,7 @@<item name="windowNoTitle">true</item><item name="android:background">@null</item><!-- Draw into the camera cutout like iOS does under the notch: the WebView then reports a- real env(safe-area-inset-top) and the sheets keep clear of it (index.css --sat). -->+ real env(safe-area-inset-top) and the sheets keep clear of it (the sat variable in index.css). --><item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item></style>diff --git a/frontend/package-lock.json b/frontend/package-lock.jsonindex c4aaf40c2..226f79180 100644--- a/frontend/package-lock.json+++ b/frontend/package-lock.json@@ -1,12 +1,12 @@{"name": "opengym-frontend",- "version": "1.3.6",+ "version": "1.3.7","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "opengym-frontend",- "version": "1.3.6",+ "version": "1.3.7","license": "AGPL-3.0-or-later","dependencies": {"@aparajita/capacitor-secure-storage": "^7.1.6",diff --git a/frontend/package.json b/frontend/package.jsonindex 75330b4d8..8db0c4acc 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -1,7 +1,7 @@{"name": "opengym-frontend","private": true,- "version": "1.3.6",+ "version": "1.3.7","type": "module","scripts": {"dev": "vite",diff --git a/website/api.html b/website/api.htmlindex 87dd9637f..2096d0fba 100644--- a/website/api.html+++ b/website/api.html@@ -1,6 +1,6 @@<!DOCTYPE html><!-- GENERATED FILE - do not edit by hand.- Built by scripts/build-api-docs.mjs from api/openapi.yaml (openGym API v1.3.6).+ Built by scripts/build-api-docs.mjs from api/openapi.yaml (openGym API v1.3.7).Regenerate with: node scripts/build-api-docs.mjs --><html lang="en"><head>@@ -232,7 +232,7 @@ main.api-main .lead { color: var(--fg-2); max-width: 58ch; margin: 14px 0 0; fon</div><p class="api-facts"><span>OpenAPI 3.1.0</span>- <span>openGym v1.3.6</span>+ <span>openGym v1.3.7</span><span>30 endpoints</span><span>AGPL-3.0-or-later</span></p>diff --git a/website/index.html b/website/index.htmlindex 05a801dc1..fc18852f3 100644--- a/website/index.html+++ b/website/index.html@@ -404,7 +404,7 @@ try {</ul><div class="push"><a class="btn" href="openGym.apk" download>Download for Android</a>- <p class="meta">v1.3.6 · 27.7 MB · Android 6.0+ · signed APK. Your browser will ask+ <p class="meta">v1.3.7 · 27.7 MB · Android 6.0+ · signed APK. Your browser will askbefore installing; that is normal outside the Play Store.</p><p class="meta">Every release is also built and signed by CI and attached to the<a href="https://github.com/DuarteSantos8/openGym/releases" rel="noopener">GitHub