How wger-project/wger works
wger is a self-hostable fitness manager. Users access it through its web interface or REST API to build workout routines, consult the exercise wiki, record workout and body measurements, manage nutrition, and review progress. Gym administration and achievement tracking extend that core workflow. The tree identifies separate Django app boundaries; the README documents the major capabilities. Only the dynamic-measurement reconciliation implementation was sampled, so other app-to-app wiring is not inferred.
Main entry points: api REST API · engine.py Application database · manager Workout routines · nutrition Nutrition plans
Components 16
Access and accounts
- Web interface
wger/urls.py - REST API
wger/core/api - Accounts and profiles
wger/core
Training
- Workout routines
wger/manager - Exercise wiki
wger/exercises - Workout logs
wger/manager/models/log.py
Health tracking
- Nutrition plans
wger/nutrition - Body weight
wger/weight - Measurements
wger/measurements - Progress gallery
wger/gallery
Community and gyms
- Gym management
wger/gym - Achievements
wger/trophies
Platform services
- Application database
wger/measurements/dynamic/engine.py
Other components
- User
- Open Food Facts
- Mobile apps
Connections 24
- User → Web interface: uses
- User → REST API: requests
- Mobile apps → REST API: integrates
- Web interface → Accounts and profiles: serves
- REST API → Accounts and profiles: authenticates
- REST API → Workout routines: serves
- REST API → Exercise wiki: serves
- REST API → Nutrition plans: serves
- REST API → Measurements: serves
- REST API → Body weight: serves
- REST API → Progress gallery: serves
- REST API → Gym management: serves
- REST API → Achievements: serves
- Workout routines → Workout logs: records
- Nutrition plans → Open Food Facts: product data
- Workout routines → Application database: stores
- Exercise wiki → Application database: stores
- Workout logs → Application database: stores
- Nutrition plans → Application database: stores
- Body weight → Application database: stores
- Measurements → Application database: reconciles calculated rows
- Progress gallery → Application database: stores
- Gym management → Application database: stores
- Achievements → Application database: stores