FitTrack Pro is an innovative and comprehensive fitness application designed to help you achieve your personal health and fitness goals. Whether you're aiming to lose weight, gain muscle, or maintain your current physique, FitTrack Pro offers personalized meal plans, workout routines, and progress tracking features tailored just for you.
FitTrack Pro is built for anyone looking to take control of their fitness journey. From beginners to seasoned athletes, this application provides customized recommendations based on your unique body metrics and fitness goals. By integrating cutting-edge AI and machine learning, FitTrack Pro delivers accurate, actionable insights that can help you reach your desired outcomes faster and more efficiently.
- Personalized Meal Plans: Generate a 7-day meal plan based on your dietary preferences, calorie needs, and restrictions.
- Custom Workout Plans: Receive a detailed weekly workout schedule tailored to your fitness goals and availability.
- BMI and BMR Calculations: Instantly calculate your Body Mass Index (BMI) and Basal Metabolic Rate (BMR) to understand your body's needs.
- Progress Tracking: Set and track your fitness goals with easy-to-understand metrics and visualizations.
- Light and Dark Modes: Switch between light and dark themes to suit your environment and preferences.
- Python 3.8 or higher
- Streamlit
- FPDF
- Google Generative AI (Gemini) API key
-
Clone the repository:
git clone https://github.com/SauravSrivastav/fittrackpro-st.git cd fittrackpro-st
-
Create and Activate a Virtual Environment:
-
For Windows:
python -m venv venv venv\Scripts\activate
-
For macOS/Linux:
python3 -m venv venv source venv/bin/activate
-
-
Install the required Python packages:
pip install -r requirements.txt
-
Set up the Google Generative AI API key:
-
Obtain your API key from Google AI Studio.
-
Create a
.env
file in the root directory of the project and add your API key:GOOGLE_API_KEY=your_api_key_here
-
-
Run the application locally:
streamlit run app.py
-
Deactivate the Virtual Environment (When Done):
deactivate
- Fill in your personal details like name, age, height, weight, and fitness goals in the sidebar.
- Generate your personalized meal and workout plans.
- Download your plans as a PDF or track your progress directly within the app.
- Your Personalized Meal Plan and Your Personalized Workout Plan.*
Download Option for our Fitness Plan.
Contributions are welcome! If you'd like to improve FitTrack Pro, please fork the repository and submit a pull request. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or suggestions, please feel free to reach out to me at sauravsrivastav2205@gmail.com.