https://github.com/aexel90/strava_komoot_sync
Activity Synchronization between Strava and Komoot
https://github.com/aexel90/strava_komoot_sync
docker go komoot strava sync
Last synced: 6 months ago
JSON representation
Activity Synchronization between Strava and Komoot
- Host: GitHub
- URL: https://github.com/aexel90/strava_komoot_sync
- Owner: aexel90
- Created: 2022-05-09T06:06:32.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-12T12:47:44.000Z (over 1 year ago)
- Last Synced: 2024-06-21T17:01:14.078Z (12 months ago)
- Topics: docker, go, komoot, strava, sync
- Language: Go
- Homepage:
- Size: 36.1 KB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# StravaKomootSync
[](https://github.com/aexel90/strava_komoot_sync/actions/workflows/docker-image.yml)
Activity Synchronization between Strava and Komoot.
Synchronization direction: Strava --> KomootWhat is synced:
- Name of the activity
- Visibility (private, public)## Script Parameter
$GOPATH/bin/strava_komoot_sync -h
Usage of ./strava_komoot_sync:
-debug
Log debug level
-komoot_email string
Komoot Email
-komoot_pw string
Komoot Password
-komoot_userid string
Komoot User ID
-strava_athleteid int
Strava Athlete ID
-strava_clientid int
Strava Client ID
-strava_clientsecret string
Strava Client Secret
-strava_virtualRide_gearid string
Strava Virtual Ride GearID
-sync_all
Sync all activitiesFlag "-sync_all"
- true: all activities will be synched once and program terminates
- false: the last 30 Strava activities will be synched## Run Docker Container
### ... via Dockerfile
docker build --tag stravakomootsync:latest .
docker run -d -p 8080:8080 --name stravakomootsync --restart unless-stopped -e 'KOMOOT_EMAIL=*****' -e 'KOMOOT_PWD=*****' -e 'KOMOOT_USERID=*****' -e 'STRAVA_CLIENTID=*****' -e 'STRAVA_CLIENTSECRET=*****' -e 'STRAVA_ATHLETEID=*****' -e 'STRAVA_VIRT_GEARID=*****' stravakomootsync### ... via docker-compose and pre-build package from ghcr.io
cp .env.template .env
vi .env
docker compose up -d## TODOs
- sync pics