Skip to content

Instantly share code, notes, and snippets.

View mirodilkamilov's full-sized avatar
🏃
Running

Mirodil Kamilov mirodilkamilov

🏃
Running
View GitHub Profile
@mirodilkamilov
mirodilkamilov / csv_gpx_to_fit.py
Last active June 27, 2026 13:08
Script for bulk importing your Strava activites to COROS
#!/usr/bin/env python3
"""
Convert a Strava bulk-export (activities.csv + GPX files) into proper
Activity-type FIT files that COROS will accept.
Unlike GPSBabel (which writes FIT *Course* files - meant for navigation routes,
not workout history), this builds real Activity FIT files with file_id.type =
ACTIVITY, plus session/lap/activity summary messages and a correct sport type
pulled from the CSV.