diff --git a/LIESMICH.md b/LIESMICH.md new file mode 100644 index 0000000..c0aa203 --- /dev/null +++ b/LIESMICH.md @@ -0,0 +1,149 @@ +

+ LevelRep Logo +

+ +

LevelRep

+

Konzept- & Planungs-Repository für eine lokale Multi-Profil-Bodyweight-Workout-App mit Gyro-Kalibrierung und 30-Tage-Progression.

+ +

+ 🇬🇧 English · 🇩🇪 Deutsch +

+ +--- + +## Überblick + +> **Hinweis — reines Planungs-Repository:** Dieses Repository enthält aktuell **ausschließlich Konzept-, Progressions- und Planungsdokumente** — es existiert **noch kein App-Quellcode**. + +**LevelRep** ist eine geplante Bodyweight-Workout-App mit mehreren lokalen Nutzerprofilen auf einem Gerät. Nach der Profil- und Übungsauswahl kalibriert die App den Bewegungssensor individuell auf den Nutzer und führt durch einen strukturierten 30-Tage-Trainingsplan mit Satzpausen, optionalem Max-Rep-Satz sowie einem übungsspezifischen EXP- und Levelsystem. + +### Vorhandene Planungsdokumente + +- [`idee.md`](idee.md) — Grundidee, Übungen, Profilfelder, Gyrosensor-Kalibrierung, Trainingssystem, Pausen, Max-Rep, Levelsystem (getrennt vom Tier) und der 13-schrittige App-Ablauf. +- [`progress.md`](progress.md) — Vollständiger 30-Tage-Trainingsplan inklusive exakter Progressionstabellen (Einheit 1–13 für `Beginner`, `Fortgeschritten` und `Pro`) für alle vier Kernübungen. +- [`offene-fragen.md`](offene-fragen.md) — Lebendes Decision-Memo (Stand: `24.08.2026`) zu 14 offenen Design- und Technik-Themen mit Empfehlungen (`✅`), offenen Entscheidungen (`⚠️`), Diskussionspunkten (`💬`) und explizit ausgeklammerten Punkten (`❌`). + +--- + +## Funktionen + +### Geplantes Kernkonzept ([`idee.md`](idee.md) & [`progress.md`](progress.md)) + +- **Kernübungen mit Farbcodierung**: + - **Liegestütze** → Rot + - **Kniebeugen** → Blau + - **Klimmzüge** → Grün + - **Sit-ups** → Gelb + - *Geplante Erweiterungen*: **Dips** (in `offene-fragen.md` für v1.0 in Cyan/Lila vorgeschlagen) sowie spätere Ergänzungen. +- **Lokale Multi-Profil-Verwaltung**: + - Beim Anlegen eines Profils werden **Name**, **Größe**, **Gewicht** und **Aktivitätslevel** erfasst. + - Trainingsdaten, Level, Fortschritt und Kalibrierungen werden **pro Profil separat gespeichert**. +- **Gyrosensor-Kalibrierung pro Profil & Übung**: + - Startet automatisch bei der ersten Auswahl einer Übung. + - Stellt den Gyrosensor individuell auf Nutzer, Übung und Bewegungsablauf ein und speichert die Kalibrierung getrennt pro Profil und Übung. +- **30-Tage-Trainingsplan**: + - 30 Tage pro Plan mit **13 Trainingseinheiten** an den Tagen `1, 3, 5, 8, 10, 12, 15, 17, 19, 22, 24, 26, 29`; alle übrigen Tage sind Regenerationstage. + - **4 reguläre Sätze** pro Einheit mit übungsspezifischen Progressionskurven in **3 Tiers**: `Beginner`, `Fortgeschritten` und `Pro`. + - Eine Einheit gilt erst als bestanden, wenn alle regulären Wiederholungen geschafft wurden; bei Nichtbestehen wird dieselbe Einheit beim nächsten Training wiederholt. +- **Pausen-Management**: Standardmäßig **60 Sekunden Satzpause**, manuell bis auf mindestens **5 Sekunden** verkürzbar (Schwierigkeit skaliert über Sätze, Wiederholungen und Progression, nicht über kürzere Standardpausen). +- **Optionaler Max-Rep**: Wird nach dem letzten regulären Satz angeboten (so viele Wiederholungen wie möglich ohne Vorgabe), kann übersprungen werden, wird separat gespeichert und zählt nicht zum Bestehen der Einheit. +- **Getrenntes Level- & Tier-System**: + - **Tier** = Trainingsstufe (`Beginner` / `Fortgeschritten` / `Pro`). + - **Level** = Fortschritt über **EXP**, jeweils **eigenständig pro Übung** (z. B. Liegestütze Level 12, Kniebeugen Level 18, Klimmzüge Level 6, Sit-ups Level 14). + +### Offene Fragen & vorgeschlagene Erweiterungen ([`offene-fragen.md`](offene-fragen.md)) + +Das Decision-Memo formuliert Empfehlungen (noch nicht final in `idee.md`/`progress.md` festgeschrieben) zu: +- **EXP- & Level-Formel (offen/vorgeschlagen)**: `EXP = sum(Wiederholungen) × Tier-Multiplikator` (`1.0` / `1.5` / `2.0`), `+5` Disziplin-Bonus ohne Pausenverkürzung, quadratische Levelkurve `Level n → (n-1)² × 100 EXP` und Tier-Level-Caps (`10` / `20` / `∞`). +- **Tier-Aufstieg (vorgeschlagen)**: Manuelle Wahl mit App-Empfehlung; Aufstieg erst nach allen 13 Einheiten, Erreichen des Tier-Level-Caps und Überschreiten einer Max-Rep-Schwelle in mindestens 3 der letzten 5 Einheiten. +- **Sensorik & Fallbacks (vorgeschlagen)**: Kombination aus Accelerometer + Gyroskop mit 5 Referenzwiederholungen (3 per Skip), manueller `+1`/`-1`-Korrektur pro Satz sowie manuellem Tap-Counter-Fallback bei Sensor-Ausfall oder `<15 %` Akku. +- **Profile, Statistiken & Gamification (vorgeschlagen)**: Max. 8 Profile mit Emoji-Avatar, JSON-Export/Import, 30-Einheiten-Verlaufschart, Streak-Tracking, Trainings-Tagebuch und kosmetischen Badges (ohne Cloud-Zwang oder Leaderboard in v1.0). + +--- + +## Funktionsweise & Tech-Stack + +### Geplanter App-Ablauf ([`idee.md`](idee.md)) + +1. App starten → vorhandenes Profil wählen oder neues Profil erstellen (`Name`, `Größe`, `Gewicht`, `Aktivitätslevel`). +2. Hauptmenü: farbcodierte Übung auswählen (`Liegestütze`, `Kniebeugen`, `Klimmzüge`, `Sit-ups`). +3. Kalibrierungsstatus für Profil + Übung prüfen: + - Noch nicht kalibriert → **Kalibrierungsmodus** (Gyro auf Nutzer & Übung einstellen, speichern). + - Bereits kalibriert → direkt zur Trainingsauswahl. +4. **Tier** auswählen (`Beginner`, `Fortgeschritten`, `Pro`) und aktuelle Trainingseinheit anzeigen (z. B. `3 - 4 - 4 - 3`, 60 s Pause). +5. Die 4 regulären Sätze mit Bewegungserkennung und anpassbarem Pausentimer (60 s bis min. 5 s) absolvieren. +6. Optionalen **Max-Rep** nach dem letzten regulären Satz durchführen oder überspringen. +7. Training abschließen: Einheit speichern, EXP vergeben, Übungs-Level aktualisieren, Fortschritt sichern und nächste Einheit freischalten (wenn bestanden). + +### Vorgeschlagener Tech-Stack ([`offene-fragen.md`](offene-fragen.md) — noch nicht implementiert) + +Da noch kein Code existiert, schlägt [`offene-fragen.md`](offene-fragen.md) folgenden Stack für v1.0 vor: + +| Bereich | Vorgeschlagene Technologie / Anforderung | Status | +| :--- | :--- | :--- | +| Framework | **Flutter** (eine Codebase für iOS & Android) | Vorschlag (`✅` in `offene-fragen.md`) | +| Datenhaltung | Lokales **SQLite** (Offline-First) + JSON-Export/Import | Vorschlag (`✅` in `offene-fragen.md`) | +| Hardware / OS | **Accelerometer + Gyroskop**; iOS 14+ / Android 8+ | Vorschlag (`✅` in `offene-fragen.md`) | +| Lokalisierung | Deutsch + Englisch (i18n-fähig), Dark Mode (System-Follow) | Vorschlag (`✅` in `offene-fragen.md`) | +| Halterung | Brustgurt (Klimmzüge/Liegestütze), Oberschenkel (Kniebeugen), Boden (Sit-ups) | Vorschlag (`✅` in `offene-fragen.md`) | + +--- + +## Voraussetzungen & Installation + +Da es sich aktuell um ein **Konzept- und Planungs-Repository** handelt, gibt es noch keinen Build-Prozess und keine Installation. Um die Planungsdokumente lokal zu lesen oder zu bearbeiten: + +```bash +git clone https://git.orfel.de/Mexx/LevelRep.git +cd LevelRep +``` + +Danach können [`idee.md`](idee.md), [`progress.md`](progress.md) und [`offene-fragen.md`](offene-fragen.md) in jedem Markdown-Viewer oder Editor geöffnet werden. + +--- + +## Konfiguration + +Es existieren noch keine Laufzeitkonfigurationen, Umgebungsvariablen oder `.env`-Dateien. + +Geplante lokale Einstellungen laut [`offene-fragen.md`](offene-fragen.md) umfassen: +- Profildaten (`Name`, `Größe`, `Gewicht`, `Aktivitätslevel`, Emoji-Avatar) +- Kalibrierungsdaten pro Profil und Übung inklusive manueller Re-Kalibrierung +- Optionale Benachrichtigungen (Trainingstage & Regeneration), Sound-/Haptik-Schalter, Dark Mode und Sprachwahl (DE/EN) + +--- + +## Nutzung + +Dieses Repository dient als lebende Spezifikation und Entscheidungsgrundlage für die Entwicklung von **LevelRep**: + +- **Grundkonzept**: [`idee.md`](idee.md) beschreibt die abgestimmten Mechaniken und den 13-schrittigen App-Ablauf. +- **Progressionstabellen**: [`progress.md`](progress.md) enthält die exakten Wiederholungszahlen für Einheit 1–13 in allen drei Tiers (`Beginner`, `Fortgeschritten`, `Pro`): + +| Übung | Farbe | Beginner (Einheit 1 → 13) | Fortgeschritten (Einheit 1 → 13) | Pro (Einheit 1 → 13) | +| :--- | :--- | :--- | :--- | :--- | +| **Liegestütze** | Rot | `2-3-2-2` → `8-9-6-5` | `8-10-7-7` → `17-21-14-13` | `15-18-13-13` → `31-39-26-25` | +| **Kniebeugen** | Blau | `5-6-5-5` → `13-18-13-14` | `12-15-10-10` → `30-37-22-22` | `20-25-18-18` → `45-58-41-41` | +| **Klimmzüge** | Grün | `1-1-1-1` → `4-4-4-4` | `3-4-3-3` → `7-9-7-7` | `6-8-6-6` → `13-17-12-12` | +| **Sit-ups** | Gelb | `3-4-3-3` → `10-12-9-9` | `9-11-8-8` → `22-27-19-19` | `15-18-13-13` → `34-42-30-30` | + +- **Offene Punkte klären**: Entscheidungen aus [`offene-fragen.md`](offene-fragen.md) nach Klärung in `idee.md` oder `progress.md` überführen und dort abhaken. + +--- + +## Projektstruktur + +```text +LevelRep/ +├── assets/ +│ └── logo.png # LevelRep-Logo +├── idee.md # Grundkonzept, Übungen, Profile, Kalibrierung & App-Ablauf +├── offene-fragen.md # Offene Fragen, Standardvorschläge & v1.0/v1.x/v2.0-Roadmap +└── progress.md # 30-Tage-Plan & vollständige Progressionstabellen (4 Übungen) +``` + +--- + +## Lizenz + +Privates / internes Projekt (in diesem Repository ist keine Lizenzdatei enthalten). diff --git a/README.md b/README.md new file mode 100644 index 0000000..eaafeb8 --- /dev/null +++ b/README.md @@ -0,0 +1,149 @@ +

