forked from yihong0618/running_page
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'yihong0618:master' into master
- Loading branch information
Showing
17 changed files
with
300 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,6 +103,9 @@ R.I.P. 希望大家都能健康顺利的跑过终点,逝者安息。 | |
| [Zeonsing](https://github.com/NoonieBao) | <https://run.jogzeal.com/> | Coros | | ||
| [yaoper](https://github.com/yaoper) | <https://running.yaoper.cn> | codoon | | ||
| [NoZTurn](https://github.com/NoZTurn) | <https://run.jiangkai.org> | Strava | | ||
| [laqieer](https://github.com/laqieer) | <https://laqieer.github.io/running_page/> | Strava | | ||
| [Guoxin](https://github.com/guoxinl) | <https://running.guoxin.space/> | Strava | | ||
| [Darren](https://github.com/Flavored4179) | <https://run.wdoc.top/> | tcx | | ||
</details> | ||
|
||
## 它是怎么工作的 | ||
|
@@ -133,6 +136,7 @@ R.I.P. 希望大家都能健康顺利的跑过终点,逝者安息。 | |
## 支持 | ||
|
||
- **[Strava](#strava)** | ||
- **[New Way To Sync Nike Run Club](#nike-run-club-new)** :NFC同步的新方式 | ||
- **[Nike Run Club](#nike-run-club)** | ||
- **[Garmin](#garmin)** | ||
- **[Garmin-cn](#garmin-cn-大陆用户请用这个)** | ||
|
@@ -146,7 +150,7 @@ R.I.P. 希望大家都能健康顺利的跑过终点,逝者安息。 | |
- **[佳明国内同步国际](#Garmin-CN-to-Garmin)** | ||
- **[Tcx+Strava(upload all tcx data to strava)](#tcx_to_strava)** | ||
- **[Tcx+Garmin(upload all tcx data to Garmin)](#tcx_to_garmin)** | ||
- **[Gpx+Strava(upload all tcx data to strava)](#gpx_to_strava)** | ||
- **[Gpx+Strava(upload all gpx data to strava)](#gpx_to_strava)** | ||
- **[Nike+Strava(Using NRC Run, Strava backup data)](#nikestrava)** | ||
- **[Garmin_to_Strava(Using Garmin Run, Strava backup data)](#garmin_to_strava)** | ||
- **[Strava_to_Garmin(Using Strava Run, Garmin backup data)](#strava_to_garmin)** | ||
|
@@ -399,13 +403,13 @@ TRANS_GCJ02_TO_WGS84 = True | |
 | ||
|
||
```bash | ||
python3(python) run_page/joyrun_sync.py ${your mobile} ${your 验证码} | ||
python3(python) run_page/joyrun_sync.py ${your mobile} ${your 验证码} --athlete ${your own name} | ||
``` | ||
|
||
示例: | ||
|
||
```bash | ||
python3(python) run_page/joyrun_sync.py 13333xxxx xxxx | ||
python3(python) run_page/joyrun_sync.py 13333xxxx xxxx --athlete yihong0618 | ||
``` | ||
|
||
joyrun 导出 gpx 文件 | ||
|
@@ -432,6 +436,12 @@ python3(python) run_page/joyrun_sync.py 13333xxxx example --with-gpx | |
python3(python) run_page/joyrun_sync.py 1393xx30xxxx 97e5fe4997d20f9b1007xxxxx --from-uid-sid --with-gpx | ||
``` | ||
|
||
> 支持配置min_grid_distance,默认为10 | ||
```bash | ||
python3(python) run_page/joyrun_sync.py 13333xxxx xxxx --athlete yihong0618 --min_grid_distance 5 | ||
``` | ||
|
||
</details> | ||
|
||
### Codoon(咕咚) | ||
|
@@ -635,6 +645,34 @@ python3(python) run_page/garmin_sync_cn_global.py ${garmin_cn_secret_string} ${g | |
|
||
</details> | ||
|
||
### Nike Run Club New | ||
|
||
<details> | ||
<summary>Get your <code>Nike Run Club</code> data</summary> | ||
|
||
<br> | ||
|
||
> Please note:由于nike run club已经在中国大陆停止运营,所以只能通过vpn的方式进行登录。在开始之前先确认自己是全局的非中国大陆的代理,能够正确的访问`nike.com`而不是`nike.com.cn` 如下图所示. | ||
 | ||
<br> | ||
|
||
1. 登录/注册 [NikeRunClub](https://www.nike.com/) 账号 | ||
 | ||
2. 登录成功后,键盘打开F12->Application->localstorage-> 复制键为`https://www.nike.com`的值中的`access_token`的内容. | ||
 | ||
3. 修改 `nike_sync.py` 文件中的代码,并且把你刚才复制的内容粘贴进去 如下图所示. | ||
 | ||
4. 在根目录执行,你应该就可以看到下图中的内容,然后你就可以正常在你的手机版NRC里登录你的账号了: | ||
|
||
```bash | ||
python3(python) run_page/nike_sync.py aaaaa | ||
``` | ||
 | ||
|
||
如果你想自动化同步NRC中的运动数据,去 [issue692](https://github.com/yihong0618/running_page/issues/692#issuecomment-2218849713)中查看相关内容. | ||
|
||
</details> | ||
|
||
### Nike Run Club | ||
|
||
|
@@ -780,6 +818,8 @@ python3(python) run_page/tcx_to_strava_sync.py xxx xxx xxx --all | |
|
||
> 如果你已经上传过需要跳过判断增加参数 `--all` | ||
</details> | ||
|
||
### TCX_to_Garmin | ||
|
||
<details> | ||
|
@@ -954,7 +994,7 @@ python3(python) run_page/keep_to_strava_sync.py ${your mobile} ${your password} | |
3. run_data_sync.yml中的修改: | ||
|
||
```yaml | ||
RUN_TYPE: keep_to_starva_sync | ||
RUN_TYPE: keep_to_strava_sync | ||
``` | ||
</details> | ||
|
@@ -1184,6 +1224,10 @@ curl https://api.github.com/repos/yihong0618/running_page/actions/workflows -H " | |
|
||
谢谢就够了 | ||
|
||
# Raycast 插件 | ||
|
||
<a title="Install running-page Raycast Extension" href="https://www.raycast.com/Lemon/running-page"><img src="https://www.raycast.com/Lemon/running-page/[email protected]?v=1.1" height="64" alt="" style="height: 64px;"></a> | ||
|
||
# FAQ | ||
|
||
- Strava 100 每 15 分钟的请求,1000 每日限制 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,10 +96,14 @@ English | [简体中文](https://github.com/yihong0618/running_page/blob/master/ | |
| [PPZ](https://github.com/8824PPZ) | <https://run.dudubbbbbbbbb.top/> | Strava | | ||
| [Yer1k](https://github.com/Yer1k) | <https://running.yer1k.com/> | Strava | | ||
| [AlienVision](https://github.com/weaming) | <https://run.drink.cafe/> | Strava | | ||
| [闻笑忘](https://wenxiaowan.com) | <https://wenxiaowan.com> | 苹果健身 | | ||
| [闻笑忘](https://wenxiaowan.com) | <https://wenxiaowan.com> | 苹果健身 | | ||
| [Vensent](https://github.com/Vensent) | <https://vensent.github.io/workouts_page/> | Garmin | | ||
| [Zeonsing](https://github.com/NoonieBao) | <https://run.jogzeal.com/> | Coros | | ||
| [Zeonsing](https://github.com/NoonieBao) | <https://run.jogzeal.com/> | Coros | | ||
| [yaoper](https://github.com/yaoper) | <https://running.yaoper.cn> | codoon | | ||
| [laqieer](https://github.com/laqieer) | <https://laqieer.github.io/running_page/> | Strava | | ||
| [Guoxin](https://github.com/guoxinl) | <https://running.guoxin.space/> | Strava | | ||
| [laihj](https://github.com/laihj) | <https://run.laihjx.com/> | 苹果健身 | | ||
| [Ginta](https://github.com/mar-heaven) | <https://running.ginta.top/> | Keep | | ||
</details> | ||
|
||
## How it works | ||
|
@@ -122,6 +126,7 @@ English | [简体中文](https://github.com/yihong0618/running_page/blob/master/ | |
|
||
- **[Garmin](#garmin)** | ||
- **[Garmin-CN](#garmin-cnchina)** | ||
- **[New Way To Sync Nike Run Club](#nike-run-club-new)** | ||
- **[Nike Run Club](#nike-run-club)** | ||
- **[Strava](#strava)** | ||
- **[GPX](#gpx)** | ||
|
@@ -434,6 +439,35 @@ python3(python) run_page/garmin_sync_cn_global.py ${garmin_cn_secret_string} ${g | |
|
||
</details> | ||
|
||
### Nike Run Club New | ||
|
||
<details> | ||
<summary>Get your <code>Nike Run Club</code> data</summary> | ||
|
||
<br> | ||
|
||
> Please note:Due to the discontinuation of Nike Run Club in mainland China, you can only log in through a VPN. Before starting, please ensure that you are using a global non-mainland China proxy, allowing you to access `nike.com` instead of `nike.com.cn`, as shown in the following image. | ||
 | ||
<br> | ||
|
||
1. Sign in/Sign up [NikeRunClub](https://www.nike.com/) account | ||
 | ||
2. after successful login,openF12->Application->localstorage-> copy the content of "access_token" from the value of key`https://www.nike.com`. | ||
 | ||
3. modify the code in the "nike_sync.py" file and paste the content you just copied as shown in the following image. | ||
 | ||
4. Execute in the root directory , you should be able to see the image below, and then you can log into your account on the mobile as usual: | ||
|
||
```bash | ||
python3(python) run_page/nike_sync.py aaaaa | ||
``` | ||
 | ||
|
||
if you want to automate the submission of NRC data, you can refer to [issue692](https://github.com/yihong0618/running_page/issues/692#issuecomment-2218849713). | ||
|
||
</details> | ||
|
||
### Nike Run Club | ||
|
||
<details> | ||
|
@@ -971,6 +1005,10 @@ Before submitting PR: | |
|
||
Just enjoy it~ | ||
|
||
# Raycast Extension | ||
|
||
<a title="Install running-page Raycast Extension" href="https://www.raycast.com/Lemon/running-page"><img src="https://www.raycast.com/Lemon/running-page/[email protected]?v=1.1" height="64" alt="" style="height: 64px;"></a> | ||
|
||
# FAQ | ||
|
||
- Strava Api limit | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
"description": "Yi hong", | ||
"version": "1.0.0", | ||
"author": "Yi Hong <[email protected]>", | ||
"packageManager": "[email protected]+sha256.8f5264ad1d100da11a6add6bb8a94c6f1e913f9e9261b2a551fabefad2ec0fec", | ||
"dependencies": { | ||
"@mapbox/mapbox-gl-language": "^1.0.0", | ||
"@mapbox/polyline": "^1.1.1", | ||
|
@@ -29,7 +30,7 @@ | |
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"data:clean": "rm run_page/data.db {GPX,TCX,FIT}_OUT/* activities/* src/static/activities.json", | ||
"data:clean": "rm -f run_page/data.db {GPX,TCX,FIT}_OUT/* activities/* src/static/activities.json", | ||
"data:download:garmin": "python3 run_page/garmin_sync.py", | ||
"data:analysis": "python3 run_page/gen_svg.py --from-db --type github --output assets/github.svg", | ||
"build": "vite build", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.