Skip to content

Repository files navigation

VitaFit – AI Fitness Tracker

VitaFit is a modern Android fitness tracking application built with Java, Firebase, and Firebase AI Logic. It brings workout logging, progress analytics, reminders, profile management, and several AI-assisted wellness tools together in one mobile application.

VitaFit provides general fitness and wellness guidance. It is not a substitute for professional medical advice.

Highlights

  • Secure email/password authentication with email verification
  • Personalized dashboard with workout summaries
  • Add, search, review, and delete workout records
  • Fitness statistics and progress visualization
  • Export workout history as PDF or CSV
  • Share generated workout reports
  • Workout reminders with reboot restoration
  • Light and dark themes
  • Responsive bottom navigation and navigation drawer
  • Firebase App Check integration using Play Integrity

AI Fitness Assistant

VitaFit groups its AI tools inside a single assistant hub:

  • Smart Recommendation – profile-aware general fitness suggestions
  • AI Coach Chat – conversational guidance based on saved profile and activity
  • Balanced Diet Planner – balanced meal suggestions using user preferences
  • AI Workout Planner – structured workout suggestions based on selected preferences
  • AI Progress Analyzer – reviews saved workout activity and consistency

AI responses are formatted for clear mobile reading and include safety-focused instructions for balanced, age-appropriate guidance.

Tech Stack

Area Technology
Language Java 17
Platform Android SDK
UI XML, Material Components, ConstraintLayout, RecyclerView
Authentication Firebase Authentication
Database Firebase Realtime Database
Generative AI Firebase AI Logic
App protection Firebase App Check with Play Integrity
Charts MPAndroidChart
Async utilities Guava ListenableFuture
Build system Gradle Kotlin DSL

Screenshots

VitaFit splash screen VitaFit login screen VitaFit dashboard

AI Fitness Assistant hub AI Coach Chat AI Workout Planner

Balanced Diet Planner AI Progress Analyzer Workout Reminder

View more screenshots

Navigation drawer Dashboard dark mode User profile

Fitness statistics Workout history and export Add workout screen

Requirements

  • Android Studio
  • JDK 17
  • Android device or emulator running Android 7.0 (API 24) or later
  • A Firebase project
  • Internet connection for Firebase and AI features

Getting Started

  1. Clone the repository:

    git clone https://github.com/Ashutosh9-pan/VitaFit-AI-Fitness-Tracker.git
  2. Open the project in Android Studio.

  3. Create or select a Firebase project and register an Android app with this package name:

    com.ashutosh.codealpha_fitnesstrackerapp
    
  4. Download your Firebase google-services.json file and place it inside the local app/ directory.

  5. Enable the required Firebase services:

    • Email/Password Authentication
    • Realtime Database
    • Firebase AI Logic
    • App Check for production builds
  6. Sync the Gradle files and run the application.

Security Notes

Sensitive and machine-specific files are intentionally excluded from this repository, including:

  • Signing keystores
  • Keystore credentials
  • local.properties
  • google-services.json
  • Generated APK and App Bundle files

Never commit signing passwords, private keys, debug App Check tokens, or other credentials.

Project Structure

app/src/main/
├── java/        # Activities, adapters, Firebase logic, AI integration
├── res/         # Layouts, menus, drawables, themes, and strings
└── AndroidManifest.xml

screenshots/     # Application screenshots used in this README

Author

Ashutosh Panwar

Acknowledgements

  • Firebase Authentication and Realtime Database
  • Firebase AI Logic
  • Firebase App Check and Google Play Integrity
  • Android Material Components
  • MPAndroidChart

Releases

Packages

Contributors

Languages