How arijitwayne/fitdex works
FitDex is a local-first Android fitness companion with a retro-RPG presentation. The main user journey is to enter through the app, log and plan training, track nutrition, and review progress and game-like rewards; records remain on-device. The README also documents exercise demonstrations, audio, portable backups, and release updates. Source excerpts confirm app routing, workout completion and gamification interactions, and update fetching; other feature wiring is represented only where documented, so uncertain calls are omitted.
Main entry points: app/App.tsx App routing · gamificationRepository.ts RPG rewards · workoutRepository.ts Workout sessions · src/App.tsx App entry
Components 23
App experience
- App entry
src/App.tsx - App routing
src/app/App.tsx
Training
- Workout hub
src/pages/WorkoutPage.tsx - Workout sessions
src/features/workout/workoutRepository.ts - Routine plans
src/features/workout/routineRepository.ts - Weekly plan
src/features/workout/weeklyPlan.ts - Exercise Dex
src/features/exerciseDex/ExerciseDex.tsx - Exercise media
src/features/exerciseMedia/exerciseMediaResolver.ts
Nutrition and progress
- Food log
src/pages/FoodPage.tsx - Food records
src/features/food/foodRepository.ts - Nutrition targets
src/features/nutritionTargets/nutritionTargetRepository.ts - Progress review
src/pages/ProgressPage.tsx - Progress analytics
src/features/progress/progressRepository.ts - Training journal
src/pages/JournalPage.tsx
Motivation and personalization
- RPG rewards
src/features/gamification/gamificationRepository.ts - Profile and avatar
src/features/profile/ProfileProvider.tsx - Retro audio
src/features/audio/AudioProvider.tsx
Local data and services
- Media service
- Portable backup
src/features/backup/BackupSettings.tsx - Local database
src/data/database.ts - Release updates
src/features/updater/updaterService.ts
Other components
- Athlete
- GitHub releases
Connections 13
- Athlete → App entry: opens
- App entry → App routing: renders
- App routing → Workout hub: routes
- App routing → Food log: routes
- App routing → Progress review: routes
- App routing → Training journal: routes
- Workout sessions → Local database: reads and writes
- Workout sessions → RPG rewards: reconciles rewards
- RPG rewards → Local database: reads and writes
- RPG rewards → Progress analytics: loads progress
- RPG rewards → Nutrition targets: evaluates targets
- Exercise media → Media service: streams demos
- Release updates → GitHub releases: fetches releases