Skip to content

namegenliang/gh-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gh-proxy-go

一个用于代理 GitHub 原始资源(如 raw.githubusercontent.comgithub.com/blob/... 等)的 Go 程序,支持配置黑白名单、大小限制,并内置静态页面。

特性

  • 支持反代 GitHub Releases、raw、blob、gist、archive 等常见地址
  • 支持配置 config.json 管理白名单/黑名单/大小限制
  • 支持嵌入静态资源(如 index.html
  • 支持通过 GitHub Actions 自动构建 Docker 镜像
  • 支持部署在任意 Linux 服务器,结合 NGINX 使用

快速开始

使用 Docker 本地构建并运行

docker run -d --name gh-proxy --restart=always -p 8080:8080 ghcr.io/namegenliang/gh-proxy-go:latest

程序默认读取项目根目录的 config.json 配置文件。

🔑 LICENSE

MIT License

About

简单的 github release、archive以及项目文件的加速项目

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors