Phigros rks Image Maker Template使用教程
项目地址: https://github.com/Tb114/Phigros-rks-Image-Maker-Template
该项目为Phigros-rks-Image-Maker 的启用github-actions版的模板
info.tsv等文件来自于Phigros Resource
Caution
切记, 禁止以任何方式攻击TapTap或鸽游的服务器, 造成的后果不由作者承担
使用步骤
1. 获取SessionToken(必要 )
网上有教程,不过多赘述
2. 以此为模板创建你的仓库
单击右上角绿色按钮Use this template
在弹出菜单中选择Create a new repository
Important
勾选 Include all branches 项(必要) , 使右侧开关显示On
在General的Repository name *栏中填写你的仓库名称(这很重要), (建议使用较短的命名)
Configuration的Choose visibility *项建议保持public(否则你无法在不登录时看到),保证你的SessionToken不会泄露(前提是你需要跟着我做)
点击绿色按钮Create Repository并稍等片刻
3. 配置Repository secrets
打开刚才Github自动为你跳转到的网页,若不小心关闭,可在点击页面右上角用户头像给出的菜单中选择Your Repositories并找到你刚才命名的仓库
转到Settings页面
在左侧菜单中找到Secrets and variables项
点击该项再点击Actions
点击绿色按钮New repository secret
Important
在Name*栏中填写SESSIONTOKEN, 必须严格相同
在Secret*栏中填写你的SessionToken(详见步骤1)
点击绿色按钮Add secret
4.更新文件(建议在创建仓库后进行一次,该项会定时执行)
5.生成你的成绩图(该项也会定时执行)
同步骤4,但是应该点击Actions栏中的Run main.py hourly
6.找到你的成绩图
转到Code页面
找到并点击result.png文件(国内网络可能需要一定加载时间)或者打开网址https://github.com/{你的用户名}/{刚才你创建仓库的名称}/blob/main/result.png
Tip
国内访问速度慢可以在网址前面加https://github.akams.cn/即https://github.akams.cn/https://github.com/{你的用户名}/{刚才你创建仓库的名称}/blob/main/result.png/
如: 你的用户名叫lchzh3473, 刚才命名的仓库名称为phi_rks_image, 那么你图片对应的网址便是 https://github.com/lchzh3473/phi_rks_image/blob/main/result.png?RAW=TRUE或https://github.akams.cn/https://github.com/lchzh3473/phi_rks_image/blob/main/result.png
Phigros rks Image Maker Template使用教程
项目地址: https://github.com/Tb114/Phigros-rks-Image-Maker-Template
该项目为Phigros-rks-Image-Maker的启用github-actions版的模板
info.tsv等文件来自于Phigros Resource
Caution
切记, 禁止以任何方式攻击TapTap或鸽游的服务器, 造成的后果不由作者承担
使用步骤
1. 获取SessionToken(必要)
网上有教程,不过多赘述
2. 以此为模板创建你的仓库
Use this templateNote
如果没有,看看是不是找错仓库了,是Phigros-rks-Image-Maker-Template而不是Phigros-rks-Image-Maker
Create a new repositoryImportant
Include all branches项(必要), 使右侧开关显示OnGeneral的Repository name *栏中填写你的仓库名称(这很重要), (建议使用较短的命名)Configuration的Choose visibility *项建议保持public(否则你无法在不登录时看到),保证你的SessionToken不会泄露(前提是你需要跟着我做)Create Repository并稍等片刻3. 配置Repository secrets
Your Repositories并找到你刚才命名的仓库Settings页面Secrets and variables项New repository secretImportant
Name*栏中填写SESSIONTOKEN, 必须严格相同Secret*栏中填写你的SessionToken(详见步骤1)Add secret4.更新文件(建议在创建仓库后进行一次,该项会定时执行)
Actions页面Actions栏中的Run updatefile.py dailyRun workflow然后点击绿色按钮Run workflow经检查若发现步骤没有出错可以在仓库Phigros-rks-Image-Maker或Phigros-rks-Image-Maker-Template提交一下Issue,也可以bilibili上面私信
5.生成你的成绩图(该项也会定时执行)
Actions栏中的Run main.py hourly6.找到你的成绩图
Code页面result.png文件(国内网络可能需要一定加载时间)或者打开网址https://github.com/{你的用户名}/{刚才你创建仓库的名称}/blob/main/result.pngTip
国内访问速度慢可以在网址前面加
https://github.akams.cn/即https://github.akams.cn/https://github.com/{你的用户名}/{刚才你创建仓库的名称}/blob/main/result.png/如: 你的用户名叫
lchzh3473, 刚才命名的仓库名称为phi_rks_image, 那么你图片对应的网址便是https://github.com/lchzh3473/phi_rks_image/blob/main/result.png?RAW=TRUE或https://github.akams.cn/https://github.com/lchzh3473/phi_rks_image/blob/main/result.png