-
随意创建一个Gist
-
将 gist id 配置到
config.yaml中 -
将 gist token 配置到
config.yaml中
-
将 worker 部署到 cloudflare workers
-
变量和机密设置GITHUB_USER为你的 github 用户名 -
变量和机密设置GITHUB_ID为你的 gist id -
变量和机密设置AUTH_TOKEN为访问密钥 -
将
github-api-mirror配置为你的 worker 地址
github-api-mirror: "https://your-worker-url/github"
如果配置了Woker , 将
key修改为对应的即可 订阅格式为https://your-worker-url/gist?key=all.yaml&token=AUTH_TOKEN
- yaml格式的订阅
https://gist.githubusercontent.com/YOUR_GITHUB_USERNAME/YOUR_GIST_ID/raw/all.yaml
- base64编码的订阅
https://gist.githubusercontent.com/YOUR_GITHUB_USERNAME/YOUR_GIST_ID/raw/base64.txt
- 带规则的mihomo.yaml文件
https://gist.githubusercontent.com/YOUR_GITHUB_USERNAME/YOUR_GIST_ID/raw/mihomo.yaml