Skip to content

Gradatrim is an innovative iOS fitness application that combines AI-powered coaching with real-time form analysis to provide users with personalized workout guidance. By connecting personal trainers with clients through AI technology, Gradatrim makes professional fitness coaching more accessible and affordable.

Notifications You must be signed in to change notification settings

The-Sloths/Gradatrim

Repository files navigation

Gradatrim

Where trainers, AI, and users meet to transform fitness.

Overview

Gradatrim is an innovative iOS fitness application that combines AI-powered coaching with real-time form analysis to provide users with personalized workout guidance. By connecting personal trainers with clients through AI technology, Gradatrim makes professional fitness coaching more accessible and affordable.

Key Features

For Users

  • AI Form Assessment: Real-time analysis of push-ups, squats, and plank form using computer vision technology
  • Personalized Workout Plans: AI-generated exercise routines based on fitness level and progress
  • Voice Coaching: Interactive AI trainer that provides form guidance and answers questions
  • Progress Tracking: Monitor improvements over time with detailed statistics
  • Leaderboards: Compete with other users across different exercise metrics
  • Marketplace: Access workout plans created by professional trainers

For Trainers

  • Expanded Client Base: Reach more clients without increasing time investment
  • Passive Income: Create custom workout plans and earn revenue from each sale
  • Client Insights: Receive data about client performance and common questions
  • Brand Building: Establish presence in the fitness market with digital clones of training methods

Technical Highlights

  • Built with SwiftUI for iOS
  • Computer vision-based pose estimation for real-time exercise feedback
  • Integration with ElevenLabs for voice AI coaching
  • OpenAI API integration for workout plan generation
  • Supabase backend for user management and data storage

Screenshots

Installation

  1. Clone this repository
  2. Open the project in Xcode 15+
  3. Install the required dependencies using Swift Package Manager
  4. Configure your API keys in APIConfig.swift:
    • OpenAI API key
    • ElevenLabs Agent ID
  5. Configure your Supabase project details in SupabaseConfig.swift
  6. Build and run on iOS 16.0+ device or simulator

Architecture

Gradatrim follows a modern iOS architecture with the following components:

  • Views: SwiftUI interfaces for user interaction
  • ViewModels: Business logic and state management
  • Services: API communication and data processing
  • Models: Data structures and entities
  • AI Components:
    • PoseEstimator: Analyzes exercise form through camera feed
    • GeneralTrainerViewModel: Handles AI voice coaching interactions
    • WorkoutPlanService: Generates personalized workout routines

Core Features in Detail

Form Test

The Form Test evaluates users' fitness levels through three key exercises:

  • Push-ups: Counts proper form repetitions with elbow angle detection
  • Squats: Monitors depth and alignment with real-time feedback
  • Plank: Measures duration with proper form maintenance

Results are used to create personalized workout recommendations and establish baseline fitness metrics.

AI Voice Coach

  • Interactive voice assistant that provides real-time guidance
  • Answers exercise-specific questions during workouts
  • Offers alternative exercise options and form corrections
  • Provides motivation and accountability

Personalized Workout Plans

  • AI-generated based on fitness profile and form test results
  • Adapts to user progress and feedback
  • Structured with appropriate sets, reps, weights based on fitness level

Requirements

  • iOS 16.0+
  • Xcode 15.0+
  • Swift 5.9+
  • Camera access for form analysis
  • Microphone access for voice coaching

Privacy

Gradatrim requires camera and microphone access to provide form analysis and voice coaching. All processing is performed on-device wherever possible, and user data is protected according to industry-standard practices.

Contributing

Interested in contributing to Gradatrim? Please read our contributing guidelines for details on our code of conduct and the process for submitting pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

  • Vision framework for pose estimation
  • ElevenLabs for voice synthesis
  • OpenAI for workout plan generation
  • Supabase for backend services

© 2025 Gradatrim. All rights reserved.

About

Gradatrim is an innovative iOS fitness application that combines AI-powered coaching with real-time form analysis to provide users with personalized workout guidance. By connecting personal trainers with clients through AI technology, Gradatrim makes professional fitness coaching more accessible and affordable.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages