
现在支持了 clone,并且有两种方式可以选择
1 clone 走 github.com.cnpmjs.org (302) (默认)
2 clone 走 cloudflare workers
利用 Cloudflare Workers 对 github release 、archive 以及项目文件进行加速,并且支持 clone,部署无需服务器且自带 cdn 。
使用 直接在 copy 出来的文件 url 或者 https clone 地址前加https://gh.api.99988866.xyz/ 即可 比如
git clone https://gh.api.99988866.xyz/https://github.com/hunshcn/gh-proxy.git 也可以直接访问,在 input 输入
更多使用方法可以移步我的博客
开源于 Github https://github.com/hunshcn/gh-proxy
1 nl101531 Mar 24, 2020 赞一个,这东西有用 |
2 justin2018 Mar 24, 2020 刚刚发了一个帖子咨询 如何加速 GitHub 就看到楼主的帖子了 试一试 谢谢楼主分享~ |
3 lework1234 Mar 24, 2020 赞 |
4 care Mar 24, 2020 via iPhone 像 composer 这种默认要从 github 拉项目依赖的包管理器这种方式可以使用吗? |
6 just1 OP @care #4 只需要将 composer.json 里面在 github.com 网址如上使规则替换就可以,composer 下载 repositories 事实上是 https 协议的 clone |
7 0lobster0 Mar 25, 2020 via Android 有个问题请教,Cloudflare Workers 部署的网站,如 jsproxy 。不挂代理访问不上啊,请问你这个部署的可以访问,是怎么回事? |
8 just1 OP @0lobster0 #7 没遇到过这个问题,workers.dev 我也可以直接访问,不然你尝试绑定一下自己的域名? |
9 0lobster0 Mar 25, 2020 via Android @just1 #8 是我自己的问题,workers 那块自己取的名子,换了一个就好了,可能之前名字( 996icu )全网封杀吧 |
10 bbbb Mar 25, 2020 太感谢了,在服务器上想操作的的时候真是太方便了。 |
11 hippieZhou Mar 27, 2020 支持,昨天 Clone 一个仓库花费了我一天的时间,每次快要完成的时候就 EOF 了 |
12 neighbads Mar 27, 2020 配置自定义域名后是不是有问题。一直 523 |
Worker 页面配置了自定义域名,cname 转到 worker 地址 https://gh.api.99988866.xyz |
15 just1 OP @neighbads #14 自带的 dev 域名应该可以使用吧? 如果要自定义域名,到域名的 workers 那里添加路由配置 sub.youdomain.com/*到你的 worker,然后还是得为 sub 指定一个 A 记录不然不签发 ssl 证书 |
17 chich14 Mar 28, 2020 试用了一下,很方便,赞一个 |
18 INTEL2333 Apr 4, 2020 不错不错,比 jsproxy 方便 |
19 stille Apr 8, 2020 这个能部署到 vps 么? 求教程 |
20 avenger Apr 22, 2020 感谢楼主,请问支持私有 repo 吗? |
21 huyinjie Jul 9, 2020 感谢楼主 请问是否能支持下类似 https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh 的加速,某些云服务连接不上 |
22 lxk11153 Aug 4, 2020 "warning: redirecting to" 是怎么了? |
23 just1 OP |
24 lxk11153 Aug 4, 2020 @just1 #23 不过现在又快起来了,之前有次几 kb/s > git clone --depth 1 'https://gh.api.99988866.xyz/https://github.com/DaHMao/SameCourse.git' Cloning into 'SameCourse'... warning: redirecting to https://github.com.cnpmjs.org/DaHMao/SameCourse.git/ > git clone 'https://gh.api.99988866.xyz/https://github.com/DaHMao/SameCourse.git' Cloning into 'SameCourse'... warning: redirecting to https://github.com.cnpmjs.org/DaHMao/SameCourse.git/ |