Strava AI Coach Discord Bot
Serverless systems developer (Personal project)





A serverless, AI-driven fitness coach integrated directly into Discord. The bot ingests real-time activity and club webhook events from the Strava API, allowing athletes to trigger performance diagnostics via Discord Slash Commands. Utilizing Gemini Pro, the bot generates personalized coaching advice, kudos, and performance cards.
- 01Architected an event-driven serverless pipeline using AWS API Gateway and SQS to ingest Strava activity webhooks and Discord Slash Commands.
- 02Completely neutralized Lambda cold start latency by offloading webhook and command execution to SQS queues, guaranteeing rapid and reliable API Gateway handshakes.
- 03Connected the Gemini API to process athletes' activity data.
- 04Focused on using aws always free services
System Architecture
The infrastructure pipeline ingests webhook events and Slash Commands via AWS API Gateway, routing them to SQS queues to decouple execution and prevent cold-start timeouts. Lambda workers then process the messages, store user credentials and session states in DynamoDB, fetch data via the Strava API, and generate coaching responses using Gemini Pro before delivering them to Discord.