diff --git a/README.md b/README.md index c8cf728..08ca201 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ github release、archive以及项目文件的加速项目,支持clone,有Clo `index.js`默认配置下项目文件会走jsDelivr,如需走worker,修改Config变量即可 -`ASSET_URL`是静态资源的url(实际上就是现在显示出来的那个输入框单页面) +`ASSET_URL`是静态资源的url,即现在显示出来的那个输入框单页面;可在fork后启用仓库pages服务(定位至docs目录)自行定制 `PREFIX`是前缀,默认(根路径情况为"/"),如果自定义路由为example.com/gh/*,请将PREFIX改为 '/gh/',注意,少一个杠都会错! diff --git a/docs/favicon.png b/docs/favicon.png new file mode 100644 index 0000000..6bef239 Binary files /dev/null and b/docs/favicon.png differ diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..1f02794 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,147 @@ + + + + + + + + + GitHub 文件加速 + + +Fork me on GitHub +

GitHub 文件加速

+
+ + +

GitHub文件链接带不带协议头都可以,支持release、archive以及文件,右键复制出来的链接都是符合标准的,更多用法、clone加速请参考这篇文章

+

release、archive使用cf加速,文件会跳转至JsDelivr

+

注意,不支持项目文件夹

+
+

分支源码:https://github.com/hunshcn/project/archive/master.zip

+

release源码:https://github.com/hunshcn/project/archive/v0.1.0.tar.gz

+

release文件:https://github.com/hunshcn/project/releases/download/v0.1.0/example.zip

+

分支文件:https://github.com/hunshcn/project/blob/master/filename

+
+
+

项目基于Cloudflare Workers,开源于GitHub hunshcn/gh-proxy +

+ +