GitHub文件链接带不带协议头都可以,支持release、archive以及文件。
右键复制出来的链接都是符合标准的,直接在copy出来的url前加https://git.covear.xyz/即可。
访问私有仓库可以通过:git clone https://user:[email protected]/https://github.com/xxxx/xxxx
更多用法、clone加速请参考这篇文章。
release、archive使用cf加速,文件会跳转至JsDelivr
注意,不支持项目文件夹
下载 分支源码:https://github.com/DavidDengHui/project/archive/master.zip
下载 release源码:https://github.com/DavidDengHui/project/archive/v0.1.0.tar.gz
下载 release文件:https://github.com/DavidDengHui/project/releases/download/v0.1.0/example.zip
下载 分支文件:https://github.com/DavidDengHui/project/blob/master/filename
下载 commit文件:https://github.com/DavidDengHui/project/blob/abcd/filename
下载 gist:https://gist.githubusercontent.com/cielpy/abcd/raw/cmd.py
访问 仓库地址:https://github.com/DavidDengHui/my
访问 用户首页:DavidDengHui
搜索 仓库名称:WordPress
项目基于Cloudflare Workers,开源于GitHub、Gitee