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
Website: App Store launch bar and badge in the hero, docs say the iPhone app is in the App Store (?v=28)
Duarte Santos7a3ace53c5e9
diff --git a/website/about.html b/website/about.htmlindex ffac3b8fc..bb6c5cbae 100644--- a/website/about.html+++ b/website/about.html@@ -26,7 +26,7 @@<link rel="icon" type="image/png" sizes="192x192" href="/icon-192.png"><link rel="icon" type="image/png" sizes="512x512" href="/icon-512.png"><link rel="apple-touch-icon" href="icon-180.png">-<link rel="stylesheet" href="styles.css?v=27">+<link rel="stylesheet" href="styles.css?v=28"><script>document.documentElement.className += ' js'</script><!-- Umami web analytics for opengym.ch (self-hosted, cookieless). --><script defer src="https://stats.duarte-santos.ch/script.js" data-website-id="db36019e-50f4-453c-9c56-d0588aefe233"></script>@@ -181,6 +181,6 @@</div></div></footer>-<script src="site.js?v=27" defer></script>+<script src="site.js?v=28" defer></script></body></html>diff --git a/website/api.html b/website/api.htmlindex 851dd42fd..aeba569e1 100644--- a/website/api.html+++ b/website/api.html@@ -29,7 +29,7 @@<link rel="icon" type="image/png" sizes="192x192" href="/icon-192.png"><link rel="icon" type="image/png" sizes="512x512" href="/icon-512.png"><link rel="apple-touch-icon" href="icon-180.png">-<link rel="stylesheet" href="styles.css?v=27">+<link rel="stylesheet" href="styles.css?v=28"><script>document.documentElement.className += ' js'</script><!-- Umami web analytics for opengym.ch (self-hosted, cookieless). --><script defer src="https://stats.duarte-santos.ch/script.js" data-website-id="db36019e-50f4-453c-9c56-d0588aefe233"></script>@@ -5331,7 +5331,7 @@ main.api-main .lead { color: var(--fg-2); max-width: 58ch; margin: 14px 0 0; fon</div></div></footer>-<script src="site.js?v=27" defer></script>+<script src="site.js?v=28" defer></script><script>/* Jumping to an anchor inside a collapsed card opens the card and re-aligns, sincethe browser scrolled to where the target was while it was still collapsed. */diff --git a/website/docs.html b/website/docs.htmlindex 4160fea7d..002c197c3 100644--- a/website/docs.html+++ b/website/docs.html@@ -26,12 +26,12 @@<link rel="icon" type="image/png" sizes="192x192" href="/icon-192.png"><link rel="icon" type="image/png" sizes="512x512" href="/icon-512.png"><link rel="apple-touch-icon" href="icon-180.png">-<link rel="stylesheet" href="styles.css?v=27">+<link rel="stylesheet" href="styles.css?v=28"><script>document.documentElement.className += ' js'</script><!-- Umami web analytics for opengym.ch (self-hosted, cookieless). --><script defer src="https://stats.duarte-santos.ch/script.js" data-website-id="db36019e-50f4-453c-9c56-d0588aefe233"></script><script type="application/ld+json">-{"@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [{"@type": "Question", "name": "Is openGym really free?", "acceptedAnswer": {"@type": "Answer", "text": "Yes — free as in cost and as in freedom (AGPL-3.0). No pro tier, no locked features, no ads, and the license keeps every fork open source too."}}, {"@type": "Question", "name": "Why isn't openGym on the Play Store or App Store?", "acceptedAnswer": {"@type": "Answer", "text": "By choice (and on iOS, by Apple's rules for sideloading). Store accounts cost money, impose terms that sit badly with the AGPL, and put a gatekeeper between you and an app whose whole point is that your data is yours. The signed Android APK is a direct download."}}, {"@type": "Question", "name": "Should I pick the mobile app or self-host?", "acceptedAnswer": {"@type": "Answer", "text": "To simply track your training: the mobile app. For data on your own hardware, synced across devices, with profiles for the people you train with: self-host with Docker. The backup file migrates everything between the two, or pair the app to your server."}}, {"@type": "Question", "name": "What's on the openGym roadmap?", "acceptedAnswer": {"@type": "Answer", "text": "A small, themed release roughly every two weeks: a session queue, programmes and phases, AMRAP/%1RM/5-3-1 progression, cardio intervals, then database storage (v1.4.0), better search, OIDC login, a trainer role and an App Store build. The full plan is in ROADMAP.md on GitHub."}}, {"@type": "Question", "name": "Was openGym written with AI?", "acceptedAnswer": {"@type": "Answer", "text": "openGym is developed with Claude Code, Anthropic's coding agent; a large share of the code, tests and docs is drafted that way, and every change is reviewed, tested and released by the maintainer. The app itself calls no AI service unless an admin switches on the optional AI coach."}}, {"@type": "Question", "name": "Where does the exercise database come from?", "acceptedAnswer": {"@type": "Answer", "text": "The exercise text lives in openGym's own catalogue in the repository, open to fixes and translations by pull request; the oldest entries came from ExerciseDB under MIT. The pictures and animations are licensed from Gym visual for use in openGym only and ship with it at 180 px. Reusing them anywhere else needs your own licence from gymvisual.com."}}, {"@type": "Question", "name": "What does the AGPL license mean for me?", "acceptedAnswer": {"@type": "Answer", "text": "You can self-host, use, modify and share openGym freely. Only if you run a modified version as a network service must you offer that version's source under the same license. Using or self-hosting it unmodified obliges you to nothing."}}]}+{"@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [{"@type": "Question", "name": "Is openGym really free?", "acceptedAnswer": {"@type": "Answer", "text": "Yes — free as in cost and as in freedom (AGPL-3.0). No pro tier, no locked features, no ads, and the license keeps every fork open source too."}}, {"@type": "Question", "name": "Is openGym on the App Store and Google Play?", "acceptedAnswer": {"@type": "Answer", "text": "The App Store: yes, since 23 October 2026, for iPhone and Apple Watch (https://apps.apple.com/app/id6822275400). Google Play is next; until then the signed Android APK is a direct download."}}, {"@type": "Question", "name": "Should I pick the mobile app or self-host?", "acceptedAnswer": {"@type": "Answer", "text": "To simply track your training: the mobile app. For data on your own hardware, synced across devices, with profiles for the people you train with: self-host with Docker. The backup file migrates everything between the two, or pair the app to your server."}}, {"@type": "Question", "name": "What's on the openGym roadmap?", "acceptedAnswer": {"@type": "Answer", "text": "A small, themed release roughly every two weeks: a session queue, programmes and phases, AMRAP/%1RM/5-3-1 progression, cardio intervals, then database storage (v1.4.0), better search, OIDC login and a trainer role. The full plan is in ROADMAP.md on GitHub."}}, {"@type": "Question", "name": "Was openGym written with AI?", "acceptedAnswer": {"@type": "Answer", "text": "openGym is developed with Claude Code, Anthropic's coding agent; a large share of the code, tests and docs is drafted that way, and every change is reviewed, tested and released by the maintainer. The app itself calls no AI service unless an admin switches on the optional AI coach."}}, {"@type": "Question", "name": "Where does the exercise database come from?", "acceptedAnswer": {"@type": "Answer", "text": "The exercise text lives in openGym's own catalogue in the repository, open to fixes and translations by pull request; the oldest entries came from ExerciseDB under MIT. The pictures and animations are licensed from Gym visual for use in openGym only and ship with it at 180 px. Reusing them anywhere else needs your own licence from gymvisual.com."}}, {"@type": "Question", "name": "What does the AGPL license mean for me?", "acceptedAnswer": {"@type": "Answer", "text": "You can self-host, use, modify and share openGym freely. Only if you run a modified version as a network service must you offer that version's source under the same license. Using or self-hosting it unmodified obliges you to nothing."}}]}</script></head><body class="topnav dock">@@ -205,7 +205,7 @@<p>One codebase, three ways to run it. Everything below applies to all of them unless asection says otherwise.</p><table class="cfg">- <tr><td><b>Mobile app</b></td><td>A sideloadable Android APK (and a buildable iOS app). No account, no server, no sync — the phone <i>is</i> the account, data lives in the app's private storage, workout-day reminders are native notifications. Install-and-done.</td></tr>+ <tr><td><b>Mobile app</b></td><td>The <a href="https://apps.apple.com/app/id6822275400" rel="noopener">App Store app</a> for iPhone and Apple Watch, and a signed Android APK. No account, no server, no sync — the phone <i>is</i> the account, data lives in the app's private storage, workout-day reminders are native notifications. Install-and-done.</td></tr><tr><td><b>Self-hosted</b></td><td>Two Docker containers on your own machine. Adds passkey profiles, sync across devices, installable as a home-screen PWA, optional admin dashboard, web push notifications. The flavor for households and training groups.</td></tr><tr><td><b>Demo</b></td><td><a href="/demo/">The in-browser demo</a> — the real app seeded with example data, storing everything in your browser only. Useful to try before installing, and as a free plan editor (see <a href="#import">Import</a>).</td></tr></table>@@ -248,10 +248,11 @@away, stays quiet. The missed-workout nudge, when switched on, is scheduled the same way.</p><h2 id="iphone">Use on iPhone</h2>- <p>Apple does not allow installing apps outside the App Store, so there is no iOS download —- that's a platform rule, not a choice we made. What works instead:</p>+ <p><b>openGym is in the App Store</b>, for iPhone and Apple Watch, in every App Store country:+ <a href="https://apps.apple.com/app/id6822275400" rel="noopener">get it here</a>. It works on the+ phone alone, or <a href="#mobile-server">paired with your own server</a>. Other ways:</p><ul>- <li><b>Self-host + home screen (recommended):</b> open your own openGym instance in+ <li><b>Self-host + home screen:</b> open your own openGym instance inSafari → <b>Share</b> → <b>Add to Home Screen</b>. You get a full-screen app with itsown icon, passkey sign-in and sync — no expiry, no fees.</li><li><b>Build it onto your own iPhone:</b> with a Mac and Xcode 15+, the native Capacitor@@ -978,10 +979,11 @@ Leg Day,Leg Press,2026-08-21,200,1</code></pre>paid tracker for you, there's a <a href="https://buymeacoffee.com/duartesantos" rel="noopener">coffee button</a>and a <a href="https://ko-fi.com/opengym" rel="noopener">Ko-fi page</a>,though a star, a bug report or a pull request is worth just as much.</p>- <h3>Why isn't it on the Play Store / App Store?</h3>- <p>By choice (and on iOS, by Apple's rules for sideloading). Store accounts cost money,- impose terms that sit badly with the AGPL, and put a gatekeeper between you and an app- whose whole point is that your data is yours.</p>+ <h3>Is it on the App Store and Google Play?</h3>+ <p>The App Store: yes, since 23 October 2026, for iPhone and Apple Watch+ (<a href="https://apps.apple.com/app/id6822275400" rel="noopener">link</a>). Google Play is next;+ until then the signed Android APK is a direct download, and it updates itself. The store apps are+ the same AGPL code as everything else here.</p><h3>Mobile app or self-hosted — which one should I pick?</h3><p>If you just want to track your training: the mobile app. If you want your data on yourown hardware, synced across devices, with profiles for the people you train with:@@ -992,8 +994,7 @@ Leg Day,Leg Press,2026-08-21,200,1</code></pre><p>A small, themed release roughly every two weeks. Next up: a session queue beside thefixed week, programmes and phases, a second round on the progression engine (AMRAP,%1RM and 5/3/1-style waves), cardio intervals; then the move to a database (v1.4.0, the one- compatibility break), better search, OIDC login, a trainer role and an App Store build for- iPhone. The full plan with dates is in+ compatibility break), better search, OIDC login and a trainer role. The full plan with dates is in<a href="https://github.com/DuarteSantos8/openGym/blob/main/ROADMAP.md" rel="noopener">ROADMAP.md</a>;ideas and pull requests welcome.</p><h3>Was openGym written with AI?</h3>@@ -1035,6 +1036,6 @@ Leg Day,Leg Press,2026-08-21,200,1</code></pre></div></div></footer>-<script src="site.js?v=27" defer></script>+<script src="site.js?v=28" defer></script></body></html>diff --git a/website/index.html b/website/index.htmlindex 0a4417b7b..323bd8bcf 100644--- a/website/index.html+++ b/website/index.html@@ -28,7 +28,7 @@<link rel="icon" type="image/png" sizes="512x512" href="/icon-512.png"><link rel="apple-touch-icon" href="icon-180.png"><link rel="preload" as="image" type="image/webp" imagesrcset="img/home-480.webp 480w, img/home-600.webp 600w, img/home-1170.webp 1170w" imagesizes="(max-width: 700px) 62vw, 300px" fetchpriority="high">-<link rel="stylesheet" href="styles.css?v=27">+<link rel="stylesheet" href="styles.css?v=28"><!-- Marks that JS is alive before first paint, so the scroll-reveal styles neverhide content from a browser that will not run them. --><script>@@ -92,6 +92,9 @@ try {<symbol id="i-archive" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><rect x="3.2" y="4.4" width="17.6" height="4.4" rx="1.6"/><path d="M5 8.8v9.2a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8.8"/><path d="M9.8 12.6h4.4"/></symbol></defs></svg>+<!-- App Store launch bar (2026-10-23): one line above the nav, scrolls away with the page. -->+<div class="announce"><a href="https://apps.apple.com/app/id6822275400" rel="noopener"><b>New:</b> openGym is on the App Store<span class="announce-more">, for iPhone and Apple Watch, in every country</span>. <span class="announce-go">Get it →</span></a></div>+<nav><div class="wrap nav-in"><a class="brand" href="/"><img src="icon-180.png" alt="" width="24" height="24">@@ -170,6 +173,8 @@ try {<a class="btn" href="#download">Get openGym</a><a class="link" href="#demo">Try the live demo</a></div>+ <a class="hero-badge store-badge" href="https://apps.apple.com/app/id6822275400" rel="noopener">+ <img src="app-store-badge.svg" width="150" height="50" alt="Download on the App Store"></a></div><div class="hero-stage"><div class="device">@@ -619,6 +624,6 @@ try {</div></div></footer>-<script src="site.js?v=27" defer></script>+<script src="site.js?v=28" defer></script></body></html>diff --git a/website/privacy.html b/website/privacy.htmlindex cb50f98a6..19fed0796 100644--- a/website/privacy.html+++ b/website/privacy.html@@ -26,7 +26,7 @@<link rel="icon" type="image/png" sizes="192x192" href="/icon-192.png"><link rel="icon" type="image/png" sizes="512x512" href="/icon-512.png"><link rel="apple-touch-icon" href="icon-180.png">-<link rel="stylesheet" href="styles.css?v=27">+<link rel="stylesheet" href="styles.css?v=28"><script>document.documentElement.className += ' js'</script><!-- Umami web analytics for opengym.ch (self-hosted, cookieless). --><script defer src="https://stats.duarte-santos.ch/script.js" data-website-id="db36019e-50f4-453c-9c56-d0588aefe233"></script>@@ -192,6 +192,6 @@</div></div></footer>-<script src="site.js?v=27" defer></script>+<script src="site.js?v=28" defer></script></body></html>diff --git a/website/styles.css b/website/styles.cssindex bdc9545d8..05e4e5634 100644--- a/website/styles.css+++ b/website/styles.css@@ -984,3 +984,14 @@ table.cfg td:first-child { white-space: nowrap; width: 1%; padding-right: 26px;/* Where the drawer is the only way in, keep the chip row that points into the page. */.toc { display: flex; }}++/* App Store launch bar above the nav, and the badge under the hero buttons. */+.announce { background: var(--acc-soft); border-bottom: 1px solid var(--hair-soft); text-align: center; }+.announce a { display: block; padding: 9px var(--pad); color: var(--fg); font-size: 14px; line-height: 1.4; text-wrap: balance; }+.announce a:hover { text-decoration: none; }+.announce b { color: var(--acc); font-weight: 600; }+.announce-go { color: var(--acc); font-weight: 600; white-space: nowrap; }+.announce a:hover .announce-go { text-decoration: underline; }+.hero-badge { display: inline-block; margin-top: 22px; }+.hero-badge img { display: block; width: 150px; height: auto; }+@media (max-width: 560px) { .announce-more { display: none; } }