⚠️ Setup Required: Please authorize your Strava account first.
🔄 Data Sync: Your activities are being synced...
Features
- Automatically returns kudos to people who kudos your activities
- Runs every 2 hours via cron job
- Syncs and analyzes your training activities
- Rate limit protection (stays under 100 calls per 15 minutes)
- Duplicate prevention (won't spam the same person)
Quick Start
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
- System checks your recent activities every 2 hours
- Identifies people who gave you kudos
- Fetches activities from people you follow
- Automatically gives kudos back to their recent activities
- Tracks everything to prevent duplicates
Rate Limits
Strava API allows 100 requests per 15 minutes and 1,000 per day.
- Each kudos run uses ~15-30 API calls
- Running every 2 hours = 12 runs per day
- Total: ~360 calls per day (well under limit)