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
Release v1.2.3: effort per set, and the RPE your old app already had
Duarte Santos42d3659615e7
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex afabb5fdd..b3af11de2 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,5 +1,43 @@# Changelog+## v1.2.3 — 2026-07-31++How hard a set was, in whichever of the two scales you already think in — and the ratings your+old app recorded come across with the rest of your history.++### Effort per set: RIR or RPE (#21)++- 🎯 **A third column on a working set, off by default.** Settings → *Effort per set* switches+ it between **Off**, **RIR** and **RPE**. It only appears on weighted rep sets: a plank or a+ treadmill row has nowhere to put it.+- **Two names for the same judgement.** RIR counts the reps you left in the tank; RPE reads the+ same effort off a 10-point scale, so RPE ≈ 10 − RIR. The setting has an (i) that lays the two+ scales side by side in a conversion table rather than explaining them in a paragraph.+- **Each set keeps the scale it was logged with.** Switching the setting changes what new sets+ ask for and nothing else — history is never silently rewritten, and a set logged as RIR 2+ still reads back as RIR 2 years later.+- **An unrated set stays unrated.** Blank and 0 are different things: RIR 0 says the set went to+ failure. So `−` on an untouched cell leaves it empty, `+` starts at the bottom of the scale+ and walks up in even steps, and stepping back off the bottom clears the cell again — a mistap+ is always undoable.+- **Nothing else reads the value.** Progression rules and estimated 1RM are unaffected; the+ rating is yours to look at, not an input to the maths.+- Upgrading keeps the column you had: a profile still carrying the old `showRir` flag — from+ this device, a sync, or a backup restored later — comes across as RIR.++### Import brings your ratings with it++- 📥 **The RPE Hevy and Strong export is no longer dropped.** An `RPE` column is read into the+ set, as is an `RIR` column if a file has one, and the import summary says how many sets+ arrived with a rating — plus where to switch the column on if it's off.+- A blank cell stays unrated rather than becoming 0. A written-out `0` counts as a rating on the+ RIR scale (a set to failure) but not on RPE, which starts at 1 — apps write 0 there to mean+ "nothing here", and reading it as an effort would stamp one on every unrated set in the file.+- Ratings above the scale are capped instead of thrown away, and junk in the column is ignored+ without losing the set.+- Backups already carried both fields and the setting, since a backup is the whole state — there+ are now tests pinning that, so it can't quietly stop being true.+## v1.2.2 — 2026-07-25Training that moves on its own: an exercise can now be logged by time instead of reps, thediff --git a/README.md b/README.mdindex aa9eb4ee6..db09f8ea5 100644--- a/README.md+++ b/README.md@@ -64,6 +64,7 @@ as a home-screen app, passkey sign-in, offline support, sync across your phone a- ⏱️ **Timed exercises** — planks, hangs, wall sits and loaded carries are logged by time, not reps, with a work timer that counts the set itself (separate from the rest timer) and logs the time you actually held. They can carry weight too- 📈 **Progression that follows a rule** — pick one per routine, override it per exercise: linear, **Greyskull LP** (AMRAP top set, double jumps, 10 % resets), double progression through a rep range, or adding time. Your weights are already right when the session opens, and every target says *why* it's that number. Missed reps never advance the load, stalls trigger a deload, and bodyweight exercises progress in reps instead- 💪 **Estimated 1RM** — per exercise, from your best eligible set (it names which one), with its own progress curve and a calculator for sets you haven't done. Won't guess above 12 reps+- 🎯 **Effort per set, in your scale** — an optional third column rating how hard a set was, as **RIR** (reps left in the tank) or **RPE** (the same judgement on a 10-point scale). Off by default; each set keeps the scale it was logged with, and nothing else reads the value — your progression and 1RM are unaffected- 🏃 **Cardio** — log time + speed, not just weight × reps- 📤 **Share a plan** — send someone your routines and week schedule as a small file (no workouts, no weigh-ins), or print it as a clean PDF. Importing merges, so their plan is never overwritten- 🔧 **Filter by equipment** — narrow the library to what you actually own; the options adapt to what you've picked, so every combination on screen has results behind it@@ -162,7 +163,8 @@ Rough, community-driven — ideas and PRs welcome:- [x] Estimated 1RM per exercise- [ ] Percentage / training-max programming (5/3/1-style) on top of the progression engine- [ ] More starter plans (upper/lower, full-body, 5×5)-- [x] Importers from FitNotes / Strong / Hevy, and body weight from Apple Health+- [x] Importers from FitNotes / Strong / Hevy (including the RPE they record), and body weight from Apple Health+- [x] Effort per set — RIR or RPE, whichever scale you think in- [ ] Body measurements (waist, arms…) alongside weight- [ ] Per-exercise notes & plate calculator- [ ] Exercise instructions in German & Portuguese (UI is translated; upstream dataset doesn't ship these yet)diff --git a/api/package.json b/api/package.jsonindex 94939962c..c37b323bf 100644--- a/api/package.json+++ b/api/package.json@@ -1,6 +1,6 @@{"name": "gym-api",- "version": "1.2.2",+ "version": "1.2.3","private": true,"type": "module","main": "server.js",diff --git a/frontend/android/app/build.gradle b/frontend/android/app/build.gradleindex 25a8258b1..ef314926f 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 3- versionName "1.2.2"+ versionCode 4+ versionName "1.2.3"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/package-lock.json b/frontend/package-lock.jsonindex 530e77f2a..99a59f77b 100644--- a/frontend/package-lock.json+++ b/frontend/package-lock.json@@ -1,12 +1,12 @@{"name": "opengym-frontend",- "version": "1.2.2",+ "version": "1.2.3","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "opengym-frontend",- "version": "1.2.2",+ "version": "1.2.3","license": "AGPL-3.0-or-later","dependencies": {"@capacitor/core": "^7.6.8",diff --git a/frontend/package.json b/frontend/package.jsonindex dd4aa7431..191e29fce 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -1,7 +1,7 @@{"name": "opengym-frontend","private": true,- "version": "1.2.2",+ "version": "1.2.3","type": "module","scripts": {"dev": "vite",diff --git a/website/index.html b/website/index.htmlindex 83f090e60..3d7dc3f6d 100644--- a/website/index.html+++ b/website/index.html@@ -75,7 +75,8 @@<div class="feat"><div class="ic">🧮</div><h3>Estimated 1RM</h3><p>Per exercise, from your best eligible set — and it names which one. Won't guess above 12 reps.</p></div><div class="feat"><div class="ic">🔗</div><h3>Supersets & cardio</h3><p>Pair exercises back-to-back with one rest, and log time + speed where weight × reps makes no sense.</p></div><div class="feat"><div class="ic">📤</div><h3>Share a plan</h3><p>Send someone your routines as a small file — no workouts, no weigh-ins — or print it as a clean PDF. Importing merges, never overwrites.</p></div>- <div class="feat"><div class="ic">📥</div><h3>Bring your history</h3><p>Import from FitNotes, Strong, Hevy — or body weight straight out of an Apple Health export.</p></div>+ <div class="feat"><div class="ic">🎯</div><h3>Effort per set</h3><p>Rate a set as RIR or RPE — whichever scale you already think in. Optional, and every set keeps the scale it was logged with.</p></div>+ <div class="feat"><div class="ic">📥</div><h3>Bring your history</h3><p>Import from FitNotes, Strong, Hevy — including the RPE they recorded — or body weight straight out of an Apple Health export.</p></div><div class="feat"><div class="ic">🌍</div><h3>12 languages</h3><p>Full UI translation, exercise instructions in 10 languages, loaded on demand.</p></div><div class="feat"><div class="ic">🔑</div><h3>Passkeys, not passwords</h3><p>Self-hosted profiles sign in with Face ID / fingerprint. Each person's data stays their own.</p></div><div class="feat"><div class="ic">🎨</div><h3>Designed, not assembled</h3><p>Light & dark themes, 8 accent colors, a hand-drawn icon set. Looks the same on every phone.</p></div>