About this project

gh-proxy is a GitHub resource acceleration proxy project designed to help users quickly access GitHub releases, archives, and project files. The project provides two deployment versions: a Cloudflare Workers serverless version and a Python version. The Cloudflare Workers version is simple to deploy—just deploy the code to Cloudflare Workers. The free tier offers 100,000 requests per day with a limit of 1,000 requests per minute. The Python version is more feature-rich, supporting file size limits (returns the original address if exceeded), banning/whitelisting specific users or repositories, and a passby feature. It can be deployed via Docker or direct installation. Usage is straightforward: simply prepend the proxy prefix to the original GitHub URL. It supports various resource types, including branch source code, release source code, release files, branch files, commit files, and gists. It also supports accelerating repository cloning via the git clone command, including private repositories (requiring TOKEN authentication). The project provides a public demo site, but it is recommended to deploy your own instance for large-scale use.