Skip to content

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.

Den signierten APK auf GitLab legen und von README und MOBILE.md verlinken

Duarte Santos24b61c2411bc
diff --git a/README.md b/README.md
index bb84e099b..88e966487 100644
--- a/README.md
+++ b/README.md
@@ -126,8 +126,10 @@ no backend — everything stays on the phone, with native workout-day reminders
backups. Self-hosting gets you multi-device sync and profiles for friends & family; the
mobile app is the install-and-done flavor.
-- **Android:** [**download the APK**](https://opengym.duarte-santos.ch) and sideload it —
- openGym is deliberately not on the Play Store. Or build it yourself: **[docs/MOBILE.md](docs/MOBILE.md)**.
+- **Android:** [**download the APK**](https://opengym.duarte-santos.ch) — or straight from
+ [GitLab's package registry](https://gitlab.com/DuarteSantos8/opengym/-/packages), where every
+ build sits next to its `.sha256` — and sideload it; openGym is deliberately not on the Play
+ Store. 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
download. Self-host and add it to your home screen from Safari (it's a full PWA), or build
the native app onto your own device from Xcode — see **[docs/MOBILE.md](docs/MOBILE.md)**.
diff --git a/docs/MOBILE.md b/docs/MOBILE.md
index fcf417386..4aeeb1034 100644
--- a/docs/MOBILE.md
+++ b/docs/MOBILE.md
@@ -61,11 +61,17 @@ accounts, no store rules, no yearly fees between you and an open-source app.
### Android — sideload the APK
-The official signed APK is at **[opengym.duarte-santos.ch](https://opengym.duarte-santos.ch)**
-and, for every release, on the
-**[GitLab releases page](https://gitlab.com/DuarteSantos8/opengym/-/releases)**.
+The official signed APK is in three 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
+ build 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`
+- **[The GitLab release](https://gitlab.com/DuarteSantos8/opengym/-/releases)** for that version,
+ which links to the two above.
+
Android asks you to allow installs from the browser the first time — that's standard for any
-app outside the Play Store.
+app outside the Play Store. Check the `.sha256` if you got the file from anywhere else.
Both come out of CI: the `build:apk` job in [`.gitlab-ci.yml`](../.gitlab-ci.yml) runs
`npm run build:mobile` and `./gradlew assembleRelease`, then `zipalign`s and signs the result