← All projects Case study

FitVerse

FitVerse combines real-time biometric tracking, an accelerometer-powered live form coach, a 93-exercise workout library, and a Gemini-powered AI coach - synced to the cloud so your progress follows you across devices.

FitVerse dashboard
Flutter / DartCore Stack
FirebaseAuth + Firestore
Gemini 2.5 FlashAI Coaching

Solo project, owned the Flutter layer end to end.

Latest Release

Overview

Most fitness apps either lock real coaching behind a subscription or give you a library of exercises with no idea who you are. FitVerse builds a live profile of your body, your health conditions, and your workout history, then feeds that context straight into Google's Gemini model so every piece of advice - nutrition, recovery, muscle-building - is actually personalized. Biometrics come from Google Health Connect when available, with a self-built adaptive accelerometer pedometer as a fallback that keeps working even without a smartwatch. Everything is cached locally first for an instant UI, then synced to Firestore so a new device picks up your full history the moment you sign in.

Key Features

Personalized AI Coach (Gemini 2.5 Flash)

Context-aware chat using your profile, BMI, health conditions, and last 5 workout sessions with quick-prompt chips, persistent chat history, and bring-your-own API key support.

Live Form Tracking & Rep Counting

Accelerometer-based rep counting and form-quality scoring during resistance training with non-spammy spoken voice corrections via Flutter TTS and automatic AI workout reports.

Workout Library & Anatomical Map

20 muscle groups, 93 exercises, and 18 multi-exercise presets browsable via an interactive custom-painted body map with step-by-step instructions and animated previews.

Health & Activity Tracking

Automatic switching between Google Health Connect (5s refresh) and a self-built 20 Hz adaptive accelerometer pedometer fallback running via a foreground service.

Cross-Device Cloud Sync (Firestore)

Instant local caching via SharedPreferences combined with asynchronous Firestore sync, union-by-session-ID profile merging, and full offline persistence.

Home Dashboard

Live metric cards (heart rate, SpO2, steps, calories burned), 7-day activity bar chart (fl_chart), recent workout history, AI-generated nutrition banners, and real-time stats row recomputed live.

Tech Stack

FrameworkFlutter 3.19+ (Dart SDK ≥3.2.0)
Stateprovider ^6.1.2 (ChangeNotifier)
Authgoogle_sign_in + firebase_auth ^5.3.1
Databasecloud_firestore - offline persistence enabled
AIgoogle_generative_ai - Gemini 2.5 Flash
Healthhealth ^12.0.0 - Health Connect (Android)
Sensorssensors_plus - accelerometer pipeline
Voiceflutter_tts ^4.0.2
Chartsfl_chart ^0.68.0

Screenshots

Dashboard
Body selector
AI Coach chat
Workouts
Health Connect
Live Tracking