+ LevelRep Logo +

+ +

LevelRep

+

Concept & planning repository for a local multi-profile bodyweight workout app with gyro calibration and 30-day progression.

+ +

+ 🇬🇧 English · 🇩🇪 Deutsch +

+ +--- + +## Overview + +> **Note — Planning Repository Only:** This repository currently contains **concept, progression, and design documentation only** — there is **no application source code yet**. + +**LevelRep** is a planned bodyweight workout mobile application supporting multiple local user profiles on a single device. After selecting a profile and an exercise, the app calibrates the smartphone's motion sensors to the individual user and guides them through a structured 30-day progressive training plan with set rest timers, optional Max-Rep sets, and an exercise-specific EXP/level system. + +### Existing Planning Documents + +- [`idee.md`](idee.md) — Core app idea, exercise list, local profiles, gyro calibration, training/pause/Max-Rep rules, level vs. tier separation, and the 13-step app user flow. +- [`progress.md`](progress.md) — Full 30-day workout schedule and exact progression tables (Sessions 1–13 across `Beginner`, `Fortgeschritten`, and `Pro`) for all four core exercises. +- [`offene-fragen.md`](offene-fragen.md) — Living decision memo (status: `24.08.2026`) documenting 14 open design and technical topics with proposed defaults (`✅`), open decisions (`⚠️`), discussion points (`💬`), and out-of-scope items (`❌`). + +--- + +## Features + +### Planned Core Concept ([`idee.md`](idee.md) & [`progress.md`](progress.md)) + +- **Core Exercises with Color Coding**: + - **Push-ups (`Liegestütze`)** → Red (`Rot`) + - **Squats (`Kniebeugen`)** → Blue (`Blau`) + - **Pull-ups (`Klimmzüge`)** → Green (`Grün`) + - **Sit-ups (`Sit-ups`)** → Yellow (`Gelb`) + - *Planned addition*: **Dips** (proposed for v1.0 in `offene-fragen.md`, Cyan/Purple) and future expandable exercises. +- **Multi-Profile Local Storage**: + - Profiles record **Name**, **Height (`Größe`)**, **Weight (`Gewicht`)**, and **Activity Level (`Aktivitätslevel`)**. + - Workout history, levels, progression state, and sensor calibrations are stored **separately per profile**. +- **Per-Profile & Per-Exercise Gyro Calibration**: + - Automatically triggers the first time a profile selects an exercise. + - Adapts the motion sensor detection to the specific user, exercise, and individual movement pattern, and stores the calibration per profile and per exercise. +- **30-Day Progressive Training Plan**: + - 30 days per plan with **13 workout sessions** on days `1, 3, 5, 8, 10, 12, 15, 17, 19, 22, 24, 26, 29`; all other days are recovery days. + - **4 regular sets** per session with exercise-specific progression curves across **3 Tiers**: `Beginner`, `Fortgeschritten` (Intermediate), and `Pro`. + - A session only counts as passed when all regular target repetitions are completed; otherwise, the same session is repeated next time. +- **Rest Timers**: Standard **60-second** rest between sets, manually reducible down to a minimum of **5 seconds** (difficulty scales via sets, reps, and progression rather than shorter default pauses). +- **Optional Max-Rep**: Offered after the final regular set; counts as many reps as possible without a fixed target, can be skipped, is stored separately, and does not affect passing the regular session. +- **Separate Level & Tier Systems**: + - **Tier** = training difficulty bracket (`Beginner` / `Fortgeschritten` / `Pro`). + - **Level** = EXP-based progress tracked **independently per exercise** (e.g., Push-ups Level 12, Squats Level 18, Pull-ups Level 6, Sit-ups Level 14). + +### Proposed Extensions & Open Questions ([`offene-fragen.md`](offene-fragen.md)) + +The decision memo evaluates and proposes defaults (not yet finalized unless moved into `idee.md`/`progress.md`) for: +- **EXP & Level Formula (open/proposed)**: `EXP = sum(reps) × tier_multiplier` (`1.0` / `1.5` / `2.0`), `+5` discipline bonus without pause reduction, quadratic curve `Level n → (n-1)² × 100 EXP`, and tier level caps (`10` / `20` / `∞`). +- **Tier-Up Unlock Criteria (proposed)**: Manual selection with app recommendation; tier progression requires passing all 13 sessions, reaching the tier level cap, and beating a Max-Rep threshold in at least 3 of the last 5 sessions. +- **Sensor Combination & Fallbacks (proposed)**: Accelerometer + gyroscope with 5 reference reps (3-rep skip option), manual `+1` / `-1` set correction, and a manual tap-counter fallback when sensors are unavailable or battery is `<15%`. +- **Profiles, Stats & Gamification (proposed)**: Up to 8 local profiles with emoji avatars, JSON export/import, 30-session load chart, streaks, training diary notes, and cosmetic badges (no cloud accounts or leaderboards in v1.0). + +--- + +## How It Works & Tech Stack + +### Planned App Flow ([`idee.md`](idee.md)) + +1. Start app → select existing profile or create a new one (`Name`, `Größe`, `Gewicht`, `Aktivitätslevel`). +2. Main menu: pick a color-coded exercise (`Liegestütze`, `Kniebeugen`, `Klimmzüge`, `Sit-ups`). +3. Check calibration state for that profile + exercise: + - Not calibrated → run **Calibration Mode** (adjust gyro to user & movement, save). + - Already calibrated → proceed to training selection. +4. Select **Tier** (`Beginner`, `Fortgeschritten`, `Pro`) and view the current session (e.g., `3 - 4 - 4 - 3`, 60s rest). +5. Perform the 4 regular sets with sensor-based rep counting and adjustable rest timers (60s down to 5s). +6. Complete or skip the optional **Max-Rep** set after the 4th regular set. +7. Finish workout: save session, award EXP, update exercise level, store progress, and unlock the next progressive session (if passed). + +### Proposed Tech Stack ([`offene-fragen.md`](offene-fragen.md) — Not Yet Implemented) + +Since no application code exists yet, [`offene-fragen.md`](offene-fragen.md) proposes the following stack for v1.0: + +| Area | Proposed Technology / Requirement | Status | +| :--- | :--- | :--- | +| Framework | **Flutter** (single codebase for iOS & Android) | Proposed (`✅` in `offene-fragen.md`) | +| Persistence | Local **SQLite** (Offline-First) + JSON export/import | Proposed (`✅` in `offene-fragen.md`) | +| Hardware / OS | **Accelerometer + Gyroscope**; iOS 14+ / Android 8+ | Proposed (`✅` in `offene-fragen.md`) | +| Localization | German + English (i18n-ready), system Dark Mode | Proposed (`✅` in `offene-fragen.md`) | +| Mounting | Chest strap (pull-ups/push-ups), thigh mount (squats), floor (sit-ups) | Proposed (`✅` in `offene-fragen.md`) | + +--- + +## Prerequisites & Installation + +As this is currently a **concept and planning repository**, there is no build, runtime, or installation procedure yet. To view or contribute to the planning documents locally: + +```bash +git clone https://git.orfel.de/Mexx/LevelRep.git +cd LevelRep +``` + +Open [`idee.md`](idee.md), [`progress.md`](progress.md), and [`offene-fragen.md`](offene-fragen.md) in any Markdown viewer or editor. + +--- + +## Configuration + +No runtime configuration, environment variables, or `.env` files exist yet. + +Planned local configuration/settings discussed in [`offene-fragen.md`](offene-fragen.md) include: +- Per-profile metadata (`Name`, `Größe`, `Gewicht`, `Aktivitätslevel`, emoji avatar) +- Per-profile, per-exercise sensor calibration parameters and manual re-calibration trigger +- Optional notifications (training day reminders, recovery reminders), sound/haptic toggles, Dark Mode, and language selection (DE/EN) + +--- + +## Usage + +Use this repository as the living specification and decision log for building **LevelRep**: + +- **Core Specification**: Read [`idee.md`](idee.md) for the agreed product structure and 13-step user journey. +- **Progression Tables**: Reference [`progress.md`](progress.md) for exact rep targets across Sessions 1–13 and Tiers (`Beginner`, `Fortgeschritten`, `Pro`): + +| Exercise | Color | Beginner (Session 1 → 13) | Fortgeschritten (Session 1 → 13) | Pro (Session 1 → 13) | +| :--- | :--- | :--- | :--- | :--- | +| **Liegestütze** (Push-ups) | Red | `2-3-2-2` → `8-9-6-5` | `8-10-7-7` → `17-21-14-13` | `15-18-13-13` → `31-39-26-25` | +| **Kniebeugen** (Squats) | Blue | `5-6-5-5` → `13-18-13-14` | `12-15-10-10` → `30-37-22-22` | `20-25-18-18` → `45-58-41-41` | +| **Klimmzüge** (Pull-ups) | Green | `1-1-1-1` → `4-4-4-4` | `3-4-3-3` → `7-9-7-7` | `6-8-6-6` → `13-17-12-12` | +| **Sit-ups** | Yellow | `3-4-3-3` → `10-12-9-9` | `9-11-8-8` → `22-27-19-19` | `15-18-13-13` → `34-42-30-30` | + +- **Resolve Open Questions**: Review [`offene-fragen.md`](offene-fragen.md); as decisions are finalized, merge them into `idee.md` or `progress.md` and prune resolved items from `offene-fragen.md`. + +--- + +## Project Structure + +```text +LevelRep/ +├── assets/ +│ └── logo.png # LevelRep logo +├── idee.md # Core app concept, exercises, profiles, calibration & flow +├── offene-fragen.md # Open questions, proposed defaults & v1.0/v1.x/v2.0 roadmap +└── progress.md # 30-day schedule & full progression tables (all 4 exercises) +``` + +--- + +## License + +Private / Internal Project (no license file is included in this repository).