🚴 Strava Auto-Kudos

Automated kudos system + Training analytics

⚠️ Setup Required: Please authorize your Strava account first.

Features

Quick Start

GET /api/auth
Step 1: Authorize your Strava account
Authorize with Strava
GET /api/smart-kudos
Step 2: Set up cron job to call this every 2 hours

After authorization, configure cron-job.org to call this endpoint with your secret key.

API Endpoints

GET /api/sync-activities
Syncs your recent Strava activities to database for analysis
GET /api/training-stats
Returns training statistics and analysis
?period=week|month|year ?type=Run|Ride
View Monthly Stats

How It Works

  1. System checks your recent activities every 2 hours
  2. Identifies people who gave you kudos
  3. Fetches activities from people you follow
  4. Automatically gives kudos back to their recent activities
  5. Tracks everything to prevent duplicates

Rate Limits

Strava API allows 100 requests per 15 minutes and 1,000 per day.