GymBuddy is a web application designed to help fitness enthusiasts track their workout performance and nutritional intake efficiently. Whether you're a beginner looking to establish a fitness routine or a seasoned athlete aiming to optimize your training, GymBuddy provides essential tools and insights to support your fitness journey.
Key Features
Performance Metrics: Track sets, reps, workout duration, and calories burned across different exercises.
Nutrition Tracking: Monitor meals consumed throughout the day to maintain a balanced diet.
Daily Quotes: Get inspired with daily motivational quotes to keep you motivated.
Interactive Charts: Visualize your progress with interactive charts showing performance trends over time.
Technologies Used
Frontend: React.js, Chakra UI
Backend: Flask
External APIs: Twilio Api for whatsapp messaging and Cohere Api for AI responses
Demo
Twilio and AI
I utilized the Cohere API to generate AI-driven content, such as daily motivational quotes and personalized workout plans based on user input. When a user fills out the form, a workout plan is dynamically generated, including meal suggestions.
For communication, I integrated the Twilio API to send messages. Upon completing their workout, users can enter details in a specific format like "10 10 50 200". Twilio then sends this data to a Flask server via its API. The Flask server interprets the message to update the dashboard with details such as 10 reps, 10 sets, 50 minutes, and 200 calories burned.
I could not have achieved this functionality without Twilio Kudos to Twilio team.
Also I had already written Blog around Twilio so I had little experience with Twilio API and Whatsapp business API.
I wanted to use Twilio Whatsapp business API but time was less as it takes verification so I sticked to using Whatsapp Sandbox.
Getting Started
To get started with GymBuddy, and follow these steps:
1.You can try it out by scanning the QR Code in the image or by texting the code join four-mental to the number +14155238886 on WhatsApp.
If you want to expose your local Flask server to the internet for testing:
choco install ngrok(in Powershell if windows)
ngrok config add-authtoken Your AuthToken
ngrok http 5000
Embed the url obtained after hosting into whatsapp Sandbox settings inside When a message comes in
<!-- Does your submission qualify for any additional prize categories Twilio Times Two: My usage of Twilio's Whatsapp Messaging API for outbound messages and the Twilio REST Client for handling incoming messages qualifies your project under the Twilio Times Two category.
Impactful Innovators: My project, GymBuddy, innovatively integrates the Cohere API and Twilio to revolutionize fitness tracking and engagement. Using Cohere, GymBuddy generates personalized motivational quotes and custom workout plans. Twilio facilitates seamless communication, enabling users to log workout details via simple text messages and receive instant updates on their progress.