gh-proxy
gh-proxy copied to clipboard
github release、archive以及项目文件的加速项目
你访问我的试试 我都可以访问啊  国内的就是这样 _Originally posted by @hsl6476 in https://github.com/hunshcn/gh-proxy/issues/68#issuecomment-1278845519_
比如拉https://github.com/KingRan/KR.git这个库 配置文件和拉库链接如何配置呀??
【镜像站点搜集】
因为演示站确实无法保证可用性,24小时的额度基本16小时就会用完,但是需求也确实有。 可以在本帖附上愿意被索引的镜像站点。 先贴俩比较大的 - https://mirror.ghproxy.com/ - https://ghproxy.org/ 也感谢镜像站的维护者们,非 worker 版本成本还是不低的。 镜像站可能会由于各种原因禁止部分地址访问,这很合理也很正常。所以,一希望开发者合理配置访问频次,尤其是一些分发量大的项目,二请不要由于访问原因开 issue 了。
 使用docker部署后出现502错误 docker run -d --name="gh-proxy-py" \ -p 0.0.0.0:8888:80 \ --restart=always \ hunsh/gh-proxy-py:latest
现在使用同样的nginx配置,clone时不会提示502 nginx反代配置如下 ``` location / { proxy_pass http://127.0.0.1:59740/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Range $http_range; proxy_set_header If-Range $http_if_range; proxy_set_header Connection ''; } ``` chatgpt修改main.py之后测试正常 ``` from flask import...
在浏览器中访问:https://user:[email protected]/https://raw.githubusercontent.com/xxxxxx/xxxxxx 显示 404: Not Found ghproxy.com是自己在cloudflare建的代理,ghp token已经勾选了全部repo权限 在浏览器中访问公共库没问题:https://ghproxy.com/https://raw.githubusercontent.com/xxxxxx/xxxxxx
# 复现 可以试一下用代理下载这个链接对应的文件 [proxyURL]https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf `git clone [proxyURL]https://github.com/romkatv/powerlevel10k-media.git` 不会报错,但是用 wget 获取其中一个特定文件会报 403 `wget [proxyURL]https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf` 只能将 github.com 域名修改为 raw.githubusercontent.com 来使用,例如 `wget [proxyURL]https://raw.githubusercontent.com/romkatv/powerlevel10k-media/master/MesloLGS%20NF%20Bold%20Italic.ttf ` 这样才不会报错 ## 希望修复一下
已经用nginx反代到二级目录了,但是被加速过的链接会直接跳转到一级目录下。 通过https://example.com/gh/ 加速后会跳转到 https://example.com/https://github.com/hunshcn/gh-proxy.git
”GitHub“ 的拼写是固定为 ”GitHub“ 的,不应为 ”Github“
上传index.js提示Uncaught SyntaxError: The requested module 'index.js' does not provide an export named 'default' at .internal-967d5db5-ebd9-479b-a5ca-eafd7ce8bfa5-collection.js:2:7