Skip to content

EricoHello/RoboLifter

Repository files navigation

GymBroAI Logo

RoboLifter

2025 Dream AI Hackathon Project

PyPI version Python Version License

Build, analyze, and level up your fitness — with real-time AI coaching.

RoboLifter Demo


✨ What is RoboLifter?

RoboLifter is an end-to-end AI-powered personal trainer that analyzes your squat and pushup form in real time using your device’s camera. It provides instant, accurate, and encouraging voice feedback using advanced pose detection, LLM-based coaching, and realistic text-to-speech.

It was built at the 2025 Dream AI Hackathon (Likelion US, Cambridge) — where 180+ innovators across 37+ teams built AI-driven solutions for real-world impact.


🕵️ Analyze your form with real-time computer vision

🔹 Get instant, personalized AI voice feedback
🔹 Track reps and progress automatically
🔹 Enjoy a modern, responsive web experience

TL;DR: Go from “start workout” to “AI-powered feedback” in <60 seconds.


🛠️ Installation (30 s)

# Clone the repository
git clone https://github.com/suriyaks0902/Ai-gymbro.git
cd Ai-gymbro

# Install backend dependencies
pip install -r requirements.txt

# Install frontend dependencies
cd app
npm install
npm run dev

Set your ElevenLabs API key for voice feedback:

export ELEVEN_API_KEY="your-elevenlabs-api-key"

(Optional) Start Ollama for local LLM:

ollama run mistral

⏱️ 60-second Quick-Start

  1. Start the backend:
    uvicorn ai_server:app --reload
  2. Start the frontend:
    cd app
    npm run dev
  3. Open http://localhost:3000 in your browser.
  4. Allow camera access, select your exercise, and start moving!

🔥 Features

  • Full-stack AI fitness coaching: Real-time pose estimation, exercise detection, and voice feedback.
  • Robust feedback API: Get actionable, encouraging tips for every rep.
  • Modern UI: Responsive, mobile-friendly design.
  • Multi-model support: Use any LLM (Ollama, OpenAI, etc.) and ElevenLabs for TTS.
  • Accurate rep counting: Never miss a rep!
  • Plug-and-play: Easy to set up and use.

🏋️‍♂️ Supported Exercises

Exercise Detection Feedback Rep Counting
Squats
Pushups

🎯 Feedback Structure

Every rep or form error triggers a feedback event:

{
  "eventType": "form_error" | "rep_complete",
  "exercise": "squat" | "pushup",
  "angles": {...},
  "repCount": 3,
  "formError": "Knees caving in",
  "voice_id": "cgSgspJ2msm6clMCkdW9"
}

🗣️ Voice Feedback

  • Personalized: Feedback is generated by an LLM and spoken using ElevenLabs TTS.
  • Selectable voices: Choose male or female voice for your coach.
  • Multilingual: Easily extend to other languages.

⚙️ Configuration

  • Frontend: /app/app/page.tsx — UI, camera, and pose logic.
  • Backend: /ai_server.py — API, LLM, and TTS integration.
  • .env: Store your API keys securely.

🏆 Built At

2025 Dream AI Hackathon
Hosted by Likelion US, Cambridge
180+ participants | 37+ teams | 1 amazing weekend


🤝 Contributing


🙏 Acknowledgements


⭐️ Why GymBroAI?

Because everyone deserves a personal trainer — powered by AI, accessible anywhere, and always encouraging you to:

  • reach your fitness goals.
  • improve your form and stay motivated.
  • unlock your full potential, one rep at a time.
  • train smarter, not just harder.
  • make fitness fun, interactive, and effective.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors