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
Move the website to opengym.ch
Duarte Santosfdf030ed8d35
diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.ymlindex 36f495ee8..e2c8a45ff 100644--- a/.github/workflows/pages.yml+++ b/.github/workflows/pages.yml@@ -2,7 +2,7 @@## Dormant from 2026-08-19 to 2026-09-10 while the GitHub account was suspended; live again since.# The same build (same command, Vite's base is './') is also served from the project's own site at-# https://opengym.duarte-santos.ch/demo/, so the demo has two addresses with identical content.+# https://opengym.ch/demo/, so the demo has two addresses with identical content.## Pages serves static files only, so this build has no backend — VITE_DEMO=1 makes the app# boot straight into guest mode with a seeded example history (see frontend/src/lib/demo.js).diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex a7cfa4762..1f99d00a3 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -13,7 +13,7 @@ api/ Backend: server.js on plain node:http, two dependencies (@simplewebauweb/ Multi-stage Dockerfile (builds the frontend, serves it with nginx) and the nginx template.mcp/ Optional read-only MCP server for LLM clients (Claude Desktop, Cursor, ...). Not in theDocker build; it only runs when a client spawns it. See mcp/README.md.-website/ The static project site at opengym.duarte-santos.ch.+website/ The static project site at opengym.ch.kubernetes/ Example manifests (docs/SELF_HOSTING_KUBERNETES.md).docs/ User and operator guides (index: docs/README.md); docs/dev/ has feature design notes.media/ Exercise images and GIFs, gitignored and fetched at runtime.diff --git a/README.md b/README.mdindex a1ed63e85..6d9c23bf1 100644--- a/README.md+++ b/README.md@@ -17,8 +17,8 @@ on your phone, synced across your devices, behind your own passkey login.[](https://gitlab.com/DuarteSantos8/opengym/-/pipelines?ref=main)[](LICENSE)-[Website](https://opengym.duarte-santos.ch) ·-[Live demo](https://opengym.duarte-santos.ch/demo/) ·+[Website](https://opengym.ch) ·+[Live demo](https://opengym.ch/demo/) ·[Android APK](https://github.com/DuarteSantos8/openGym/releases/latest) ·[Self-hosting guide](docs/SELF_HOSTING.md) ·[Roadmap](ROADMAP.md) ·@@ -46,7 +46,7 @@ sign-in, works offline, syncs between your phone and your laptop.No account on someone else's server, no subscription, no ads, no telemetry. One`docker compose up` and it's running.-The [in-browser demo](https://opengym.duarte-santos.ch/demo/) is the real app with example data,+The [in-browser demo](https://opengym.ch/demo/) is the real app with example data,if you want to try it before installing anything.## Features@@ -183,7 +183,7 @@ The same codebase builds a standalone app with Capacitor: no account, no server,on the phone, with native reminders and a rest countdown in the notification shade.- **Android:** download the signed APK from the [latest release](https://github.com/DuarteSantos8/openGym/releases/latest)- or the [website](https://opengym.duarte-santos.ch). Each build sits next to its `.sha256`, and+ or the [website](https://opengym.ch). Each build sits next to its `.sha256`, andthe app checks for updates itself. openGym is deliberately not on the Play Store.- **iPhone:** Apple doesn't allow installs outside the App Store. Self-host and add the PWA to yourhome screen from Safari, or build the native app onto your own device with Xcode.@@ -208,7 +208,7 @@ Details and build instructions: [docs/MOBILE.md](docs/MOBILE.md).The training logic (progression rules, 1RM, how a logged session is read back) lives in purefunctions under `frontend/src/lib/` with tests beside them. The HTTP API is documented as anOpenAPI spec in [`api/openapi.yaml`](api/openapi.yaml), browsable at-[opengym.duarte-santos.ch/api.html](https://opengym.duarte-santos.ch/api.html).+[opengym.ch/api.html](https://opengym.ch/api.html).### How sync worksdiff --git a/api/openapi.yaml b/api/openapi.yamlindex 1859eae2d..7f17ed1a9 100644--- a/api/openapi.yaml+++ b/api/openapi.yaml@@ -1,7 +1,7 @@# openGym HTTP API: hand-written OpenAPI 3.1 spec.# Source of truth: api/server.js (a single framework-free Node file). Every route the# server registers is documented here; if you add a route there, add it here too.-# Browsable version: https://opengym.duarte-santos.ch/api.html+# Browsable version: https://opengym.ch/api.htmlopenapi: 3.1.0info:@@ -9,7 +9,7 @@ info:version: 1.3.10summary: Passkey (WebAuthn) auth + per-user state storage for openGymdescription: |- The backend of [openGym](https://opengym.duarte-santos.ch), a free, open-source+ The backend of [openGym](https://opengym.ch), a free, open-sourcegym & body-weight tracker. A plain Node server, no framework, JSON-file storage,HMAC-signed session cookies.diff --git a/docs/API.md b/docs/API.mdindex 8c249167e..e3f3ee04c 100644--- a/docs/API.md+++ b/docs/API.md@@ -5,7 +5,7 @@ request/response schemas and the env-dependent behavior — is documented as ahand-written OpenAPI 3.1 spec:- **Spec (source of truth):** [`api/openapi.yaml`](../api/openapi.yaml)-- **Browsable (Swagger UI):** https://opengym.duarte-santos.ch/api.html+- **Browsable (Swagger UI):** https://opengym.ch/api.htmlLint it after changing routes:diff --git a/docs/DATA_IMPORTS.md b/docs/DATA_IMPORTS.mdindex 1108465f6..cf53ca5a8 100644--- a/docs/DATA_IMPORTS.md+++ b/docs/DATA_IMPORTS.md@@ -66,7 +66,7 @@ On the **Plan** screen, tap the share icon:- **Print / Save as PDF** gives you a clean printout.An export always contains every routine. To share only some of them, import the file into the-[demo](https://opengym.duarte-santos.ch/demo/), delete what you don't want, and export again. The+[demo](https://opengym.ch/demo/), delete what you don't want, and export again. Thedemo keeps everything in your browser; nothing is uploaded. The same trick works for building a planon a computer and then importing it into the phone app.diff --git a/docs/FAQ.md b/docs/FAQ.mdindex 1e732582c..8b25a245e 100644--- a/docs/FAQ.md+++ b/docs/FAQ.md@@ -11,7 +11,7 @@ to support it anyway, there's [Buy Me a Coffee](https://buymeacoffee.com/duartesNo, there are three ways to use it:-- **Try it:** the [online demo](https://opengym.duarte-santos.ch/demo/) runs entirely in your+- **Try it:** the [online demo](https://opengym.ch/demo/) runs entirely in yourbrowser with example data.- **Phone only:** the Android app needs no server and no account; everything stays on the phone.See [MOBILE.md](MOBILE.md).diff --git a/docs/MOBILE.md b/docs/MOBILE.mdindex 89209d69f..75a3fae02 100644--- a/docs/MOBILE.md+++ b/docs/MOBILE.md@@ -195,7 +195,7 @@ accounts, no store rules, no yearly fees between you and an open-source app.The official signed APK is in four places, all the same file:-- **[opengym.duarte-santos.ch](https://opengym.duarte-santos.ch)** — the download page.+- **[opengym.ch](https://opengym.ch)** — the download page.- **[GitLab's package registry](https://gitlab.com/DuarteSantos8/opengym/-/packages)** — everybuild under `opengym-android/<version>/`, with a `.sha256` beside it. Direct link, no login:`https://gitlab.com/api/v4/projects/85678327/packages/generic/opengym-android/<version>/openGym-<version>.apk`diff --git a/docs/README.md b/docs/README.mdindex db092dedc..4f64c22bb 100644--- a/docs/README.md+++ b/docs/README.md@@ -12,7 +12,7 @@ Pick the part that matches what you're doing. If you just have a question, try t| [Importing data](DATA_IMPORTS.md) | You're coming from FitNotes, Strong, Hevy or Apple Health, or sharing a plan with someone || [AI coach](AI_COACH.md) | Your instance has the coach switched on and you want to know what it sees and can change |-The [live demo](https://opengym.duarte-santos.ch/demo/) is the real app with example data, nothing+The [live demo](https://opengym.ch/demo/) is the real app with example data, nothingto install.## Hosting itdiff --git a/frontend/src/lib/plan-share.js b/frontend/src/lib/plan-share.jsindex 786c3ece6..ea98bb918 100644--- a/frontend/src/lib/plan-share.js+++ b/frontend/src/lib/plan-share.js@@ -454,7 +454,7 @@ export function planPrintHTML(S, owner, { routineId } = {}) {</header>${week}${body}- <footer>${esc(t('Made with openGym'))} · opengym.duarte-santos.ch</footer>+ <footer>${esc(t('Made with openGym'))} · opengym.ch</footer></div></body></html>`}diff --git a/frontend/src/lib/pt-br-locale.test.js b/frontend/src/lib/pt-br-locale.test.jsindex 8fa4c3706..b6d30378e 100644--- a/frontend/src/lib/pt-br-locale.test.js+++ b/frontend/src/lib/pt-br-locale.test.js@@ -41,7 +41,7 @@ describe('Brazilian Portuguese locale', () => {// has to be taught is a number nobody reads. What the numbers stood for is asserted above.// If the hash fails, review the changed keys and wording before accepting a new one. From// frontend/: node scripts/pt-br-inheritance-fingerprint.mjs --list- expect(fingerprint, 'pt-PT inheritance changed; review the inherited pt-BR wording').toBe('5304c30895afe32bf14334f32497355b645f481f695c582e3b28161a23cba864')+ expect(fingerprint, 'pt-PT inheritance changed; review the inherited pt-BR wording').toBe('c84272f6c1e153096f55ac39a897d29408cb61444035fac6364d06321e41466e')})test('does not leak European Portuguese UI terms', () => {diff --git a/frontend/src/locales/ar.js b/frontend/src/locales/ar.jsindex b92f6745e..8c6f9b2ff 100644--- a/frontend/src/locales/ar.js+++ b/frontend/src/locales/ar.js@@ -1260,7 +1260,7 @@ export default {'You have the latest version.': 'لديك أحدث إصدار.','Couldn’t check for updates. Are you online?': 'تعذّر التحقق من التحديثات. هل أنت متصل بالإنترنت؟','Get the Android app': 'احصل على تطبيق أندرويد',- 'Download the APK from opengym.duarte-santos.ch': 'نزّل ملف APK من opengym.duarte-santos.ch',+ 'Download the APK from opengym.ch': 'نزّل ملف APK من opengym.ch','Releases are checked on gitlab.com. The download is verified against its checksum before the installer opens.': 'يُتحقق من الإصدارات على gitlab.com. ويُتحقق من التنزيل مقابل بصمته قبل فتح المثبّت.','The web app updates together with your server. The Android app installs its own updates from here.': 'يتحدث تطبيق الويب مع خادمك. أما تطبيق أندرويد فيثبّت تحديثاته من هنا.','Starting download…': 'جارٍ بدء التنزيل…',diff --git a/frontend/src/locales/de.js b/frontend/src/locales/de.jsindex 7fdb20e04..ddbbe9634 100644--- a/frontend/src/locales/de.js+++ b/frontend/src/locales/de.js@@ -1383,7 +1383,7 @@ export default {'You have the latest version.': 'Du hast die neueste Version.','Couldn’t check for updates. Are you online?': 'Update-Prüfung fehlgeschlagen. Bist du online?','Get the Android app': 'Android-App holen',- 'Download the APK from opengym.duarte-santos.ch': 'APK von opengym.duarte-santos.ch laden',+ 'Download the APK from opengym.ch': 'APK von opengym.ch laden','Releases are checked on gitlab.com. The download is verified against its checksum before the installer opens.': 'Releases werden auf gitlab.com geprüft. Der Download wird vor dem Öffnen des Installers gegen seine Prüfsumme verifiziert.','The web app updates together with your server. The Android app installs its own updates from here.': 'Die Web-App aktualisiert sich mit deinem Server. Die Android-App installiert ihre Updates von hier aus.','Starting download…': 'Download wird gestartet…',diff --git a/frontend/src/locales/es.js b/frontend/src/locales/es.jsindex 592a333e1..f47409ae4 100644--- a/frontend/src/locales/es.js+++ b/frontend/src/locales/es.js@@ -1363,7 +1363,7 @@ export default {'You have the latest version.': 'Tienes la última versión.','Couldn’t check for updates. Are you online?': 'No se pudo buscar actualizaciones. ¿Estás conectado?','Get the Android app': 'Descargar la app de Android',- 'Download the APK from opengym.duarte-santos.ch': 'Descarga el APK desde opengym.duarte-santos.ch',+ 'Download the APK from opengym.ch': 'Descarga el APK desde opengym.ch','Releases are checked on gitlab.com. The download is verified against its checksum before the installer opens.': 'Las versiones se comprueban en gitlab.com. La descarga se verifica con su suma de comprobación antes de abrir el instalador.','The web app updates together with your server. The Android app installs its own updates from here.': 'La app web se actualiza junto con tu servidor. La app de Android instala sus actualizaciones desde aquí.','Starting download…': 'Iniciando descarga…',diff --git a/frontend/src/locales/fr.js b/frontend/src/locales/fr.jsindex a6c2a3d84..626068fff 100644--- a/frontend/src/locales/fr.js+++ b/frontend/src/locales/fr.js@@ -1363,7 +1363,7 @@ export default {'You have the latest version.': 'Tu as la dernière version.','Couldn’t check for updates. Are you online?': 'Impossible de vérifier les mises à jour. Es-tu en ligne ?','Get the Android app': 'Télécharger l’app Android',- 'Download the APK from opengym.duarte-santos.ch': 'Télécharge l’APK depuis opengym.duarte-santos.ch',+ 'Download the APK from opengym.ch': 'Télécharge l’APK depuis opengym.ch','Releases are checked on gitlab.com. The download is verified against its checksum before the installer opens.': 'Les versions sont vérifiées sur gitlab.com. Le téléchargement est contrôlé avec sa somme de contrôle avant l’ouverture de l’installateur.','The web app updates together with your server. The Android app installs its own updates from here.': 'L’app web se met à jour avec ton serveur. L’app Android installe ses mises à jour depuis ici.','Starting download…': 'Démarrage du téléchargement…',diff --git a/frontend/src/locales/hi.js b/frontend/src/locales/hi.jsindex 8c05a4933..7423355b4 100644--- a/frontend/src/locales/hi.js+++ b/frontend/src/locales/hi.js@@ -1363,7 +1363,7 @@ export default {'You have the latest version.': 'आपके पास नवीनतम संस्करण है।','Couldn’t check for updates. Are you online?': 'अपडेट जाँच नहीं हो सकी। क्या आप ऑनलाइन हैं?','Get the Android app': 'Android ऐप लें',- 'Download the APK from opengym.duarte-santos.ch': 'opengym.duarte-santos.ch से APK डाउनलोड करें',+ 'Download the APK from opengym.ch': 'opengym.ch से APK डाउनलोड करें','Releases are checked on gitlab.com. The download is verified against its checksum before the installer opens.': 'रिलीज़ gitlab.com पर जाँची जाती हैं। इंस्टॉलर खुलने से पहले डाउनलोड की चेकसम से पुष्टि होती है।','The web app updates together with your server. The Android app installs its own updates from here.': 'वेब ऐप आपके सर्वर के साथ अपडेट होता है। Android ऐप अपने अपडेट यहीं से इंस्टॉल करता है।','Starting download…': 'डाउनलोड शुरू हो रहा है…',diff --git a/frontend/src/locales/hu.js b/frontend/src/locales/hu.jsindex 3b8a3698f..3337ac5cb 100644--- a/frontend/src/locales/hu.js+++ b/frontend/src/locales/hu.js@@ -1366,7 +1366,7 @@ export default {'You have the latest version.': 'A legújabb verziód van.','Couldn’t check for updates. Are you online?': 'Nem sikerült frissítéseket keresni. Online vagy?','Get the Android app': 'Android-alkalmazás letöltése',- 'Download the APK from opengym.duarte-santos.ch': 'Töltsd le az APK-t az opengym.duarte-santos.ch oldalról',+ 'Download the APK from opengym.ch': 'Töltsd le az APK-t az opengym.ch oldalról','Releases are checked on gitlab.com. The download is verified against its checksum before the installer opens.': 'A kiadásokat a gitlab.com-on ellenőrizzük. A letöltést a telepítő megnyitása előtt az ellenőrzőösszeggel vetjük össze.','The web app updates together with your server. The Android app installs its own updates from here.': 'A webalkalmazás a szerverrel együtt frissül. Az Android-alkalmazás innen telepíti a frissítéseit.','Starting download…': 'Letöltés indítása…',diff --git a/frontend/src/locales/it.js b/frontend/src/locales/it.jsindex 81f392217..87cb6f41b 100644--- a/frontend/src/locales/it.js+++ b/frontend/src/locales/it.js@@ -1363,7 +1363,7 @@ export default {'You have the latest version.': 'Hai l’ultima versione.','Couldn’t check for updates. Are you online?': 'Impossibile controllare gli aggiornamenti. Sei online?','Get the Android app': 'Scarica l’app Android',- 'Download the APK from opengym.duarte-santos.ch': 'Scarica l’APK da opengym.duarte-santos.ch',+ 'Download the APK from opengym.ch': 'Scarica l’APK da opengym.ch','Releases are checked on gitlab.com. The download is verified against its checksum before the installer opens.': 'Le release vengono controllate su gitlab.com. Il download è verificato con il suo checksum prima di aprire l’installer.','The web app updates together with your server. The Android app installs its own updates from here.': 'L’app web si aggiorna insieme al tuo server. L’app Android installa i suoi aggiornamenti da qui.','Starting download…': 'Avvio del download…',diff --git a/frontend/src/locales/ko.js b/frontend/src/locales/ko.jsindex fc4f356c8..88a7b8685 100644--- a/frontend/src/locales/ko.js+++ b/frontend/src/locales/ko.js@@ -1363,7 +1363,7 @@ export default {'You have the latest version.': '최신 버전입니다.','Couldn’t check for updates. Are you online?': '업데이트를 확인할 수 없어요. 온라인 상태인가요?','Get the Android app': 'Android 앱 받기',- 'Download the APK from opengym.duarte-santos.ch': 'opengym.duarte-santos.ch에서 APK 다운로드',+ 'Download the APK from opengym.ch': 'opengym.ch에서 APK 다운로드','Releases are checked on gitlab.com. The download is verified against its checksum before the installer opens.': '릴리스는 gitlab.com에서 확인합니다. 설치 프로그램이 열리기 전에 다운로드의 체크섬을 검증합니다.','The web app updates together with your server. The Android app installs its own updates from here.': '웹 앱은 서버와 함께 업데이트됩니다. Android 앱은 여기서 직접 업데이트를 설치합니다.','Starting download…': '다운로드 시작 중…',diff --git a/frontend/src/locales/pl.js b/frontend/src/locales/pl.jsindex 92579d18f..51d457ed4 100644--- a/frontend/src/locales/pl.js+++ b/frontend/src/locales/pl.js@@ -1363,7 +1363,7 @@ export default {'You have the latest version.': 'Masz najnowszą wersję.','Couldn’t check for updates. Are you online?': 'Nie udało się sprawdzić aktualizacji. Czy jesteś online?','Get the Android app': 'Pobierz aplikację na Androida',- 'Download the APK from opengym.duarte-santos.ch': 'Pobierz APK z opengym.duarte-santos.ch',+ 'Download the APK from opengym.ch': 'Pobierz APK z opengym.ch','Releases are checked on gitlab.com. The download is verified against its checksum before the installer opens.': 'Wydania są sprawdzane na gitlab.com. Pobrany plik jest weryfikowany sumą kontrolną przed otwarciem instalatora.','The web app updates together with your server. The Android app installs its own updates from here.': 'Aplikacja webowa aktualizuje się razem z serwerem. Aplikacja na Androida instaluje aktualizacje stąd.','Starting download…': 'Rozpoczynanie pobierania…',diff --git a/frontend/src/locales/pt.js b/frontend/src/locales/pt.jsindex ad06595ac..a21580248 100644--- a/frontend/src/locales/pt.js+++ b/frontend/src/locales/pt.js@@ -1363,7 +1363,7 @@ export default {'You have the latest version.': 'Tens a versão mais recente.','Couldn’t check for updates. Are you online?': 'Não foi possível procurar atualizações. Estás online?','Get the Android app': 'Obter a app Android',- 'Download the APK from opengym.duarte-santos.ch': 'Descarrega o APK em opengym.duarte-santos.ch',+ 'Download the APK from opengym.ch': 'Descarrega o APK em opengym.ch','Releases are checked on gitlab.com. The download is verified against its checksum before the installer opens.': 'As versões são verificadas em gitlab.com. A transferência é confirmada pela soma de verificação antes de abrir o instalador.','The web app updates together with your server. The Android app installs its own updates from here.': 'A app web atualiza-se com o teu servidor. A app Android instala as suas atualizações a partir daqui.','Starting download…': 'A iniciar transferência…',diff --git a/frontend/src/locales/ru.js b/frontend/src/locales/ru.jsindex 576e5cbe6..25c813374 100644--- a/frontend/src/locales/ru.js+++ b/frontend/src/locales/ru.js@@ -1334,7 +1334,7 @@ export default {'You have the latest version.': 'У вас последняя версия.','Couldn’t check for updates. Are you online?': 'Не удалось проверить обновления. Вы онлайн?','Get the Android app': 'Скачать приложение для Android',- 'Download the APK from opengym.duarte-santos.ch': 'Скачайте APK с opengym.duarte-santos.ch',+ 'Download the APK from opengym.ch': 'Скачайте APK с opengym.ch','Releases are checked on gitlab.com. The download is verified against its checksum before the installer opens.': 'Релизы проверяются на gitlab.com. Перед запуском установщика загрузка сверяется с контрольной суммой.','The web app updates together with your server. The Android app installs its own updates from here.': 'Веб-приложение обновляется вместе с сервером. Приложение для Android устанавливает обновления отсюда.','Starting download…': 'Начало загрузки…',diff --git a/frontend/src/locales/th.js b/frontend/src/locales/th.jsindex 1031f9448..e86ce60a1 100644--- a/frontend/src/locales/th.js+++ b/frontend/src/locales/th.js@@ -1374,7 +1374,7 @@ export default {'You have the latest version.': 'คุณใช้เวอร์ชันล่าสุดแล้ว','Couldn’t check for updates. Are you online?': 'ตรวจสอบอัปเดตไม่ได้ คุณออนไลน์อยู่หรือเปล่า?','Get the Android app': 'รับแอป Android',- 'Download the APK from opengym.duarte-santos.ch': 'ดาวน์โหลด APK จาก opengym.duarte-santos.ch',+ 'Download the APK from opengym.ch': 'ดาวน์โหลด APK จาก opengym.ch','Releases are checked on gitlab.com. The download is verified against its checksum before the installer opens.': 'ตรวจสอบรุ่นจาก gitlab.com ไฟล์ที่ดาวน์โหลดจะถูกตรวจ checksum ก่อนเปิดตัวติดตั้ง','The web app updates together with your server. The Android app installs its own updates from here.': 'เว็บแอปอัปเดตพร้อมกับเซิร์ฟเวอร์ของคุณ แอป Android ติดตั้งอัปเดตจากที่นี่','Starting download…': 'กำลังเริ่มดาวน์โหลด…',diff --git a/frontend/src/locales/tr.js b/frontend/src/locales/tr.jsindex d6fa067cf..dcb65e504 100644--- a/frontend/src/locales/tr.js+++ b/frontend/src/locales/tr.js@@ -1363,7 +1363,7 @@ export default {'You have the latest version.': 'En son sürüme sahipsin.','Couldn’t check for updates. Are you online?': 'Güncellemeler denetlenemedi. Çevrimiçi misin?','Get the Android app': 'Android uygulamasını al',- 'Download the APK from opengym.duarte-santos.ch': 'APK’yı opengym.duarte-santos.ch adresinden indir',+ 'Download the APK from opengym.ch': 'APK’yı opengym.ch adresinden indir','Releases are checked on gitlab.com. The download is verified against its checksum before the installer opens.': 'Sürümler gitlab.com üzerinde denetlenir. İndirme, yükleyici açılmadan önce sağlama toplamıyla doğrulanır.','The web app updates together with your server. The Android app installs its own updates from here.': 'Web uygulaması sunucunla birlikte güncellenir. Android uygulaması güncellemelerini buradan kurar.','Starting download…': 'İndirme başlatılıyor…',diff --git a/frontend/src/locales/uk.js b/frontend/src/locales/uk.jsindex a4a775ede..2504fdf10 100644--- a/frontend/src/locales/uk.js+++ b/frontend/src/locales/uk.js@@ -1211,7 +1211,7 @@ export default {"You have the latest version.": "У тебе остання версія.",'Couldn’t check for updates. Are you online?': 'Не вдалося перевірити оновлення. Ти онлайн?',"Get the Android app": "Отримати застосунок для Android",- "Download the APK from opengym.duarte-santos.ch": "Завантаж APK з opengym.duarte-santos.ch",+ "Download the APK from opengym.ch": "Завантаж APK з opengym.ch","Releases are checked on gitlab.com. The download is verified against its checksum before the installer opens.": "Релізи перевіряються на gitlab.com. Перед відкриттям встановлювача завантаження звіряється з контрольною сумою.","The web app updates together with your server. The Android app installs its own updates from here.": "Веб-застосунок оновлюється разом із сервером. Застосунок для Android встановлює свої оновлення звідси.","Starting download…": "Починаю завантаження…",diff --git a/frontend/src/locales/zh-TW.js b/frontend/src/locales/zh-TW.jsindex 0ab17d0bf..014bcb5fe 100644--- a/frontend/src/locales/zh-TW.js+++ b/frontend/src/locales/zh-TW.js@@ -1354,7 +1354,7 @@ export default {'You have the latest version.': '已是最新版本。','Couldn’t check for updates. Are you online?': '無法檢查更新。你有連上網路嗎?','Get the Android app': '下載 Android App',- 'Download the APK from opengym.duarte-santos.ch': '從 opengym.duarte-santos.ch 下載 APK 檔',+ 'Download the APK from opengym.ch': '從 opengym.ch 下載 APK 檔','Releases are checked on gitlab.com. The download is verified against its checksum before the installer opens.': '發行版本由 gitlab.com 驗證。安裝前會主動核對雜湊檢查碼以保證安全。','The web app updates together with your server. The Android app installs its own updates from here.': '網頁版將隨伺服器自動更新。Android App 則可直接在此安裝專屬更新。','Starting download…': '開始下載…',diff --git a/frontend/src/locales/zh.js b/frontend/src/locales/zh.jsindex 07765586e..fad00d27a 100644--- a/frontend/src/locales/zh.js+++ b/frontend/src/locales/zh.js@@ -1363,7 +1363,7 @@ export default {'You have the latest version.': '已是最新版本。','Couldn’t check for updates. Are you online?': '无法检查更新。你在线吗?','Get the Android app': '获取 Android 应用',- 'Download the APK from opengym.duarte-santos.ch': '从 opengym.duarte-santos.ch 下载 APK',+ 'Download the APK from opengym.ch': '从 opengym.ch 下载 APK','Releases are checked on gitlab.com. The download is verified against its checksum before the installer opens.': '版本在 gitlab.com 上检查。安装程序打开前会校验下载文件的校验和。','The web app updates together with your server. The Android app installs its own updates from here.': '网页应用随服务器一起更新。Android 应用在这里自行安装更新。','Starting download…': '正在开始下载…',diff --git a/frontend/src/views/Settings.jsx b/frontend/src/views/Settings.jsxindex fd5770fce..8fd329496 100644--- a/frontend/src/views/Settings.jsx+++ b/frontend/src/views/Settings.jsx@@ -780,8 +780,8 @@ export default function Settings({ page = null, find = null, via = null }) {accessory="chevron"onClick={() => (updateInfo?.hasUpdate ? onUpdateRowClick() : checkNow())} />: <Row icon="download" iconTint="var(--green)" title={t('Get the Android app')}- subtitle={t('Download the APK from opengym.duarte-santos.ch')} accessory="chevron"- onClick={() => window.open('https://opengym.duarte-santos.ch/#download', '_blank', 'noopener')} />}+ subtitle={t('Download the APK from opengym.ch')} accessory="chevron"+ onClick={() => window.open('https://opengym.ch/#download', '_blank', 'noopener')} />}</Section>{/* "Add to Home screen": not inside the phone app, and not once it is installed. */}{!MOBILE && !standalone() && <Section title={t('Tip')}>diff --git a/scripts/build-api-docs.mjs b/scripts/build-api-docs.mjsindex df8b7e389..654a8de27 100644--- a/scripts/build-api-docs.mjs+++ b/scripts/build-api-docs.mjs@@ -479,23 +479,23 @@ const html = `<!DOCTYPE html><link rel="preconnect" href="https://stats.duarte-santos.ch"><meta property="og:title" content="openGym API reference"><meta property="og:description" content="The complete openGym HTTP API as an OpenAPI spec: passkey auth, state sync, push notifications, pairing and admin routes.">-<meta property="og:image" content="https://opengym.duarte-santos.ch/img/social.jpg">+<meta property="og:image" content="https://opengym.ch/img/social.jpg"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta property="og:image:alt" content="openGym: your training, your data, your server. Two phones showing the home and workout screens.">-<meta property="og:url" content="https://opengym.duarte-santos.ch/api.html">+<meta property="og:url" content="https://opengym.ch/api.html"><meta property="og:type" content="website"><meta property="og:site_name" content="openGym"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="openGym API reference">-<meta name="twitter:image" content="https://opengym.duarte-santos.ch/img/social.jpg">-<link rel="canonical" href="https://opengym.duarte-santos.ch/api.html">+<meta name="twitter:image" content="https://opengym.ch/img/social.jpg">+<link rel="canonical" href="https://opengym.ch/api.html"><link rel="icon" type="image/png" sizes="512x512" href="icon-512.png"><link rel="icon" type="image/png" sizes="180x180" href="icon-180.png"><link rel="apple-touch-icon" href="icon-180.png"><link rel="stylesheet" href="styles.css?v=23"><script>document.documentElement.className += ' js'</script>-<!-- Umami web analytics for opengym.duarte-santos.ch (self-hosted, cookieless). -->+<!-- 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><style>${css}</style></head>diff --git a/website/README.md b/website/README.mdindex 0c88e5da2..b81322048 100644--- a/website/README.md+++ b/website/README.md@@ -1,4 +1,4 @@-# opengym.duarte-santos.ch+# opengym.chSource of the project website — plain hand-written HTML/CSS/JS, no build step,served by nginx.diff --git a/website/about.html b/website/about.htmlindex 9abb52aba..fa30c3f54 100644--- a/website/about.html+++ b/website/about.html@@ -10,23 +10,23 @@<link rel="preconnect" href="https://stats.duarte-santos.ch"><meta property="og:title" content="About openGym"><meta property="og:description" content="How openGym came to be: a tracker built for one user, open-sourced under the AGPL, with every release documented.">-<meta property="og:image" content="https://opengym.duarte-santos.ch/img/social.jpg">+<meta property="og:image" content="https://opengym.ch/img/social.jpg"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta property="og:image:alt" content="openGym: your training, your data, your server. Two phones showing the home and workout screens.">-<meta property="og:url" content="https://opengym.duarte-santos.ch/about.html">+<meta property="og:url" content="https://opengym.ch/about.html"><meta property="og:type" content="website"><meta property="og:site_name" content="openGym"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="About openGym">-<meta name="twitter:image" content="https://opengym.duarte-santos.ch/img/social.jpg">-<link rel="canonical" href="https://opengym.duarte-santos.ch/about.html">+<meta name="twitter:image" content="https://opengym.ch/img/social.jpg">+<link rel="canonical" href="https://opengym.ch/about.html"><link rel="icon" type="image/png" sizes="512x512" href="icon-512.png"><link rel="icon" type="image/png" sizes="180x180" href="icon-180.png"><link rel="apple-touch-icon" href="icon-180.png"><link rel="stylesheet" href="styles.css?v=23"><script>document.documentElement.className += ' js'</script>-<!-- Umami web analytics for opengym.duarte-santos.ch (self-hosted, cookieless). -->+<!-- 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></head><body class="topnav">diff --git a/website/api.html b/website/api.htmlindex 78fadce49..4466f78b9 100644--- a/website/api.html+++ b/website/api.html@@ -13,23 +13,23 @@<link rel="preconnect" href="https://stats.duarte-santos.ch"><meta property="og:title" content="openGym API reference"><meta property="og:description" content="The complete openGym HTTP API as an OpenAPI spec: passkey auth, state sync, push notifications, pairing and admin routes.">-<meta property="og:image" content="https://opengym.duarte-santos.ch/img/social.jpg">+<meta property="og:image" content="https://opengym.ch/img/social.jpg"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta property="og:image:alt" content="openGym: your training, your data, your server. Two phones showing the home and workout screens.">-<meta property="og:url" content="https://opengym.duarte-santos.ch/api.html">+<meta property="og:url" content="https://opengym.ch/api.html"><meta property="og:type" content="website"><meta property="og:site_name" content="openGym"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="openGym API reference">-<meta name="twitter:image" content="https://opengym.duarte-santos.ch/img/social.jpg">-<link rel="canonical" href="https://opengym.duarte-santos.ch/api.html">+<meta name="twitter:image" content="https://opengym.ch/img/social.jpg">+<link rel="canonical" href="https://opengym.ch/api.html"><link rel="icon" type="image/png" sizes="512x512" href="icon-512.png"><link rel="icon" type="image/png" sizes="180x180" href="icon-180.png"><link rel="apple-touch-icon" href="icon-180.png"><link rel="stylesheet" href="styles.css?v=23"><script>document.documentElement.className += ' js'</script>-<!-- Umami web analytics for opengym.duarte-santos.ch (self-hosted, cookieless). -->+<!-- 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><style>/* ------------------------------------------------------------- API referencediff --git a/website/docs.html b/website/docs.htmlindex 164914649..4aa445ac4 100644--- a/website/docs.html+++ b/website/docs.html@@ -10,23 +10,23 @@<link rel="preconnect" href="https://stats.duarte-santos.ch"><meta property="og:title" content="openGym Docs: the complete reference"><meta property="og:description" content="The complete openGym reference: every feature, self-hosting with Docker, every setting, the AI Coach, imports, backups, MCP, troubleshooting.">-<meta property="og:image" content="https://opengym.duarte-santos.ch/img/social.jpg">+<meta property="og:image" content="https://opengym.ch/img/social.jpg"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta property="og:image:alt" content="openGym: your training, your data, your server. Two phones showing the home and workout screens.">-<meta property="og:url" content="https://opengym.duarte-santos.ch/docs.html">+<meta property="og:url" content="https://opengym.ch/docs.html"><meta property="og:type" content="website"><meta property="og:site_name" content="openGym"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="openGym Docs: the complete reference">-<meta name="twitter:image" content="https://opengym.duarte-santos.ch/img/social.jpg">-<link rel="canonical" href="https://opengym.duarte-santos.ch/docs.html">+<meta name="twitter:image" content="https://opengym.ch/img/social.jpg">+<link rel="canonical" href="https://opengym.ch/docs.html"><link rel="icon" type="image/png" sizes="512x512" href="icon-512.png"><link rel="icon" type="image/png" sizes="180x180" href="icon-180.png"><link rel="apple-touch-icon" href="icon-180.png"><link rel="stylesheet" href="styles.css?v=23"><script>document.documentElement.className += ' js'</script>-<!-- Umami web analytics for opengym.duarte-santos.ch (self-hosted, cookieless). -->+<!-- 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": "From hasaneyldrm/exercises-dataset: 1,324 exercises with animations and instructions. The metadata and instruction text are MIT; the images and animations are third-party media that openGym never redistributes. Your instance downloads them from upstream on first run."}}, {"@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."}}]}diff --git a/website/index.html b/website/index.htmlindex 15d1af3a7..c32e92cf5 100644--- a/website/index.html+++ b/website/index.html@@ -11,15 +11,15 @@<meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="openGym: your workouts, your weights, your data"><meta name="twitter:description" content="Free, open-source gym & body-weight tracker. Android APK or self-hosted with Docker. No account, no cloud, no telemetry.">-<meta name="twitter:image" content="https://opengym.duarte-santos.ch/img/social.jpg">+<meta name="twitter:image" content="https://opengym.ch/img/social.jpg"><meta property="og:title" content="openGym: your workouts, your weights, your data"><meta property="og:description" content="Free, open-source gym & body-weight tracker. Android APK or self-hosted with Docker. No account, no cloud, no telemetry.">-<meta property="og:image" content="https://opengym.duarte-santos.ch/img/social.jpg">+<meta property="og:image" content="https://opengym.ch/img/social.jpg"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta property="og:image:alt" content="openGym: your training, your data, your server. Two phones showing the home and workout screens.">-<meta property="og:url" content="https://opengym.duarte-santos.ch/">-<link rel="canonical" href="https://opengym.duarte-santos.ch/">+<meta property="og:url" content="https://opengym.ch/">+<link rel="canonical" href="https://opengym.ch/"><meta property="og:type" content="website"><meta property="og:site_name" content="openGym"><link rel="icon" type="image/png" sizes="512x512" href="icon-512.png">@@ -41,19 +41,19 @@ try {}} catch (e) { document.documentElement.className += ' intro' }</script>-<!-- Umami web analytics for opengym.duarte-santos.ch (self-hosted, cookieless). -->+<!-- 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":"SoftwareApplication","name":"openGym","operatingSystem":"Android, Web","applicationCategory":"HealthApplication","offers":{"@type":"Offer","price":"0","priceCurrency":"USD"},"license":"https://www.gnu.org/licenses/agpl-3.0.html",- "url":"https://opengym.duarte-santos.ch/",- "image":"https://opengym.duarte-santos.ch/img/social.jpg",- "screenshot":["https://opengym.duarte-santos.ch/img/home.png","https://opengym.duarte-santos.ch/img/workout.png","https://opengym.duarte-santos.ch/img/stats.png"],+ "url":"https://opengym.ch/",+ "image":"https://opengym.ch/img/social.jpg",+ "screenshot":["https://opengym.ch/img/home.png","https://opengym.ch/img/workout.png","https://opengym.ch/img/stats.png"],"softwareVersion":"1.3.10","datePublished":"2026-07-18","dateModified":"2026-10-07","isAccessibleForFree":true,"featureList":["Weekly plan with a routine per weekday, or a rotation","Guided workouts with rest timer, supersets, warm-up and timed sets","Progression rules: linear, Greyskull LP, double progression","Estimated 1RM, activity heatmap, muscle balance and fatigue maps","Body-weight tracking with a goal line","Edit saved workouts, with photos and videos","Structural Balance between your lifts","Import from Hevy, Strong, FitNotes and Apple Health","Passkey login and multi-device sync when self-hosted","Standalone Android APK with no account","18 languages, including Arabic right-to-left","Optional AI coach on your own API key"],- "downloadUrl":"https://opengym.duarte-santos.ch/openGym.apk",+ "downloadUrl":"https://opengym.ch/openGym.apk","author":{"@type":"Person","name":"Duarte Santos","url":"https://duarte-santos.ch"},"sameAs":["https://github.com/DuarteSantos8/openGym","https://gitlab.com/DuarteSantos8/opengym","https://discord.gg/e62jY6fwVb"]}</script>diff --git a/website/llms.txt b/website/llms.txtindex 24e9fb6e0..ee6726566 100644--- a/website/llms.txt+++ b/website/llms.txt@@ -5,15 +5,15 @@> multi-device sync, PWA). No account required, no cloud, no telemetry.## Docs-- [Complete reference](https://opengym.duarte-santos.ch/docs.html): every feature, self-hosting, every .env setting, AI Coach, imports (FitNotes/Strong/Hevy/Apple Health), backups, MCP server, troubleshooting-- [HTTP API](https://opengym.duarte-santos.ch/api.html): OpenAPI spec, also at [openapi.yaml](https://opengym.duarte-santos.ch/openapi.yaml)+- [Complete reference](https://opengym.ch/docs.html): every feature, self-hosting, every .env setting, AI Coach, imports (FitNotes/Strong/Hevy/Apple Health), backups, MCP server, troubleshooting+- [HTTP API](https://opengym.ch/api.html): OpenAPI spec, also at [openapi.yaml](https://opengym.ch/openapi.yaml)- [README](https://raw.githubusercontent.com/DuarteSantos8/openGym/main/README.md): project overview in Markdown- [Documentation index](https://github.com/DuarteSantos8/openGym/blob/main/docs/README.md): every guide by audience, plus an [FAQ](https://raw.githubusercontent.com/DuarteSantos8/openGym/main/docs/FAQ.md)## Try & get it-- [Live demo](https://opengym.duarte-santos.ch/demo/): the real app with example data, in the browser-- [Android APK](https://opengym.duarte-santos.ch/openGym.apk): signed, sideloadable; SHA-256 next to it at openGym.apk.sha256 and on the GitHub release-- [About](https://opengym.duarte-santos.ch/about.html): the story and every release+- [Live demo](https://opengym.ch/demo/): the real app with example data, in the browser+- [Android APK](https://opengym.ch/openGym.apk): signed, sideloadable; SHA-256 next to it at openGym.apk.sha256 and on the GitHub release+- [About](https://opengym.ch/about.html): the story and every release## How it is built- Developed with Claude Code (Anthropic's coding agent); changes are reviewed, tested and released by the maintainer. The app itself needs no AI service; the AI coach and MCP server are optional.diff --git a/website/robots.txt b/website/robots.txtindex 397fc4aba..d982b4147 100644--- a/website/robots.txt+++ b/website/robots.txt@@ -1,4 +1,4 @@User-agent: *Allow: /-Sitemap: https://opengym.duarte-santos.ch/sitemap.xml+Sitemap: https://opengym.ch/sitemap.xmldiff --git a/website/sitemap.xml b/website/sitemap.xmlindex b05f054e7..5464809b4 100644--- a/website/sitemap.xml+++ b/website/sitemap.xml@@ -1,19 +1,19 @@<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url>- <loc>https://opengym.duarte-santos.ch/</loc>+ <loc>https://opengym.ch/</loc><lastmod>2026-10-07</lastmod></url><url>- <loc>https://opengym.duarte-santos.ch/docs.html</loc>+ <loc>https://opengym.ch/docs.html</loc><lastmod>2026-10-07</lastmod></url><url>- <loc>https://opengym.duarte-santos.ch/about.html</loc>+ <loc>https://opengym.ch/about.html</loc><lastmod>2026-10-07</lastmod></url><url>- <loc>https://opengym.duarte-santos.ch/api.html</loc>+ <loc>https://opengym.ch/api.html</loc><lastmod>2026-10-07</lastmod></url></urlset>