Skip to content

An AI-powered fitness assistant that generates personalized workout and diet plans based on user needs.

License

Notifications You must be signed in to change notification settings

Rahil16/FitnessAi

Repository files navigation

FitAI - AI-Powered Fitness Assistant

Next.js TypeScript ShadCN Gemini AI License

Overview

FitAI is an AI-powered fitness assistant that generates personalized workout and diet plans based on user needs. Using Gemini AI 2.0 Flash, it provides intelligent fitness recommendations and allows users to download their plans as PDFs.

Features

  • 🎯 Personalized Workout Plans – AI-generated routines tailored to fitness goals.
  • 🥗 Customized Diet Plans – Meal plans based on user preferences and dietary needs.
  • 📄 PDF Export – Downloadable PDF format for easy access.
  • 🤖 AI-Powered Suggestions – Uses Gemini AI 2.0 Flash for accurate recommendations.
  • 🎨 Modern UI – Built with ShadCN, ensuring a sleek and user-friendly experience.

Tech Stack

  • Next.js 15 – Server-side rendering and seamless UI/UX.
  • TypeScript – Type safety and maintainability.
  • ShadCN – Modern UI components.
  • Gemini AI 2.0 Flash – AI model for fitness recommendations.

Installation

# Clone the repository
git clone https://github.com/yourusername/fitness-ai-app.git

# Navigate to the project directory
cd fitness-ai-app

# Install dependencies
npm install

# Run the development server
npm run dev

Usage

  1. Open the app and input your fitness details (goals, dietary preferences, fitness level).
  2. AI generates a customized workout and diet plan.
  3. View and adjust the plan as needed.
  4. Download your personalized plan as a PDF.

API Integration

FitAI utilizes the Gemini AI 2.0 Flash API to analyze user input and generate optimized plans. Ensure you have API access before running the project.

Live Demo

🚀 Try FitAI Live

Contributing

Contributions are welcome! Feel free to fork the repo and submit a pull request.

License

This project is licensed under the MIT License.

Contact

For questions or feedback, reach out via LinkedIn.