Scripts to help the migration of rides data from SuperCycle or Zeopoxa cycling to Strava.
More details about this codes in:
https://www.castoriscausa.com/posts/2023/10/07/supercycle_strava/
The script supercycle2gpx.py
reads the SuperCycle database and generates a GPX for each ride in the database.
The script zeopoxa2gpx.py
reads the Zeopoxa cycling database and generates a GPX for each ride in the database.
Execution:
./supercyle2gpx.py --file SuperCycle-20230813-1549.scbak
./zeopoxa2gpx.py --file 2023-10-16-10-54-49_Database_Zeopoxa_Cycling.db
Run the gpx2strava.py
Python script and follow the instructions in the terminal to upload the GPX files to Strava using its API
Execution:
./gpx2strava.py --dir ./rides_gpx_2023_10_02T09_15_20/001_bike/
client_id
and client_secret
to use the Strava API. More info here.