openGym: Open-Source-Release als Self-Hosting-App

Rebranding GymLog → openGym. Ein-Befehl-Self-Hosting via Docker Compose:
web (nginx serviert App + Proxy /api → api, ein Origin für Passkeys), api
(Node/WebAuthn), media-Service lädt Übungs-GIFs beim ersten Start automatisch.
Passkey-Domain über .env konfigurierbar (RP_ID/ORIGIN/WEB_PORT/RP_NAME),
Secure-Cookie nur bei HTTPS (http://localhost funktioniert). MIT-Lizenz,
README fürs Self-Hosting, docs/SELF_HOSTING.md, CONTRIBUTING.md.

Standalone-Stack Ende-zu-Ende getestet (Passkey-Register/-Login, Daten-Sync,
User-Isolation über den Proxy auf http://localhost).
This commit is contained in:
Duarte Santos committed 2026-07-19 16:18:34 +02:00
1 parent 0a0f2a004f
commit 3333b4decd
15 files changed
+436 -71

No files matched your search

+5 -4
View File
@@ -1,12 +1,13 @@
#!/usr/bin/env bash
# Holt die Übungs-Bilder (JPG) und Animationen (GIF) aus dem Upstream-Dataset.
# Nicht im Repo, weil ~140 MB Binärdaten und 1:1 aus hasaneyldrm/exercises-dataset.
# Manually download the exercise images (JPG) and animations (GIF).
# You normally DON'T need this — `docker compose up` fetches them automatically.
# Use it only if you run the app without Docker. Source: hasaneyldrm/exercises-dataset (CC).
set -euo pipefail
cd "$(dirname "$0")/.."
tmp=$(mktemp -d)
tmp="$(mktemp -d)"
trap 'rm -rf "$tmp"' EXIT
git clone --depth 1 https://github.com/hasaneyldrm/exercises-dataset "$tmp"
mkdir -p app/img app/gif
cp "$tmp"/images/*.jpg app/img/
cp "$tmp"/videos/*.gif app/gif/
echo "OK: $(ls app/img | wc -l) Bilder, $(ls app/gif | wc -l) GIFs"
echo "✓ $(ls app/img | wc -l) images, $(ls app/gif | wc -l) GIFs"