anotia/gh-proxy-go

By anotia

Updated over 2 years ago

A URL proxy similar to hunshcn/gh-proxy, but MUCH lighter!

Image
Networking
Developer tools
Web servers
0

683

anotia/gh-proxy-go repository overview

gh-proxy-go

GitHub: https://github.com/AnotiaWang/gh-proxy-go

简单的 GitHub 文件代理工具。修改自 hunshcn/gh-proxy,但是更轻量。

A simple Go proxy for GitHub API, but MUCH lighter. Ported & modified from hunshcn/gh-proxy.

已知问题:不支持 Git clone。制作本项目主要是为了节约硬盘空间,本人未用到其 git clone 代理功能,因此没有实现(或者说修复),欢迎 PR。

用法

Docker
docker run -d -p 80:80 --name gh-proxy-go anotia/gh-proxy-go
命令行运行

在 Releases 下载对应平台的二进制文件运行,或者使用 Go 编译后运行。

# 直接运行在 0.0.0.0:80
./gh-proxy-go

# 修改端口 / 地址
./gh-proxy-go --port 8080 --host 127.0.0.1

Tag summary

Content type

Image

Digest

sha256:98aaf36da

Size

6.1 MB

Last updated

over 2 years ago

docker pull anotia/gh-proxy-go:1.0.1