{"id":21931568,"url":"https://github.com/devifish/sport-editor","last_synced_at":"2025-04-06T23:17:53.379Z","repository":{"id":37809242,"uuid":"350284462","full_name":"Devifish/sport-editor","owner":"Devifish","description":"通过小米运动API实现的自动刷运动步数工具😒（可同步到微信、支付宝）","archived":false,"fork":false,"pushed_at":"2024-03-19T02:11:48.000Z","size":16,"stargazers_count":94,"open_issues_count":9,"forks_count":264,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-30T21:08:00.921Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Devifish.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-22T09:33:33.000Z","updated_at":"2025-03-22T14:35:43.000Z","dependencies_parsed_at":"2025-01-16T13:34:28.821Z","dependency_job_id":"4690206e-56e0-43cb-8cd3-6f80dac820ca","html_url":"https://github.com/Devifish/sport-editor","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"252f955f672d59282778f5664a11d9dbfa73c438"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devifish%2Fsport-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devifish%2Fsport-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devifish%2Fsport-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devifish%2Fsport-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Devifish","download_url":"https://codeload.github.com/Devifish/sport-editor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247563942,"owners_count":20958971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-28T23:14:22.662Z","updated_at":"2025-04-06T23:17:53.350Z","avatar_url":"https://github.com/Devifish.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 运动步数修改工具\n\n[![sport-editor-task](https://github.com/Devifish/sport-editor/actions/workflows/sport-editor-task.yml/badge.svg)](https://github.com/Devifish/sport-editor/actions/workflows/sport-editor-task.yml)\n[![star](https://img.shields.io/github/stars/Devifish/sport-editor.svg?logo=github)](https://github.com/Devifish/sport-editor)\n[![license](https://img.shields.io/github/license/Devifish/sport-editor)](https://github.com/Devifish/sport-editor)\n\n\u003e 通过华米运动的 API 提交运动步数 😒\u003cbr/\u003e\n\u003e 可实现同步运动步数至热门平台，如微信、支付宝等\n\n## 实现功能\n\n- [x] 每日自动更新步数\n- [x] 指定随机运动步数范围\n- [x] Github Action 运行\n\n## 配置参数\n\n| 环境变量                 | 说明                | 值                  |\n| ------------------------ | ------------------- | ------------------- |\n| XIAOMI_AMAZFIT_USERNAME  | 用户名              | 159000000           |\n| XIAOMI_AMAZFIT_PASSWORD  | 密码                | xxxxxx              |\n| XIAOMI_AMAZFIT_USER_ID   | 用户 ID (可选)      | 123456              |\n| XIAOMI_AMAZFIT_APP_TOKEN | APP Token (可选)    | xxxxxxxx            |\n| STED_SIZE_RANGE          | 运动步数范围 (可选) | 5000-15000 (默认值) |\n\n- 推荐使用 Node.js 12 及以上的运行/构建当前项目\n- 运动步数范围使用 - 分隔上下限\n- 可选账号/密码、UserID/AppToken 两种方式运行\n\n## Github Actions 部署\n\n- fork 本项目\n- 将环境变量参数填到 Setting -\u003e Secrets (如果使用 Token+ID 方式可不填用户名及密码)\n- 开启 actions (默认`actions`处于禁止状态)\n- 执行 sport-editor-task workflow\n\n## 命令行运行\n\n```\ngit clone https://github.com/Devifish/sport-editor.git\ncd sport-editor\nnpm install\nnpm run start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevifish%2Fsport-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevifish%2Fsport-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevifish%2Fsport-editor/lists"}