8000 GitHub - sergray/GarminToStrava: A command-line tool that automatically syncs latest Garmin activity to Strava
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sergray/GarminToStrava

Repository files navigation

Garmin to Strava Sync Tool

A command-line tool that automatically syncs latest Garmin activity to Strava.

Setup

  1. Instal uv

  2. Install the required dependencies:

uv sync
  1. Create a .env file based on .env.example and fill in credentials:
    • Garmin Connect credentials (email and password)
    • Strava API credentials (you can get these from Strava API Settings)

Strava API Setup

  1. Go to Strava API Settings
  2. Create a new application
  3. Set the "Authorization Callback Domain" to localhost
  4. Copy the Client ID and Client Secret to your .env file
  5. Run uv run auth_strava.py

Usage

Run the sync command:

uv run garmin2strava.py

The tool will:

  1. Connect to Garmin account
  2. Download latest activity
  3. Upload it to Strava
  4. Automatically handle token refresh when needed

About

A command-line tool that automatically syncs latest Garmin activity to Strava

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0