Lizenz der Uebungsmedien richtiggestellt: MIT-Metadaten, Bilder (c) Gym visual

"exercise data from hasaneyldrm/exercises-dataset (CC)" stand ueberall -- im
README, in NOTICE.md, auf der Website, in den Settings, im compose-File und im
fetch-Script. Der Upstream lizenziert aber zwei Haelften unterschiedlich: Namen,
Attribute und Anleitungstexte sind MIT, die Bilder und GIFs sind (c) Gym visual
und liegen dort mit einer nicht uebertragbaren Erlaubnis.

- NOTICE.md trennt die beiden Teile, zitiert die MIT-Lizenz im Wortlaut und
  nennt die Gym-visual-Terms
- README/Website/Settings sagen jetzt MIT + (c) Gym visual statt "CC"
- compose und fetch-media.sh drucken die Herkunft beim Download, damit es auch
  sieht, wer die Doku nicht liest

An der Nutzung von openGym aendert das nichts: die Medien lagen nie im Repo, in
der History, im Image oder im APK -- jede Instanz laedt sie beim ersten Start
vom Upstream. An der Weiterverwendung der Medien schon: dafuer braucht es eine
eigene Lizenz von Gym visual.
This commit is contained in:
Duarte Santos committed 2026-08-22 15:32:04 +02:00
1 parent c588d219ba
commit 6dfb36c46a
6 files changed
+112 -19

No files matched your search

+51 -8
View File
@@ -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.
+26 -6
View File
@@ -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 or
a build step locally either way.
@@ -187,7 +196,8 @@ Rough, community-driven — ideas and PRs welcome:
## Tech
React 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-hosting
stays 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.
**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.
Exercise images/GIFs are fetched from the upstream dataset and keep their own terms — see [NOTICE.md](NOTICE.md).
**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)**.
+12 -1
View File
@@ -2,7 +2,10 @@ name: opengym
services:
# 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/git
volumes:
@@ -13,6 +16,14 @@ services:
- |
if [ -z "$$(ls -A /out/img 2>/dev/null)" ]; then
echo "↓ 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/ds
cp /tmp/ds/images/*.jpg /out/img/ && cp /tmp/ds/videos/*.gif /out/gif/
echo "✓ Exercise media ready ($$(ls /out/img | wc -l) images)."
+2 -1
View File
@@ -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>
}
+12 -1
View File
@@ -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 pipefail
cd "$(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.
EOF
git clone --depth 1 https://github.com/hasaneyldrm/exercises-dataset "$tmp"
mkdir -p media/img media/gif
cp "$tmp"/images/*.jpg media/img/
+9 -2
View File
@@ -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&nbsp;&amp;&nbsp;conditions</a>).</p>
</main>
<footer><div class="wrap foot">