A self-hosted data analyzer for your Strava activities
- Activities heat map
- Fitness & fatigue performance chart
- Heart rate zones chart
- Interactive 3D route map
- Athlete RSS feed
More about performance chart: https://github.com/manhtai/stramate/wiki/Training-load:-Fitness-&-Fatigue
You should host it yourself, don't give your data to arbitrary people on the internet.
-
Install NodeJS and Python Poetry first
-
Create
.env
file in the project root
# Strava sync
STRAVA_CLIENT_ID=xxxxx
STRAVA_CLIENT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Activity map
MAPBOX_ACCESS_TOKEN=pk.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Production mode
ENV=production
# Disable new registration
DISABLE_REGISTRATION=true
- Strava keys: https://www.strava.com/settings/api
- Mapbox token: https://account.mapbox.com/
- Install dependencies and start server
poetry install
poetry run python manage.py tailwind install
poetry run python manage.py migrate
poetry run honcho start
See deploy.sh for instruction on Ubuntu.