Skip to content

kvendrik/strava

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

strava

πŸš΄β€β™‚οΈπŸ‹οΈβ€β™‚οΈ Minimal read-only CLI for Strava (OAuth, list activities, fetch activity details)

Why

Strava has no official CLI and I wanted one that was read-only and with a source that’s small enough for me to be able to check what exactly it does. This CLI is read-only and ~650 lines of code.

Quick start

bun add -g @kvendrik/strava

Or point your agent at AGENT.md.

How to use

Set STRAVA_CLIENT_ID and STRAVA_CLIENT_SECRET (from Strava API settings), then run strava auth once. Tokens are stored in ~/.strava-tokens.json (override with STRAVA_STORAGE_PATH).

strava auth
strava doctor # ensures env vars and auth are OK
strava refresh
strava activities [-n 30] [--after <unix>] [--before <unix>]
strava activity <id>

About

πŸš΄β€β™‚οΈπŸ‹οΈβ€β™‚οΈ Minimal read-only CLI for Strava

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors