Gist
# Gist 原始文件
curl "https://gh-proxy.cn/github/https://gist.githubusercontent.com/<user>/<id>/raw/<file>"
# Gist 页面
curl -L "https://gh-proxy.cn/github/https://gist.github.com/<user>/<id>"
Gist 的 raw 地址返回纯文本,适合在脚本中直接读取配置片段。
# Gist 原始文件
curl "https://gh-proxy.cn/github/https://gist.githubusercontent.com/<user>/<id>/raw/<file>"
# Gist 页面
curl -L "https://gh-proxy.cn/github/https://gist.github.com/<user>/<id>"
Gist 的 raw 地址返回纯文本,适合在脚本中直接读取配置片段。