ActivityMap
Map, list, and analyze of all your Strava activities.
Features
- Filter by distance, elevation, date, sports type, …
- Automatically add/remove/update Strava activities via webhook
- Share all/selected activities with friends & family
- easy to customize and extend
Map View
- Wide range of map styles and overlays
- Shareable map screenshots
- Overlays of biking and hiking routes

List View
- Customizable columns
- Sortable columns

Stats View
- Calendar heatmap
- Timeline of total distance/elevation/time per period of time, with local averaging
- Configurable scatter plot of all activities
- Progress plot per year or month


Dependencies
Setup
Create a MapBox account
You’ll need your access_token
Create a Strava app
You’ll need your strava_client_id
and strava_client_secret
Setup a PosgreSQL database
(Vercel Postgres)[https://vercel.com/docs/solutions/postgres] is free and easy to setup.
Install the dependencies
pnpm install
Setup authentication
npx auth secret
to generate a secret for your authentication.
Environment variables
Create a .env
file in the root directory of your project and add the appropriate environment variables:
# POSTGRESPOSTGRES_URL=POSTGRES_PRISMA_URL=POSTGRES_URL_NO_SSL=POSTGRES_URL_NON_POOLING=POSTGRES_USER=POSTGRES_HOST=POSTGRES_PASSWORD=POSTGRES_DATABASE=
# AUTHAUTH_SECRET=AUTH_STRAVA_ID=AUTH_STRAVA_SECRET=
# MAPBOXNEXT_PUBLIC_MAPBOX_TOKEN=
Setup Database
pnpm db:push
Start the development server
pnpm dev
Build
pnpm build