5422c73400592f917b1e55fba3d37777f0427eb0
Complete restructure of monolithic main.dart into modular MVVM architecture. All 4 phases executed across 8 plans (~0.77 hrs total). - Phase 1: Foundation — directory structure, models, Logger utility - Phase 2: Provider migration — GpsDataManager, SettingsProvider, OverlayProvider - Phase 3: Overlay refactor — OverlayService, staleness detection, error surfacing - Phase 4: GPS optimization — adaptive precision, lifecycle management, wake locks Key outcomes: - SpeedometerScreen: 1075 lines → 493 lines (-54%) - Zero setState for shared state (Provider/Consumer throughout) - Speed-adaptive GPS precision (8/12 km/h hysteresis) - Background GPS lifecycle awareness (7s grace period) - Overlay staleness detection (3s dim, 10s dashes) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
GPS Speedometer
A GPS Speedometer aimed at Android on Motorcycle / Bicycle applications. Created with the help of Claude Code
Features
Core Functionality
- Real-time speed display using GPS
- Maybe also direction display using GPS
- Good floating window / split screen support(hopefully)
Customizable Settings
- Speed Units: mph, km/h, knots (with convenient unit selector buttons)
- Theme: Light/Dark mode (expandable for custom themes)
Technical Specifications
- Target Platform: Android (primary)
- Target Device: Mobile phones and tablets
- GPS Requirements: Location permissions required
- Offline Capability: Full functionality without internet
Architecture Design
To be updated
Permissions Required
ACCESS_FINE_LOCATION- For high-precision GPS trackingACCESS_COARSE_LOCATION- Fallback location access
Getting Started
Prerequisites
- Flutter SDK
- Android development environment
- Physical device recommended (GPS simulation limited in emulator)
Installation
- Clone the repository
- Run
flutter pub get - Connect Android device or start emulator
- Run
flutter run
Development
flutter run- Run the app in development modeflutter build apk- Build APK for Androidflutter test- Run unit tests
Releases
1
Release v2.3.0
Latest
Languages
HTML
49.4%
Dart
31.5%
C++
9.6%
CMake
7.5%
Swift
0.9%
Other
1%