There are 2 ways to run your own version of Stravanity:
npm install
npm run dev
Open localhost:5173
in your browser
Copy the access_token
cookie from https://stravanity.boris.sh/ and paste it in your local version to connect to Strava
Create a Strava API app
Create an account on Vercel
Create an .env
file at the root of the project to set the following environment variables:
STRAVA_ACCESS_TOKEN
STRAVA_CLIENT_ID
STRAVA_CLIENT_SECRET
STRAVA_REDIRECT_URI
VITE_STRAVA_CLIENT_ID
The rest is as easy as:
npm install
vercel dev
Open localhost:3000
in your browser