yihong0618 / running_page

Make your own running home page

Home Page:https://running-page.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

One thought, share your running page

yihong0618 opened this issue · comments

One thought.
If you want to share your own running homepage, you can generate it and write the URL in the readme, then submit pr and I'll merge it.

@shaonianche cool should we add it in the top or in the bottom?

I will try to add it to the bottom later.

@tuzimoe
里面好像包含我的测试数据,好像得删掉 data.db 重新生成~。
我先写在 README 里了~

https://grun.vercel.app/

这个生成之后 total 界面太漂亮了

@ben-29 好帅~
我更新 readme 中,Thanks

@ben-29 btw 好像你的城市和省份正则 parse 有点问题, 有的没解析出来

#29 update regex for province in China

#29 update regex for province in China

cool

runner:mq page:running-iota.vercel.app app:keep

@MQ-0707 Done~

keep的轨迹数据有偏移 是坐标系问题嘛

keep的轨迹数据有偏移 是坐标系问题嘛

挺多原因,最重要的原因是 keep 数据不全。

我的数据挺全的 就是 整体都会有个几百米的偏移 我感觉是坐标系的问题 你这个有没有涉及到坐标系的转换 比如 百度使用的火星坐标系就是为了国家安全 在原始的地理坐标系上进行认为加偏处理。 MapBox提供的坐标系应该是WGS_84。

我的数据挺全的 就是 整体都会有个几百米的偏移 我感觉是坐标系的问题 你这个有没有涉及到坐标系的转换 比如 百度使用的火星坐标系就是为了国家安全 在原始的地理坐标系上进行认为加偏处理。 MapBox提供的坐标系应该是WGS_84。

可能不是 我的几个测试账号都没出现偏移,之前几个 keep 的 runner 也没出现,有兴趣你可以帮我研究下,感谢。

主要我现在 也不太清楚问题在哪里,我先琢磨琢磨你的代码 看看 能不能找到

Runner: love-exercise
page: https://run.kai666666.top
App: Keep

@KaiOrange
Cool I will add it right noiw.

By the way, you forget to change svg in total page

image

image

image

looks like a bug.

@geekplux seems from keep.

let's create another issue in the future to discuss if there are any bugs

Runner: zstone12
page: https://running-page.zstone12.vercel.app/
App: Keep

Runner: zstone12
page: https://running-page.zstone12.vercel.app/
App: Keep

Thanks./

新部署的,最近开始要恢复运动
Runner: Lax
Page: https://running-lax.vercel.app
App: Keep


遇到个问题, GitHub action 执行过之后,vercel 部署会报错。看提示是activities.json 文件读取出错,我用电脑本地执行python3 scripts/gpx_sync.py 生成的就没问题。


回退到前一天的 commit a3a47cc 之后 github actions 执行之后再 vercel 部署正常了

新部署的,最近开始要恢复运动
Runner: Lax
Page: https://running-lax.vercel.app
App: Keep

遇到个问题, GitHub action 执行过之后,vercel 部署会报错。看提示是activities.json 文件读取出错,我用电脑本地执行python3 scripts/gpx_sync.py 生成的就没问题。

回退到前一天的 commit a3a47cc 之后 github actions 执行之后再 vercel 部署正常了

我晚上看一下。
@geekplux

新部署的,最近开始要恢复运动
Runner: Lax
Page: https://running-lax.vercel.app
App: Keep
遇到个问题, GitHub action 执行过之后,vercel 部署会报错。看提示是activities.json 文件读取出错,我用电脑本地执行python3 scripts/gpx_sync.py 生成的就没问题。
回退到前一天的 commit a3a47cc 之后 github actions 执行之后再 vercel 部署正常了

能贴下报错信息么。

我晚上看一下。
@geekplux

能贴下报错信息么。

