6916e5b8088f6966aaadddba1428dc8e7043bb98
## Changes: **Frontend:** - Fix double icon in rest day list (removed icons from FOCUS_LABELS) - Icon now shows once with proper styling **Migration 011:** - Remove UNIQUE constraint (profile_id, date) from rest_days - Allow multiple rest day types per date - Use case: Muscle recovery + Mental rest same day **Architecture: Development Routes** New document: `.claude/docs/functional/DEVELOPMENT_ROUTES.md` 6 Independent Development Routes: - 💪 Kraft (Strength): Muscle, power, HIIT - 🏃 Kondition (Conditioning): Cardio, endurance, VO2max - 🧘 Mental: Stress, focus, competition readiness - 🤸 Koordination (Coordination): Balance, agility, technique - 🧘♂️ Mobilität (Mobility): Flexibility, ROM, fascia - 🎯 Technik (Technique): Sport-specific skills Each route has: - Independent rest requirements - Independent training plans - Independent progress tracking - Independent goals & habits **Future (v9e):** - Route-based weekly planning - Multi-route conflict validation - Auto-rest on poor recovery - Route balance analysis (KI) **Future (v9g):** - Habits per route (route_habits table) - Streak tracking per route - Dashboard route-habits widget **Backlog Updated:** - v9d: Rest days ✅ (in testing) - v9e: Development Routes & Weekly Planning (new) - v9g: Habits per Route (extended) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
BodyTrack
Körpervermessung & Körperfett Tracker – selbst gehostet, PWA-fähig.
Features
- Umfänge & Caliper-Messungen (4 Methoden) mit Verlauf
- Abgeleitete Werte: WHR, WHtR, FFMI, Magermasse
- Verlaufsdiagramme (Gewicht, KF%, Taille, …)
- KI-Interpretationen via Claude (Anthropic)
- Fortschrittsfotos mit Galerie
- PDF & CSV Export
- PWA – installierbar auf iPhone-Homescreen
- Alle Daten lokal auf deinem Server (SQLite)
Schnellstart
1. Voraussetzungen
# Docker & Docker Compose installieren (Ubuntu)
curl -fsSL https://get.docker.com | sh
sudo usermod -aG docker $USER
# Neu einloggen
2. Projekt klonen / kopieren
mkdir ~/bodytrack && cd ~/bodytrack
# Dateien hierher kopieren
3. API Key setzen
cp .env.example .env
nano .env
# ANTHROPIC_API_KEY=sk-ant-... eintragen
4. Starten
docker compose up -d
App läuft auf: http://DEINE-IP:3000
5. iPhone – Als App installieren
- Safari öffnen →
http://DEINE-IP:3000 - Teilen-Button (□↑) → „Zum Home-Bildschirm"
- BodyTrack erscheint als App-Icon
6. Von außen erreichbar (optional)
# Tailscale (einfachste Lösung – VPN zu deinem MiniPC)
curl -fsSL https://tailscale.com/install.sh | sh
sudo tailscale up
# Dann: http://TAILSCALE-IP:3000
Updates
docker compose pull
docker compose up -d --build
Backup
# Datenbank & Fotos sichern
docker run --rm -v bodytrack-data:/data -v bodytrack-photos:/photos \
-v $(pwd):/backup alpine \
tar czf /backup/bodytrack_backup_$(date +%Y%m%d).tar.gz /data /photos
Konfiguration
| Variable | Beschreibung | Standard |
|---|---|---|
ANTHROPIC_API_KEY |
Claude API Key (für KI-Analyse) | – |
Ports
| Port | Dienst |
|---|---|
| 3000 | Frontend (Nginx) |
| 8000 | Backend API (intern) |
Releases
5
Languages
Python
59.7%
JavaScript
38.1%
CSS
0.9%
PLpgSQL
0.9%
Shell
0.4%