BuddyFit is an AI-powered, conversational interface designed to help users build and maintain a consistent exercise routine.
- Fetcher: Fetches YouTube videos' transcript and convert them into a full text format.
- Importer: Imports the full text into the TimeScaleDB database.
- BuddyFit CLI: Command line interface for BuddyFit, that answers user's questions about the exercises.
BuddyFit is relaying on the AI features provided by the TimescaleDB database.
- The
pgaiextension is used to run the AI queries. - The
pgai Vectorizeris used to automatically build embeddings for the text data existing in TimescaleDB.
BuddyFit is using OpenAI's text-embedding-3-small and gpt-4o-mini models to generate the embeddings
for the user's questions and the exercises' descriptions.
go install github.com/EmadMokhtar/BuddyFit/cmd/buddyfit@latestMake sure the cli is installed by running the following command:
$ buddyfit --help
Usage of buddyfit:
-p string
Alias for prompt
-prompt string
Prompt for the AI- Go 1.22+ docs
- Environment Variables
After installing the CLI, you can run the CLI app but invoking the buddyfit command and pass the -p or -prompt flag with your question.
$ buddyfit -p "I want to maximize my muscle gain and going to the gym 4 times per week. Can you build a plan for me? I don't want to spend long time in the gym"$ buddyfit -p "I want to maximize my muscle gain and going to the gym 4 times per week. Can you build a plan for me? I don't want to spend long time in the gym"Sure! Here's a sample 4-day upper and lower body split that focuses on maximizing muscle gain while keeping your gym sessions efficient. Each workout should take about 45-60 minutes.
- Bench Press: 3 sets of 8-10 reps
- Incline Dumbbell Press: 3 sets of 8-10 reps
- Overhead Dumbbell Press: 3 sets of 8-10 reps
- Dumbbell Lateral Raises: 3 sets of 12-15 reps
- Tricep Dips: 3 sets of 8-10 reps
- Squats: 3 sets of 8-10 reps
- Romanian Deadlifts: 3 sets of 8-10 reps
- Leg Press: 3 sets of 8-10 reps
- Lunges: 3 sets of 10 reps per leg
- Calf Raises: 3 sets of 12-15 reps
- Pull-Ups or Lat Pulldowns: 3 sets of 8-10 reps
- Bent Over Rows: 3 sets of 8-10 reps
- Face Pulls: 3 sets of 12-15 reps
- Barbell Bicep Curls: 3 sets of 10-12 reps
- Skull Crushers: 3 sets of 10-12 reps
- Deadlifts: 3 sets of 8-10 reps
- Glute Bridges: 3 sets of 10-12 reps
- Leg Curls: 3 sets of 10-12 reps
- Step-Ups: 3 sets of 10 reps per leg
- Seated Calf Raises: 3 sets of 12-15 reps
• Always warm up before starting your workouts. • Aim to increase weights gradually while maintaining proper form. • Incorporate rest intervals of 60-90 seconds between sets. • Consider deloading every 4-6 weeks as needed to prevent fatigue. • Adjust exercises based on your comfort and experience level.
This plan should help you build muscle efficiently without lengthy gym sessions.
$ buddyfit -p "I want to maximize my muscle gain and going to the gym 4 times per week. Can you build a plan for me? I don't want to spend long time in the gym"Sure! Here's a sample 4-day upper and lower body split that focuses on maximizing muscle gain while keeping your gym sessions efficient. Each workout should take about 45-60 minutes.
- Bench Press: 3 sets of 8-10 reps
- Incline Dumbbell Press: 3 sets of 8-10 reps
- Overhead Dumbbell Press: 3 sets of 8-10 reps
- Dumbbell Lateral Raises: 3 sets of 12-15 reps
- Tricep Dips: 3 sets of 8-10 reps
- Squats: 3 sets of 8-10 reps
- Romanian Deadlifts: 3 sets of 8-10 reps
- Leg Press: 3 sets of 8-10 reps
- Lunges: 3 sets of 10 reps per leg
- Calf Raises: 3 sets of 12-15 reps
- Pull-Ups or Lat Pulldowns: 3 sets of 8-10 reps
- Bent Over Rows: 3 sets of 8-10 reps
- Face Pulls: 3 sets of 12-15 reps
- Barbell Bicep Curls: 3 sets of 10-12 reps
- Skull Crushers: 3 sets of 10-12 reps
- Deadlifts: 3 sets of 8-10 reps
- Glute Bridges: 3 sets of 10-12 reps
- Leg Curls: 3 sets of 10-12 reps
- Step-Ups: 3 sets of 10 reps per leg
- Seated Calf Raises: 3 sets of 12-15 reps
- Always warm up before starting your workouts.
- Aim to increase weights gradually while maintaining proper form.
- Incorporate rest intervals of 60-90 seconds between sets.
- Consider deloading every 4-6 weeks as needed to prevent fatigue.
- Adjust exercises based on your comfort and experience level.
This plan should help you build muscle efficiently without lengthy gym sessions.
$ buddyfit -p "can you make a plan to target a bigger biceps?"To target bigger biceps, you can follow this workout plan that emphasizes exercises to develop both heads of the biceps and enhance their peak. Here's a suggested weekly plan:
Biceps Workout Plan:
Day 1: Focus on Elbow Flexion and Supination
- Barbell Curl - 4 sets of 8-12 reps
- Focus on keeping your elbows close to your body.
- Hammer Curl - 3 sets of 10-12 reps
- This targets the brachialis and adds size to your biceps.
- Concentration Curl - 3 sets of 10-12 reps
- Ensure proper form to maximize peak contraction at the top.
Day 2: Supination Emphasis
- Incline Dumbbell Curl - 4 sets of 8-10 reps
- Lying back helps emphasize the length of the biceps.
- Reverse Curl - 3 sets of 10-12 reps
- This targets the forearms and biceps, promoting overall arm growth.
- Zottman Curl - 3 sets of 10-12 reps
- Performs both supination and pronation to hit different muscle fibers.
Day 3: Complete Arm Day (including biceps)
- Close-Grip Bench Press - 4 sets of 8-10 reps
- While primarily a triceps exercise, it also engages the biceps.
- Cable Curl - 3 sets of 10-15 reps
- Provides constant tension throughout the movement.
- Fat Gripz or Grip Training - 3 sets of 10-12 reps
- Improves grip strength, which helps in all lifting.
Day 4: Recovery & Stretching
- Focus on active recovery through light cardio and stretching, especially for the arms.
Tips for Progress:
- Aim to progressively overload the muscles by increasing weight or reps over time.
- Ensure you're using proper form to effectively target the biceps and avoid injury.
- Don't neglect proper nutrition, including enough protein to support muscle growth.
- Rest and recovery are crucial; allow at least 48 hours before targeting the same muscle group again.
By maintaining this plan and focusing on targeted exercises, you should see an increase in bicep size and peak over time.


