A zero-friction local setup kit for Statistics for Strava by @robiningelbrecht. This repo does not contain the application itself — it wraps it with a guided
make setupso you can get from zero to running in a single command.
- Docker + Docker Compose
- A Strava API app (free, takes ~2 minutes to create)
git clone https://github.com/matthiasseghers/statistics-for-strava-quickstart.git statistics-for-strava
cd statistics-for-strava
make setupmake setup walks through everything interactively:
- Prompts for your Strava Client ID and Client Secret
- Prompts for your birthday and weight (needed for heart rate zones and w/kg)
- Starts the Docker container and waits until it is healthy
- Opens
http://localhost:8080for the Strava OAuth flow - Prompts you to paste the refresh token the app provides
- Restarts the container with the token and optionally runs the first import
make setup Interactive first-time setup
make start Start the container
make stop Stop the container
make restart Restart and pick up .env changes
make import Import activities from Strava + rebuild dashboard
make build Rebuild dashboard files only (no API calls)
make update Pull the latest image and restart
make logs Tail container logs
make shell Open a shell inside the container
make clean Remove imported data only (keeps .env and config)
make nuke Full reset — removes everything including credentials and config
| File | Purpose |
|---|---|
.env |
Strava credentials and timezone. Created by make setup. |
config/config.yaml |
App behaviour: locale, heart rate zones, gear, etc. Created by make setup. |
Both files are git-ignored. Their templates (.env.example and config/config.yaml.example) are committed and used as the base during setup.
For all available configuration options refer to the official documentation.
Each step is skipped if the target file already exists. To redo a specific step, delete the corresponding file first:
# Remove imported data only (keeps credentials and config)
make clean
# Redo credentials only
rm .env && make setup
# Redo personal config only
rm config/config.yaml && make setup
# Full reset — removes everything, start from scratch
make nuke && make setupAll credit goes to Robin Ingelbrecht for building Statistics for Strava. This repo is just a convenience wrapper around his Docker image.