Giter Site home page Giter Site logo

cutel / sport-editor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from devifish/sport-editor

0.0 1.0 0.0 16 KB

通过小米运动API实现的自动刷运动步数工具😒(可同步到微信、支付宝)

License: MIT License

JavaScript 99.60% Shell 0.40%

sport-editor's Introduction

运动步数修改工具

sport-editor-task star license

通过华米运动的 API 提交运动步数 😒
可实现同步运动步数至热门平台,如微信、支付宝等

实现功能

  • 每日自动更新步数
  • 指定随机运动步数范围
  • Github Action 运行

配置参数

环境变量 说明
XIAOMI_AMAZFIT_USERNAME 用户名 159000000
XIAOMI_AMAZFIT_PASSWORD 密码 xxxxxx
XIAOMI_AMAZFIT_USER_ID 用户 ID (可选) 123456
XIAOMI_AMAZFIT_APP_TOKEN APP Token (可选) xxxxxxxx
STED_SIZE_RANGE 运动步数范围 (可选) 5000-15000 (默认值)
  • 推荐使用 Node.js 12 及以上的运行/构建当前项目
  • 运动步数范围使用 - 分隔上下限
  • 可选账号/密码、UserID/AppToken 两种方式运行

Github Actions 部署

  • fork 本项目
  • 将环境变量参数填到 Setting -> Secrets (如果使用 Token+ID 方式可不填用户名及密码)
  • 开启 actions (默认actions处于禁止状态)
  • 执行 sport-editor-task workflow

命令行运行

git clone https://github.com/Devifish/sport-editor.git
cd sport-editor
npm install
npm run start

sport-editor's People

Contributors

devifish avatar

Watchers

 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.