10:42:20.331 | error "gatsby-transformer-json" threw an error while running the onCreateNode lifecycle:
-- | --
10:42:20.331 | Unable to parse JSON: file /vercel/workpath0/src/static/activities.json
10:42:20.331 | 75 \|   } catch {
10:42:20.331 | 76 \|     const hint = node.absolutePath ? `file ${node.absolutePath}` : `in node ${node.id}`;
10:42:20.331 | > 77 \|     throw new Error(`Unable to parse JSON: ${hint}`);
10:42:20.331 | \|           ^
10:42:20.331 | 78 \|   }
10:42:20.331 | 79 \|
10:42:20.331 | 80 \|   if (_.isArray(parsedContent)) {
10:42:20.343 |  
10:42:20.343 | Error: Unable to parse JSON: file /vercel/workpath0/src/static/activities.json
10:42:20.343 | - gatsby-node.js:77 Object.onCreateNode
10:42:20.343 | [workpath0]/[gatsby-transformer-json]/gatsby-node.js:77:11
10:42:20.343 |  
10:42:20.343 | - api-runner-node.js:460 runAPI
10:42:20.343 | [workpath0]/[gatsby]/src/utils/api-runner-node.js:460:16
10:42:20.343 |  
10:42:20.343 |  
10:42:20.344 | not finished source and transform nodes - 0.124s
10:42:21.351 | error Command failed with exit code 1.
10:42:21.351 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
10:42:21.363 | Error: Command "yarn run build" exited with 1

@Lax 我理解一下,就是第一次部署vercel可以,但是actions 自动跑会报错。是吧。

应该是 JSON parse的问题,抱歉我重构完忘记测试这部分,只测了前端。

另开issue讨论吧,要不然这个issue也太鱼龙混杂了。

@Lax cool
image
image
haha

Athlete: liuyihui
page: https://run.foolishfox.cn/
App: Keep

PS:每一次跑完之后是需要在本地重新拉取数据,生成svg,再上传至git repository吗?
PS:After running, I have to get new data and generate the svg file on my computer, then deploy it to the git repository?

@YiHui-Liu

不需要可以用 GitHub Actions 自动化, 参考 readme.

你需要配置 secret 中的你 app 相关的 secret 改成你自己的。并更改 yml 中你的参数。
image

并且需要生成你的 GitHub token 也配在 secret 里。

凑个热闹

https://running.ahianzhang.com/

好滴, 加上啦 @AhianZhang

跑步小菜鸡也来
https://run.licardo.cn

跑步小菜鸡也来
https://run.licardo.cn

加上啦,@L1cardo

以前每天跳绳10000,今天开始用Running Page记录自己的跑步运动之路~

跑步小白一枚,虽然数据远不如各位坚持了很多年的大神,但是也想参与推广 running_page

附上自己的主页:https://mfydev.run

见笑了~哈哈

以前每天跳绳10000,今天开始用Running Page记录自己的跑步运动之路~

跑步小白一枚,虽然数据远不如各位坚持了很多年的大神,但是也想参与推广 running_page

附上自己的主页:https://mfydev.run

见笑了~哈哈

好的哈哈,感兴趣你可以直接PR,加到主页里。或者明天我有时间加上哈哈^_^

用了3个月,很不错的跑步记录方式!

https://run.yidajiabei.xyz/

Athlete: Eished
page: https://run.iknow.fun
App: Keep

感谢,建好了(~ ̄▽ ̄)~

@Eished

感兴趣你可以提 pr,在下面,我来 merge, 别忘了 en 和 cn 的 readme 都有。

Runner: Liuxin
Page: https://liuxin.run
App: Nike

Runner: Liuxin Page: https://liuxin.run App: Nike

Hi, you can just open one PR I will merge it. both readme.md and readme-cn.md

Runner: Liuxin Page: https://liuxin.run App: Nike

will add it now...

Athlete: liuyihui
page: https://run.foolishfox.cn/
App: Keep

由于Keep不稳定,总是缺少数据,已经切换至Strava

可以提个 pr 么(^-^)?我来 merge

@YiHui-Liu

可以提个 pr 么(^-^)?我来 merge

Runner: hanpei
Page: https://running.nexts.top
App: 早期Nrc导入, 后面是garmin-cn

@hanpei 欢迎提个 PR 我来 merge~

Runner: Zhe_Learn
Page: https://workouts.zhelearn.com
App: Strava

谢谢~

commented

@jianchengwang can you open one PR to add it

commented

@jianchengwang I wil do it today~

commented

@fxbin done

@fxbin done

谢谢~

Runner: 2Tu
Page: https://workout.520wa.com
App: TulipSport

commented

@2TU 你好像域名那块设置问题,地图没显示,可以参考 actions 里设置下

commented

Runner: Koobai
Page: https://workouts.koobai.com/
App: apple自带运动app,通过同步到Strava实现

非常棒的项目,感谢作者感谢各个分支作者~

Runner: Gao Hao
Page: https://efish2002.github.io/running_page/
非常棒的项目,没有开发经验,过程中遇到了很多问题,感谢作者的耐心指导

commented

Runner: Jinlei
Page: https://jinlei.run/
App: Apple Watch Series 7

申请加入😄

commented

Runner: Jinlei Page: https://jinlei.run/ App: Apple Watch Series 7

申请加入😄

应该和大家保持队形~

Runner: RealTiny656
Page: tiny656.github.io/running_page
App: JoyRun悦跑圈,魔改了sync_data的github action,通过github workflow手动输入手机验证码来触发同步

commented

Runner: RealTiny656 Page: tiny656.github.io/running_page App: JoyRun悦跑圈,魔改了sync_data的github action,通过github workflow手动输入手机验证码来触发同步

@tiny656
cool~
其实可以这样,参考这篇文章。yihong0618/gitblog#198

Runner: RealTiny656 Page: tiny656.github.io/running_page App: JoyRun悦跑圈,魔改了sync_data的github action,通过github workflow手动输入手机验证码来触发同步

@tiny656 cool~ 其实可以这样,参考这篇文章。yihong0618/gitblog#198

@yihong0618 awesome, 我来研究一下,感谢!

https://jeffggmm.github.io/workouts_page/ 打卡控和数据控,也是一个轨迹控

Runner: s1smart
Page: s1smart.github.io/running_page
App: Strava

The display of "year" in Firefox is slightly offset, is that a bug?

Runner: s1smart Page: s1smart.github.io/running_page App: Strava

The display of "year" in Firefox is slightly offset, is that a bug?

will check this weekend

Runner: s1smart Page: s1smart.github.io/running_page App: Strava
The display of "year" in Firefox is slightly offset, is that a bug?

will check this weekend

@frostming @shaonianche can you help to check this?

@s1smart

The display of "year" in Firefox is slightly offset, is that a bug?

I can't find which part it is, can you describe it in detail?

@s1smart

The display of "year" in Firefox is slightly offset, is that a bug?

I can't find which part it is, can you describe it in detail?

Screenshot_2023-10-23-19-37-57-792_org.mozilla.firefox.jpg

@s1smart

The display of "year" in Firefox is slightly offset, is that a bug?

I can't find which part it is, can you describe it in detail?

Screenshot_2023-10-23-19-37-57-792_org.mozilla.firefox.jpg

copy that, thanks

Runner: Jinlei Page: https://jinlei.run/ App: Apple Watch Series 7

申请加入😄

yihong 哥,我这里是用 Apple Watch Series 上传数据到 咕咚,所以,我这里使用 APP 的应该是 咕咚 。(现在Apple Watch Series 已经升级到 9 了)

微信截图_20231026164841

Runner: Jinlei Page: https://jinlei.run/ App: Apple Watch Series 7
申请加入😄

yihong 哥,我这里是用 Apple Watch Series 上传数据到 咕咚,所以,我这里使用 APP 的应该是 咕咚 。(现在Apple Watch Series 已经升级到 9 了)

微信截图_20231026164841

收到

Runner: PPZ
Page: run.dudubbbbbbbbb.top
App: Strava

申请加入 😄

Runner: PPZ Page: run.dudubbbbbbbbb.top App: Strava

申请加入 😄

直接 pr 呀

Runner: Guoxin
Page: https://running.guoxin.space/
App: Strava