"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.
25 lines
1.2 KiB
Bash
Executable File
25 lines
1.2 KiB
Bash
Executable File
#!/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 — 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/
|
|
cp "$tmp"/videos/*.gif media/gif/
|
|
echo "✓ $(ls media/img | wc -l) images, $(ls media/gif | wc -l) GIFs"
|