Skip to content

Latest commit

 

History

History
60 lines (37 loc) · 1.26 KB

gist.md

File metadata and controls

60 lines (37 loc) · 1.26 KB

gist 保存方法

部署

  • 随意创建一个Gist

  • 将 gist id 配置到 config.yaml

  • 将 gist token 配置到 config.yaml

Worker 反代 GIthub API

  • 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

  • 全部订阅
https://gist.githubusercontent.com/YOUR_GITHUB_USERNAME/YOUR_GIST_ID/raw/all.yaml
  • 解锁openai的节点
https://gist.githubusercontent.com/YOUR_GITHUB_USERNAME/YOUR_GIST_ID/raw/openai.yaml
  • 解锁netflix的节点
https://gist.githubusercontent.com/YOUR_GITHUB_USERNAME/YOUR_GIST_ID/raw/netflix.yaml
  • 解锁disney的节点
https://gist.githubusercontent.com/YOUR_GITHUB_USERNAME/YOUR_GIST_ID/raw/disney.yaml
  • 解锁youtube的节点
https://gist.githubusercontent.com/YOUR_GITHUB_USERNAME/YOUR_GIST_ID/raw/youtube.yaml