Code Monkey home page Code Monkey logo

ride-sync's Introduction

ride-sync

码表骑行轨迹多平台同步,支持 IGPSPORT 迹驰 / 行者 / Magene 迈金 顽鹿

运行环境

python3

使用方法

本地运行

  1. 克隆项目到本地
  2. 执行 pip install -r requirements.txt安装依赖
  3. 复制 .env.example.env并配置好 导入平台 导出平台 以及对应平台的账号密码
  • 导出平台 EXPORT_PLATFORM支持 igpsport, onelap
  • 导入平台 IMPORT_PLATFORM支持 imxingzhe
  1. 执行 python3 main.py 如果没有异常提示表明正在同步
  2. 当同步出现异常脚本会自动退出,所以需要第三方服务守护进程 linux 推荐 supervisor

GitHub Action 运行

  1. Fork 本项目到自己的 GitHub 账号下;
  2. 在 Fork 的项目中,在“Settings - Secrets and variables - Actions”页面添加环境变量,环境变量名如下:
    • IGPSPORT_USERNAME: iGPSPORT 账户名
    • IGPSPORT_PASSWORD: iGPSPORT 账户密码
    • IMXINGZHE_USERNAME: 行者账户名
    • IMXINGZHE_PASSWORD: 行者账户密码
    • ONELAP_USERNAME: 顽鹿账户名
    • ONELAP_PASSWORD: 顽鹿账户密码
  3. 在项目的 Actions 页面,选择 “Run manually”这个 action,点击运行。

TODO

  • 支持更多平台

ride-sync's People

Contributors

simple4wan 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.