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
Lizenz der Uebungsmedien richtiggestellt: MIT-Metadaten, Bilder (c) Gym visual
Duarte Santos6dfb36c46a0e
diff --git a/NOTICE.md b/NOTICE.mdindex 83989602c..0ab75518e 100644--- a/NOTICE.md+++ b/NOTICE.md@@ -46,11 +46,54 @@ SOFTWARE.## Exercise data & media-The exercise names, instructions (English in `frontend/src/lib/exercises-data.js`, other-languages in `frontend/src/instr/`, regenerated via `scripts/build-instructions.mjs`), images-and animations (fetched into `media/` at build time) come from-[**hasaneyldrm/exercises-dataset**](https://github.com/hasaneyldrm/exercises-dataset)-and are **not** covered by openGym's AGPL license — they remain under that dataset's own terms.-The media files are not distributed in this repository; they are downloaded from the upstream-source on first run. If you redistribute openGym with the media included, review the upstream-license first.+Both come from [**hasaneyldrm/exercises-dataset**](https://github.com/hasaneyldrm/exercises-dataset),+and that dataset licenses them differently. Neither is covered by openGym's AGPL license.++### Metadata & instruction text — MIT++The exercise names, attributes and instructions (English in `frontend/src/lib/exercises-data.js`,+other languages in `frontend/src/instr/`, regenerated via `scripts/build-instructions.mjs`) are+MIT-licensed, reproduced below.++```+MIT License++Copyright (c) 2026 Hasan Emir Yıldırım++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation and data files (the "Software"),+to deal in the Software without restriction, including without limitation the+rights to use, copy, modify, merge, publish, distribute, sublicense, and/or+sell copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.+```++### Images & animations — © Gym visual, not MIT and not AGPL++> **© Gym visual — https://gymvisual.com/**++The exercise thumbnails (180×180) and animations are **© [Gym visual](https://gymvisual.com/)**.+They are in the upstream dataset with the rights holder's written permission, granted to that+dataset; that permission is **not transferable**. Their use is governed by Gym visual's+[Terms & Conditions](https://gymvisual.com/content/3-terms-and-conditions-of-use) — not by the MIT+license above, and not by openGym's AGPL.++**openGym does not redistribute this media.** It is not in this repository, not in its history,+and not in the published Docker images or the Android APK. A self-hosted instance downloads it+from the upstream source on first `docker compose up`; the mobile and demo builds load it from a+CDN at runtime.++If you want to reuse the media — in openGym or anywhere else, commercially or not — **obtain your+own license from Gym visual first**, and keep the `© Gym visual — https://gymvisual.com/`+attribution intact wherever it appears.diff --git a/README.md b/README.mdindex a060feee3..406e76ce2 100644--- a/README.md+++ b/README.md@@ -100,7 +100,16 @@ docker compose up -d```Open **http://localhost:8080**, tap **Create profile**, and you're in. First launch downloads-the exercise media (~140 MB) once. Prefer building the images yourself instead of pulling from+the exercise media (~140 MB) once.++> **About that media:** it comes from+> [hasaneyldrm/exercises-dataset](https://github.com/hasaneyldrm/exercises-dataset), whose+> metadata and instruction text are MIT — but whose images and animations are+> **© [Gym visual](https://gymvisual.com/)**, used under that dataset's terms and *not* under+> openGym's AGPL. openGym ships none of it: your instance downloads it from upstream. Reusing it+> yourself, commercially or not, needs your own licence from Gym visual — see+> [NOTICE.md](NOTICE.md).+ Prefer building the images yourself instead of pulling from`gitea.com`? Drop the `pull` step and run `docker compose up -d --build` — you don't need Node ora build step locally either way.@@ -187,7 +196,8 @@ Rough, community-driven — ideas and PRs welcome:## TechReact 19 + Vite (React Router, Zustand) · Node (no framework) · nginx · Docker Compose ·-WebAuthn · exercise data from [hasaneyldrm/exercises-dataset](https://github.com/hasaneyldrm/exercises-dataset).+WebAuthn · exercise data from [hasaneyldrm/exercises-dataset](https://github.com/hasaneyldrm/exercises-dataset)+(MIT metadata and instructions; media © Gym visual — see [License](#license)).No database server, no cloud dependencies — the frontend builds inside Docker, so self-hostingstays a one-command `docker compose up`.@@ -232,8 +242,18 @@ top of the page is there — a star, a bug report or a PR is worth just as much.## License-[GNU AGPL v3.0](LICENSE) — free and open source. You can self-host, use, modify and share it;-if you run a modified version as a network service, you must offer that version's source under-the same license. Nobody can turn openGym into a closed, proprietary product.--Exercise images/GIFs are fetched from the upstream dataset and keep their own terms — see [NOTICE.md](NOTICE.md).+**openGym's own code** is [GNU AGPL v3.0](LICENSE) — free and open source. You can self-host,+use, modify and share it; if you run a modified version as a network service, you must offer that+version's source under the same license. Nobody can turn openGym into a closed, proprietary+product.++**Third-party content is not, and openGym cannot sublicense it.** The exercise metadata and+instruction text come from+[hasaneyldrm/exercises-dataset](https://github.com/hasaneyldrm/exercises-dataset) under the+**MIT** license. The exercise images and animations are **© [Gym visual](https://gymvisual.com/)**+and are used under that dataset's terms — openGym does not redistribute them (your instance+fetches them at first run) and does not relicense them under the AGPL. To reuse that media+yourself, get your own licence from Gym visual+([terms](https://gymvisual.com/content/3-terms-and-conditions-of-use)).++Full third-party notices, including the body-diagram geometry: **[NOTICE.md](NOTICE.md)**.diff --git a/docker-compose.yml b/docker-compose.ymlindex 3da2b2ff7..bf63ca85c 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -2,7 +2,10 @@ name: opengymservices:# One-time: download the exercise images + GIFs into ./media (skipped if already there).- # ~140 MB, from github.com/hasaneyldrm/exercises-dataset (CC).+ # ~140 MB, from github.com/hasaneyldrm/exercises-dataset. That dataset is MIT for the+ # metadata and instruction text, but the images and GIFs are © Gym visual+ # (https://gymvisual.com/) and are used under the dataset's terms — openGym neither+ # redistributes nor relicenses them. See NOTICE.md.media:image: alpine/gitvolumes:@@ -13,6 +16,14 @@ services:- |if [ -z "$$(ls -A /out/img 2>/dev/null)" ]; thenecho "↓ Downloading exercise media (~140 MB, one time)…"+ echo " Source: github.com/hasaneyldrm/exercises-dataset"+ echo " Metadata and instruction text: MIT."+ echo " Images and animations: © Gym visual — https://gymvisual.com/"+ echo " They are used under that dataset's terms, not openGym's AGPL, and are"+ echo " downloaded from upstream — openGym does not redistribute them."+ echo " Terms: https://gymvisual.com/content/3-terms-and-conditions-of-use"+ echo " Reusing this media yourself, commercially or not, needs your own licence"+ echo " from Gym visual. Details in NOTICE.md."git clone --depth 1 https://github.com/hasaneyldrm/exercises-dataset /tmp/dscp /tmp/ds/images/*.jpg /out/img/ && cp /tmp/ds/videos/*.gif /out/gif/echo "✓ Exercise media ready ($$(ls /out/img | wc -l) images)."diff --git a/frontend/src/views/Settings.jsx b/frontend/src/views/Settings.jsxindex ed867fe48..c1a28bbf4 100644--- a/frontend/src/views/Settings.jsx+++ b/frontend/src/views/Settings.jsx@@ -196,7 +196,8 @@ export default function Settings() {<div className="dim small" style={{ textAlign: 'center', marginTop: 4, lineHeight: 1.6 }}>openGym · {t('free & open source (AGPL v3)')}<br />- <a href="https://gitea.com/DuarteSantos/openGym" target="_blank" rel="noopener">source code</a> · exercise data: hasaneyldrm/exercises-dataset (CC)+ <a href="https://gitea.com/DuarteSantos/openGym" target="_blank" rel="noopener">source code</a> · exercise data: hasaneyldrm/exercises-dataset (MIT)<br />+ exercise images and animations © <a href="https://gymvisual.com/" target="_blank" rel="noopener">Gym visual</a></div></div>}diff --git a/scripts/fetch-media.sh b/scripts/fetch-media.shindex 1fba9c9d4..81b3f2f5e 100755--- a/scripts/fetch-media.sh+++ b/scripts/fetch-media.sh@@ -1,11 +1,22 @@#!/usr/bin/env bash# Manually download the exercise images (JPG) and animations (GIF) into ./media.# You normally DON'T need this — `docker compose up` fetches them automatically.-# Source: hasaneyldrm/exercises-dataset (CC).+# Source: hasaneyldrm/exercises-dataset — MIT for the metadata and instruction text, but the+# images and GIFs are © Gym visual (https://gymvisual.com/), used under that dataset's terms.+# openGym does not redistribute or relicense them. See NOTICE.md.set -euo pipefailcd "$(dirname "$0")/.."tmp="$(mktemp -d)"trap 'rm -rf "$tmp"' EXIT+cat <<'EOF'+↓ Downloading exercise media (~140 MB) from github.com/hasaneyldrm/exercises-dataset+ Metadata and instruction text: MIT.+ Images and animations: © Gym visual — https://gymvisual.com/+ Used under that dataset's terms, not openGym's AGPL; openGym does not redistribute them.+ Terms: https://gymvisual.com/content/3-terms-and-conditions-of-use+ Reusing this media yourself, commercially or not, needs your own licence from Gym visual.+ Details in NOTICE.md.+EOFgit clone --depth 1 https://github.com/hasaneyldrm/exercises-dataset "$tmp"mkdir -p media/img media/gifcp "$tmp"/images/*.jpg media/img/diff --git a/website/docs.html b/website/docs.htmlindex 5b60940fc..b6cdafdfe 100644--- a/website/docs.html+++ b/website/docs.html@@ -183,8 +183,15 @@ docker compose up -d</code></pre>own hardware, synced across devices, with profiles for the people you train with: self-host.You can start with the app and move to a server later — the backup file migrates everything.</p><h3>Where does the exercise database come from?</h3>- <p>From <a href="https://github.com/hasaneyldrm/exercises-dataset" rel="noopener">hasaneyldrm/exercises-dataset</a>- (CC-licensed): 1,324 exercises with animations and instructions in 10 languages.</p>+ <p>From <a href="https://github.com/hasaneyldrm/exercises-dataset" rel="noopener">hasaneyldrm/exercises-dataset</a>:+ 1,324 exercises with animations and instructions in 10 languages. That dataset licenses the two+ halves differently, and so does openGym: the exercise metadata and instruction text are+ <b>MIT</b>, while the images and animations are+ <b>© <a href="https://gymvisual.com/" rel="noopener">Gym visual</a></b>, used under the+ dataset's terms rather than openGym's AGPL.</p>+ <p>openGym does not redistribute that media — your instance downloads it from the upstream source on+ first run. If you want to reuse it yourself, commercially or otherwise, get your own licence from+ Gym visual first (<a href="https://gymvisual.com/content/3-terms-and-conditions-of-use" rel="noopener">terms & conditions</a>).</p></main><footer><div class="wrap foot">