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
Docs: openGym is back on GitHub — both repos carry the same history, releases and images
Duarte Santos53b46fde14e5
diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.ymlindex 7ec7b3ab6..36f495ee8 100644--- a/.github/workflows/pages.yml+++ b/.github/workflows/pages.yml@@ -1,9 +1,8 @@# Publishes the browser-only demo to GitHub Pages: https://duartesantos8.github.io/openGym/#-# DORMANT since 2026-08-19, when the GitHub account was suspended. The demo is now built with the-# same command below and served from the project's own site at https://opengym.duarte-santos.ch/demo/-# (Vite's base is './', so it drops into a subdirectory unchanged). Kept for the day the account-# comes back, exactly like the other workflows in this folder.+# 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.## 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/CHANGELOG.md b/CHANGELOG.mdindex f43dcde6a..c4b9e4bd5 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -52,6 +52,10 @@ see why. Web bundle and APK; the API image only for the payload change.list — speech, embeddings, image models, realtime and Responses-only variants — made it easy topick one Chat Completions refuses with a 400 or a 404. Compatible endpoints (Ollama, LM Studio,OpenRouter) stay unfiltered. The Gemini key field also names the new `AQ.` key prefix.+- 🏠 **openGym is back on GitHub.** The account suspension that took `github.com/DuarteSantos8/openGym`+ offline on 2026-08-19 is lifted. Everything that happened on GitLab in the meantime is there+ again: history, tags, the releases v1.2.9 to v1.3.5 with their APKs, the GHCR images and the+ GitHub Pages demo. GitLab stays as it is — both are read, both get every release.## v1.3.5 — 2026-09-06diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex d7ca8fbdd..2d6db4735 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -45,7 +45,9 @@ cd frontend && npm test## What CI does with your merge request-Every MR runs the three test suites (frontend, MCP, api), with the results and the coverage+A pull request on GitHub runs the three test suites (frontend, MCP, api) through GitHub Actions;+the image builds and the APK come from GitLab CI, so a change that needs those is easiest to+test as a merge request there. Every MR runs the three test suites (frontend, MCP, api), with the results and the coverageof your diff shown in the MR itself, plus a build of the web image and the api image when youtouched their inputs. The frontend job also prints how much your change adds to the gzippedbundle compared with main. The APK and the published images are manual jobs there (on@@ -71,12 +73,13 @@ here before, otherwise a maintainer presses "Run pipeline" after a first look at| You have | Goes to || --- | --- || A quick question, or you'd rather just chat | [The Discord](https://discord.gg/e62jY6fwVb) |-| A question, or self-hosting that won't behave | [An issue labelled `question`](https://gitlab.com/DuarteSantos8/opengym/-/issues) |-| An idea you're not sure about yet | [An issue labelled `idea`](https://gitlab.com/DuarteSantos8/opengym/-/issues) |-| A reproducible bug | [Issues](https://gitlab.com/DuarteSantos8/opengym/-/issues) |-| A change you've already built | A merge request |+| A question, or self-hosting that won't behave | An issue labelled `question` — [GitHub](https://github.com/DuarteSantos8/openGym/issues) or [GitLab](https://gitlab.com/DuarteSantos8/opengym/-/issues) |+| An idea you're not sure about yet | An issue labelled `idea` — [GitHub](https://github.com/DuarteSantos8/openGym/issues) or [GitLab](https://gitlab.com/DuarteSantos8/opengym/-/issues) |+| A reproducible bug | Issues — [GitHub](https://github.com/DuarteSantos8/openGym/issues) or [GitLab](https://gitlab.com/DuarteSantos8/opengym/-/issues) |+| A change you've already built | A pull request on GitHub or a merge request on GitLab — both are read |-GitLab has no Discussions, so questions and ideas are issues too — just labelled, so nobody+Questions and ideas are issues too (GitLab has no Discussions, and one tracker per platform is+enough) — just labelled, so nobodymistakes a question for agreed-on work. An answered question is worth more than the same answerin a chat log: the next person searching "passkey login fails behind my reverse proxy" finds it.That is the one thing the Discord can't do, so if an answer there turns out to be worth keeping,diff --git a/README.md b/README.mdindex 792815bab..c4cfaff48 100644--- a/README.md+++ b/README.md@@ -24,6 +24,8 @@ No account on someone else's server, no subscription, no ads. Just `docker compo[](https://gitlab.com/DuarteSantos8/opengym/-/releases)[](https://gitlab.com/DuarteSantos8/opengym/-/starrers)+[](https://github.com/DuarteSantos8/openGym/stargazers)+[](https://github.com/DuarteSantos8/openGym/actions/workflows/test.yml)[](https://gitlab.com/DuarteSantos8/opengym/-/issues)[](https://discord.gg/e62jY6fwVb)[](https://buymeacoffee.com/duartesantos)@@ -44,7 +46,7 @@ No account on someone else's server, no subscription, no ads. Just `docker compo<div align="center">-### [🌐 opengym.duarte-santos.ch](https://opengym.duarte-santos.ch) · [📦 Source on GitLab](https://gitlab.com/DuarteSantos8/opengym)+### [🌐 opengym.duarte-santos.ch](https://opengym.duarte-santos.ch) · [📦 Source on GitHub](https://github.com/DuarteSantos8/openGym) · [🦊 GitLab](https://gitlab.com/DuarteSantos8/opengym)Screenshots, docs and the APK download live on the site.<br><sub>Want to poke at it first? The <a href="https://opengym.duarte-santos.ch/demo/">in-browser@@ -110,7 +112,7 @@ as a home-screen app, passkey sign-in, offline support, sync across your phone aYou need [Docker](https://docs.docker.com/get-docker/) with Compose.```bash-git clone https://gitlab.com/DuarteSantos8/opengym+git clone https://github.com/DuarteSantos8/openGym # or https://gitlab.com/DuarteSantos8/opengym — same repocd openGymcp .env.example .envdocker compose pull # grab prebuilt images (amd64 + arm64) — skip to build from source instead@@ -127,8 +129,10 @@ the exercise media (~140 MB) once.> openGym's AGPL, and their ownership is currently disputed between Gym visual and ExerciseDB.> openGym ships none of it: your instance downloads it from upstream. Reusing it yourself,> commercially or not, means clearing it with the rights holder — see [NOTICE.md](NOTICE.md).- Prefer building the images yourself instead of pulling from-GitLab's registry? Drop the `pull` step and run `docker compose up -d --build` — you don't need Node or+The prebuilt images are published twice, from the same tag: `registry.gitlab.com/duartesantos8/opengym/{api,web}`+(what `docker-compose.yml` pulls) and `ghcr.io/duartesantos8/opengym-{api,web}` on GitHub — swap the+`image:` lines if you prefer GHCR. Prefer building the images yourself instead of pulling from a+registry? Drop the `pull` step and run `docker compose up -d --build` — you don't need Node ora build step locally either way.> Want it reachable from your phone over the internet with passkeys? You'll need an HTTPS@@ -142,7 +146,8 @@ backups. Self-hosting gets you multi-device sync and profiles for friends & famimobile app is the install-and-done flavor.- **Android:** [**download the APK**](https://opengym.duarte-santos.ch) — or straight from- [GitLab's package registry](https://gitlab.com/DuarteSantos8/opengym/-/packages), where every+ [GitLab's package registry](https://gitlab.com/DuarteSantos8/opengym/-/packages) or the+ [GitHub release](https://github.com/DuarteSantos8/openGym/releases/latest), where everybuild sits next to its `.sha256` — and sideload it; openGym is deliberately not on the PlayStore. Or build it yourself: **[docs/MOBILE.md](docs/MOBILE.md)**.- **iPhone:** Apple doesn't allow installing apps outside the App Store, so there is no iOS@@ -245,21 +250,25 @@ in the Docker build.- **[Discord](https://discord.gg/e62jY6fwVb)** — release announcements, self-hosting help andthe back-and-forth that would be a slow issue thread. Quickest way to get an answer.-- **[Issues](https://gitlab.com/DuarteSantos8/opengym/-/issues)** — bugs, questions, self-hosting- help and ideas. There are no Discussions here, so it all lives in one tracker: label a question+- **Issues** — on [GitHub](https://github.com/DuarteSantos8/openGym/issues) or+ [GitLab](https://gitlab.com/DuarteSantos8/opengym/-/issues), whichever you have an account on; both+ are read. Bugs, questions, self-hosting help and ideas all go there: label a question`question` and an idea `idea`, and it gets treated as one rather than as agreed-on work. Usean issue over the Discord for anything the next person should be able to find by searching.- **Login trouble?** Most of it is an `RP_ID`/`ORIGIN` mismatch — check[docs/SELF_HOSTING.md](docs/SELF_HOSTING.md) before opening an issue.-- **Merge requests** — [open one on GitLab](https://gitlab.com/DuarteSantos8/opengym/-/merge_requests); see+- **Pull / merge requests** — [on GitHub](https://github.com/DuarteSantos8/openGym/pulls) or+ [on GitLab](https://gitlab.com/DuarteSantos8/opengym/-/merge_requests); see[CONTRIBUTING.md](CONTRIBUTING.md).-> **On the GitHub repo:** `github.com/DuarteSantos8/openGym` is offline because the account was-> suspended. **GitLab is the home of the project** — same history, same tags, same releases, and-> the CI that builds the images and the APK runs there. (gitea.com/DuarteSantos/openGym was the-> first stopgap and is now only a mirror.) Old GitHub issue and PR numbers in-> [CHANGELOG.md](CHANGELOG.md) are kept as plain references; they don't map onto GitLab's-> numbering.+> **Two homes, one project.** `github.com/DuarteSantos8/openGym` was offline from 2026-08-19 to+> 2026-09-10 while the account was suspended, and the project moved to GitLab in the meantime. The+> account is back, and both repositories carry the same history, tags and releases: the container+> images are published to GitLab's registry and to GHCR, the signed APK is attached to the release+> on both sides. GitLab CI builds the release artefacts (images, APK, SBOMs); GitHub Actions runs the+> tests, builds the GHCR images and publishes the in-browser demo to GitHub Pages.+> (gitea.com/DuarteSantos/openGym is only a mirror.) In [CHANGELOG.md](CHANGELOG.md), `!NN` is+> always a GitLab merge request; `#NN` refers to whichever tracker the report came through.## Contributing@@ -270,8 +279,8 @@ openGym is free and stays free: AGPL, no subscription, no paid tier, nothing helsponsors. If it replaced a paid tracker for you and you want to chip in, there's a coffee buttonbelow (and a badge at the top) — a star, a bug report or a merge request is worth just as much.-<!-- GitLab has no Sponsor button the way GitHub's FUNDING.yml gave one, so the link has to- stand on its own here. .github/FUNDING.yml stays put for the day that account returns. -->+<!-- GitLab has no Sponsor button the way GitHub's FUNDING.yml gives one, so the link stands+ on its own here as well. --><a href="https://buymeacoffee.com/duartesantos" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png"diff --git a/docs/MOBILE.md b/docs/MOBILE.mdindex fe50f8496..32c475325 100644--- a/docs/MOBILE.md+++ b/docs/MOBILE.md@@ -85,7 +85,7 @@ accounts, no store rules, no yearly fees between you and an open-source app.### Android — sideload the APK-The official signed APK is in three places, all the same file:+The official signed APK is in four places, all the same file:- **[opengym.duarte-santos.ch](https://opengym.duarte-santos.ch)** — the download page.- **[GitLab's package registry](https://gitlab.com/DuarteSantos8/opengym/-/packages)** — every@@ -93,6 +93,8 @@ The official signed APK is in three places, all the same file:`https://gitlab.com/api/v4/projects/85678327/packages/generic/opengym-android/<version>/openGym-<version>.apk`- **[The GitLab release](https://gitlab.com/DuarteSantos8/opengym/-/releases)** for that version,which links to the two above.+- **[The GitHub release](https://github.com/DuarteSantos8/openGym/releases)** for that version,+ with the APK and its `.sha256` attached as release assets.Android asks you to allow installs from the browser the first time — that's standard for anyapp outside the Play Store. Check the `.sha256` if you got the file from anywhere else.diff --git a/docs/SELF_HOSTING.md b/docs/SELF_HOSTING.mdindex f67fb301c..c639d8d82 100644--- a/docs/SELF_HOSTING.md+++ b/docs/SELF_HOSTING.md@@ -8,10 +8,10 @@ This guide takes you from "just cloned it" to "using it from my phone over the iRequirements: [Docker](https://docs.docker.com/get-docker/) with the Compose plugin.```bash-git clone https://gitlab.com/DuarteSantos8/opengym+git clone https://github.com/DuarteSantos8/openGym # or https://gitlab.com/DuarteSantos8/opengym — same repocd openGymcp .env.example .env-docker compose pull # prebuilt images from GitLab (amd64 + arm64) — or skip and build from source+docker compose pull # prebuilt images from GitLab's registry (amd64 + arm64; the same images are on ghcr.io) — or skip and build from sourcedocker compose up -d```