dmtri / stramate

A self-hosted data analyzer for your activities

Home Page:https://stra.manhtai.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StraMate

A self-hosted data analyzer for your Strava activities

Features

  • Activities heat map
  • Fitness & fatigue performance chart
  • Heart rate zones chart
  • Interactive 3D route map

More about performance chart: https://github.com/manhtai/stramate/wiki/Training-load:-Fitness-&-Fatigue

Notice

You should host it yourself, don't give your data to arbitrary people on the internet, especially me.

Local setup

  1. Install NodeJS and Python Poetry first

  2. Create .env file in the project root

STRAVA_CLIENT_ID=xxxxx
STRAVA_CLIENT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
MAPBOX_ACCESS_TOKEN=pk.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  1. Install dependencies and start server
poetry install
poetry run python manage.py tailwind install
poetry run python manage.py migrate
poetry run honcho start

Deployment

See deploy.sh for instruction on Ubuntu.

About

A self-hosted data analyzer for your activities

https://stra.manhtai.com


Languages

Language:Python 49.9%Language:HTML 42.4%Language:JavaScript 4.3%Language:CSS 2.8%Language:Shell 0.7%