GithubHelp home page GithubHelp logo

limex / strava_komoot_sync Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aexel90/strava_komoot_sync

0.0 0.0 0.0 40 KB

Activity Synchronization between Strava and Komoot

Go 97.31% Dockerfile 2.69%

strava_komoot_sync's Introduction

StravaKomootSync

Activity Synchronization between Strava and Komoot. Synchronization direction: Strava --> Komoot

What 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 activities

Flag "-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

  • Build and Run:

      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
    
  • Go to the Containers Tab in the Docker Desktop and select 'View Detail' at the "vertical hamburger".

  • In the Logs Tab there will be are Link to Strava asking you to confirm the App Login.

  • This will sync the Names of the latest 30 Strava Activities with corresponding Komoot Activities. Check Komoot to find your Activity Names updated.

  • To update all Activities, add the parameter ...

      -e 'SYNC_ALL=true' 
    

    ... to aboves docker run command.

... via docker-compose and pre-build package from ghcr.io

Docker Image CI

WARNING!! This option is not working in this fork. It uses a precompiled package from the original repo with an error.

    cp .env.template .env
    vi .env
    docker compose up -d

TODOs

  • sync pics

strava_komoot_sync's People

Contributors

aexel90 avatar limex avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.