โโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโ โโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ
โโโโโโ โโโ โโโ โโโ โโโ โโโโโโ โโโโ
โโโโโโ โโโ โโโ โโโ โโโ โโโโโโ โโโ
โโโ โโโ โโโ โโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโ โโโ โโโ โโโโโโโโ โโโโโโโ โโโโโโโ
Track. Analyze. Level Up.
![]() |
![]() |
![]() |
![]() |
|---|---|---|---|
| Dashboard | Outdoor Run | Gym Work | History |
FitLog treats your body like a system with telemetry.
Most fitness apps show you numbers. FitLog gives you states โ your step count is a Core Energy level, your streak is a signal, your week is a performance scan. The entire interface is built around a cyberpunk/technical aesthetic: particle backgrounds, streak orbs, and data-driven animations that respond to your actual behavior.
It's offline-first, zero-ads, and 100% private. Your health data stays on your device.
| Feature | Description |
|---|---|
| Weight Tracking Pro | Full evolution module with auto-compressing charts + real-time BMI calculation |
| Smart PDF Reports | Export your entire activity history as a professional document, on-device |
| Precision Timers | SystemClock-based chronometers โ accurate even when screen is locked |
| Dynamic Leveling | Profile level (Beginner โ Intermediate โ Pro) recalculates automatically from your goals |
| Cloud Version Sync | Firebase Realtime Database notifies you instantly when a new version drops |
FitLog's streak engine goes beyond simple day counting.
- Consecutive day tracking based on daily step goal completion
- Grace Period: Miss one day โ streak freezes. Miss two โ streak resets. No brutal punishments for human life
- Level Up Animation: Full-screen
SyncLevelUpScreenwith a technical orb that celebrates every streak increment
Your health state at a glance, rendered as live data:
- Native hardware step counter โ ultra-low battery via sensor fusion
- Weekly activity grid โ visual consistency scan across 7 days
- Real-time metrics โ steps, calories, and distance in a single unified interface
- Glassmorphism UI โ semi-transparent panels, vivid gradients, smooth Compose animations
Professional-grade session engine for walking, running, and cycling:
- Real-time GPS tracking with distance, pace, and calorie output
- MET-based calorie algorithm โ factors in your weight, age, and live GPS speed for genuine accuracy (not estimations)
- Persistent Workout Card โ a live notification on the lock screen and status bar showing timer + metrics without opening the app
- Auto-save โ sessions are indexed into history on completion
A robust dual-mode logger:
Solo Mode โ manual logging of exercises, sets, reps, and weight (Kg or Lb)
Protocol Mode (Guided) โ a structured 5-day split:
| Day | Focus | Supports |
|---|---|---|
| Day 1 | Push | Gym + Home |
| Day 2 | Pull | Gym + Home |
| Day 3 | Legs | Gym + Home |
| Day 4 | Upper | Gym + Home |
| Day 5 | Full Body | Gym + Home |
- Rest Timer with dynamic
+15sextension โ tap to breathe - Expandable Exercise Cards โ clean layout that handles long exercise names without UI breakage
- Evolution chart โ auto-compresses as data accumulates, always readable
- BMI analysis with visual scale: Underweight / Normal / Overweight / Obese
- Timestamped history โ every entry logged for long-term trend analysis
Smart alerts that respond to your actual progress, not just the clock:
| Trigger | Alert Type |
|---|---|
| Goal at 50% | Progress nudge |
| Goal at 90% | Final push notification |
| 9:00 PM, goal unmet | Critical level alert |
| Training reminder | Persistent alarm-style notification |
All notifications are setExactAndAllowWhileIdle โ they fire even in Doze mode.
- Smart filters: Day / Week / Month / All Time
- PDF export: Clean structured report for coaches, logs, or personal records
- Bilingual: Fully localized in English and Espaรฑol
- Unlockable achievements based on streak milestones
- Badges for total volume lifted across all gym sessions
- Weekly performance dashboard with telemetry-style data graphs
FitLog is built on Modular Clean Architecture following Google's official recommendations, with full separation between layers and features:
fitlog/
โโโ app/ โ MainActivity, NavHost, Hilt setup, permission orchestration
โ Launches StepCounterService (Foreground, API 34+ compliant)
โ
โโโ core/
โ โโโ database/ โ Room DB โ profiles, gym sessions, runs, goals
โ โ Schema migrations v5 โ v6 with full data integrity
โ โโโ datastore/ โ User preferences (theme, units, notification flags)
โ โโโ domain/ โ Pure business logic โ UseCases, repository interfaces
โ โโโ model/ โ Shared data models across all modules
โ โโโ network/ โ Firebase Realtime Database sync layer
โ โโโ ui/ โ Design system: theme, typography, custom icons, strings
โ โโโ notification/ โ Alert engine, AlarmManager workers
โ
โโโ feature/
โโโ dashboard/ โ Core telemetry view, step tracking, streak orb
โโโ gymwork/ โ Solo + Protocol modes, rest timer
โโโ outdoorrun/ โ GPS tracking, MET calorie engine
โโโ onboarding/ โ Profile setup, unit system, dynamic leveling
โโโ weight/ โ BMI module, evolution chart
โโโ history/ โ Filters, PDF export
โโโ settings/ โ Theme, language, notifications, profile
Data flow:
Compose UI โโโบ ViewModel (StateFlow) โโโบ UseCase โโโบ Repository
โฒ โ
โโโโโโโโโโโโโ Flow โโโโโโโโโโโโโโโโโโโโ
โ
Room โโโโโโดโโโโโ Firebase
State management pattern: MVI/MVVM hybrid โ each feature exposes a sealed UiState consumed via collectAsStateWithLifecycle.
Language Kotlin 2.1.0
UI Jetpack Compose + Material 3
State StateFlow + MVI UiState pattern
DI Dagger Hilt + KSP
Local DB Room (migrations v5โv6)
Preferences DataStore
Background Foreground Service (step counter, API 34+)
Alarms AlarmManager โ setExactAndAllowWhileIdle
Cloud Firebase Realtime Database
Build ProGuard/R8 with custom rules
Localization English + Espaรฑol
- Offline-first โ all health data lives on your device
- Zero ads โ no trackers, no banners, no distractions
- Battery optimized โ hardware sensor fusion for step counting, smart service lifecycle
- ProGuard/R8 โ code shrinking and obfuscation without compromising stability
- Android Studio Hedgehog or later
- JDK 17
- Android SDK 26+ (target: 34)
git clone https://github.com/saicojavc/fitlog.git
cd fitlogOpen in Android Studio, sync Gradle, and run on a device or emulator (API 26+).
Note: GPS tracking and step counting require a physical device for full functionality.
- Weight tracking + BMI module
- PDF export engine
- Protocol gym mode (5-day split)
- Grace-period streak system
- MET-based calorie calculation
- Weekly telemetry graphs (performance dashboard)
- Achievement system (streaks + volume milestones)
- WearOS sync
- Gemini API โ AI-powered weekly performance summary



