Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 907 Bytes

README.md

File metadata and controls

35 lines (27 loc) · 907 Bytes

stravaup

Upload FIT, TCX and GPX files to strava.com from the command line.

Prerequisites

  • POSIX shell
  • cURL

Setup

  1. Sign up at http://www.strava.com/
  2. Register your own Strava client at https://www.strava.com/settings/api
  3. Create a .stravauprc file in your home directory:
STRAVAUP_CLIENT_ID=FIXME
STRAVAUP_CLIENT_SECRET=FIXME
  1. Get your authorization code
STRAVAUP_CODE=FIXME

Usage

Upload a single file:

stravaup file.fit

Use find and xargs to upload everything:

find -iname \*.fit | xargs stravaup

More info

Strava API reference https://strava.github.io/api/