关于使用GitHub作为图床推荐/国内GitHub加速/cdn加速链接/自定义cdn加速

关于使用 GitHub 作为图床推荐

第一种:开源项目 picxhttps://picx-docs.xpoet.cn/usage-guide/get-start.html

  • PicX 图床服务功能基于 GitHub API 实现,你需要登录 GitHub 账号到 PicX 才能完整使用。

  • 支持 GitHub OAuth 授权登录 和 填写 GitHub Token 登录 这两种方式。

  • 使用非常简单,直接在线使用一键授权https://picx.xpoet.cn/
    alt text

  • picx 自定义加速网址配置

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# GitHub picx 自定义加速

- githubusercontent
`https://raw.githubusercontent.com/{{owner}}/{{repo}}/refs/heads/{{branch}}/{{path}}`

- fastly-jsdelivr
`https://fastly.jsdelivr.net/gh/{{owner}}/{{repo}}@{{branch}}/{{path}}`

- gitmirror-raw
`https://raw.gitmirror.com/{{owner}}/{{repo}}/refs/heads/{{branch}}/{{path}}`

- gitmirror-github
`https://hub.gitmirror.com/github.com/{{owner}}/{{repo}}/raw/{{branch}}/{{path}}`

- pipers(国内,速度稍慢)
`https://proxy.pipers.cn/github.com/{{owner}}/{{repo}}/raw/{{branch}}/{{path}}`

第二种:Picgo+Github 搭建图床