Cloud Infra (In Progress)May 2026

Strava AI Coach Discord Bot

Role

Serverless systems developer (Personal project)

Tech stack
AWS LambdaAWS SQSDynamoDBAPI GatewayStrava APIDiscord APIGemini API
Strava AI Coach Discord Bot Screenshot 1Strava AI Coach Discord Bot Screenshot 2Strava AI Coach Discord Bot Screenshot 3Strava AI Coach Discord Bot Screenshot 4Strava AI Coach Discord Bot Screenshot 5
Overview

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.

Key Contributions & Findings
  • 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
Infrastructure

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.