Files
LevelRep/README.md
T

156 lines
9.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<p align="center">
<img src="assets/logo.png" alt="LevelRep Logo" width="128" />
</p>
<h1 align="center">LevelRep</h1>
<p align="center"><strong>Concept &amp; planning repository for a local multi-profile bodyweight workout app with gyro calibration and 30-day progression.</strong></p>
<p align="center">
<a href="README.md">🇬🇧 English</a> · <a href="LIESMICH.md">🇩🇪 Deutsch</a>
</p>
---
## 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
- [`ZUSAMMENFASSUNG.md`](ZUSAMMENFASSUNG.md) — Executive summary and recommended starting point (status: `25.08.2026`).
- [`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) — Decision memo documenting all 14 topic blocks and finalized answers.
- [`offene-fragen-v2.md`](offene-fragen-v2.md) — Remaining open items (EXP curve, Max-Rep targets, tier-up visualization, sensor thresholds, and deferred feature details).
- [`implementation-plan.md`](implementation-plan.md) — Step-by-step roadmap across Milestones `M1`–`M7` (plus `v1.x`).
---
## 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).
### Decided Tech Stack ([`ZUSAMMENFASSUNG.md`](ZUSAMMENFASSUNG.md) — Not Yet Implemented)
Since no application code exists yet, [`ZUSAMMENFASSUNG.md`](ZUSAMMENFASSUNG.md) and [`implementation-plan.md`](implementation-plan.md) define the following stack for v1.0:
| Area | Technology / Requirement | Status |
| :--- | :--- | :--- |
| Framework | **Flutter / Dart** (Android-only, Offline-First, no backend) | Decided |
| Android SDK | `minSdk = 36` (Android 16+), `targetSdk = 36`, `compileSdk = 36` | Decided |
| State & Routing | **Riverpod** & **go_router** | Decided |
| Persistence | **Drift + SQLite** (versioned migrations) + JSON export/import | Decided |
| Hardware & Media | `sensors_plus` (Accelerometer + Gyroscope), `flutter_local_notifications`, `audioplayers`, `font_awesome_flutter` | Decided |
---
## 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
├── ZUSAMMENFASSUNG.md # Executive summary & entry point
├── idee.md # Core app concept, exercises, profiles, calibration & flow
├── implementation-plan.md # Milestones M1–M7 & task-by-task implementation plan
├── offene-fragen.md # Decision memo (14 topic blocks & answers)
├── offene-fragen-v2.md # Remaining open items & deferred details
└── progress.md # 30-day schedule & full progression tables (all 4 exercises)
```
---
## License
Private / Internal Project (no license file is included in this repository).