Skip to content

recodehive/FitSync

 
 

Repository files navigation

FitSync AI - Gamified Fitness Web App

📌 Overview

FitSync AI is an AI-powered gamified fitness web app inspired by Duolingo, designed to make workouts engaging and interactive. It provides AI-generated exercise suggestions, animated exercise demonstrations, personalized meal plans, and a fitness league with XP levels to track progress.

🚀 Features

  • AI-Powered Daily Exercise Suggestions
  • Smart Timer with beep alerts
  • Fitness League & Leaderboard to track progress
  • Animated Exercise Demonstrations using Lottie.js
  • AI-Generated Meal Plans displayed dynamically
  • FitBot - your fitness chatbot
  • Firebase Integration for real-time database functionality

📸 Screenshots & Videos

Homepage

WhatsApp.Video.2025-02-28.at.10.22.29.PM.mp4

Nutrition Section

Untitled.video.-.Made.with.Clipchamp.mp4

Training Section

WhatsApp.Video.2025-03-01.at.9.06.18.AM.mp4

FitBot

image

🛠️ Tech Stack

Frontend:

  • ✅ Streamlit – For the web-based UI and interactive elements
  • ✅ OpenCV – For capturing and processing video frames
  • ✅ Plotly – For data visualization and analytics

Backend & Computation:

  • ✅ Python – Core programming language
  • ✅ NumPy – For numerical calculations and interpolations
  • ✅ Math Library – For angle calculations using atan2 and degrees

Computer Vision & AI:

  • ✅ PoseDetector (likely using Mediapipe or OpenCV) – For pose estimation and detecting key body points

Hardware & Integrations:

  • ✅ Webcam (via OpenCV) – Capturing real-time exercise data

🔧 Setup & Installation

📌 Prerequisites

Ensure you have the following installed:

  • 🐍 Python 3.8+
  • 📦 pip (Python package manager)
  • 💻 Git (optional, for cloning)
  • 📂 Virtual Environment (recommended)

🚀 Installation Steps

1️⃣ Clone the Repository (if using Git)

git clone https://github.com/your-username/FitnessTrainer.git
cd FitnessTrainer

2️⃣ Create & Activate a Virtual Environment

# Create virtual environment
python -m venv venv

# Activate (Windows)
venv\Scripts\activate

# Activate (Mac/Linux)
source venv/bin/activate

3️⃣ Install Dependencies

pip install -r requirements.txt

4️⃣ Set Up Secrets (if applicable) Add API keys or credentials in secrets.toml (if needed).

5️⃣ Run the Application

python styles/1_🏠_HomePage.py

🎯 Using the Features

# Tutorials
python pages/2_📘_Tutorials.py

# Train Mode
python pages/3_🏃_Train.py

# Chatbot
python pages/4_🤖_Chatbot.py

# Nutrition Guide
python pages/5_🍎_Nutrition.py

🎯 Additional Notes

To deactivate the virtual environment, run:

deactivate

If you face missing dependencies, manually install them:

pip install some_package_name

🚀 Deployment

GitHub Pages

  1. Push your code to GitHub.
  2. Go to Settings → Pages
  3. Set the branch to main and save.

📬 Contact

For queries or contributions, reach out to Pallavi Gudupalli at [email protected].

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 41.1%
  • Python 30.3%
  • HTML 26.8%
  • JavaScript 1.8%