Host a Cloudflare Workers proxy so your team can download GitHub releases at full speed from any region.
Run a Flask server on a fast VPS to relay GitHub source archives and release files to users with slow GitHub access.
Set up a repository allowlist so your proxy only relays downloads from approved GitHub projects.
Use the Docker version to quickly deploy a self-hosted GitHub download relay on your server.
Requires either a Cloudflare account for the Workers version or a server with Python or Docker for the Flask version.
gh-proxy is a proxy tool that speeds up downloads from GitHub for users who face slow or restricted access to the site. Instead of downloading directly from GitHub, you prepend your proxy server's address to any GitHub URL and the request is relayed through the proxy, which can be hosted in a region with better connectivity. The tool supports several types of GitHub content: branch source code archives, release packages and their attached files, individual files from a branch or specific commit, and GitHub Gist raw files. It also supports git clone operations for both public and private repositories (private repos require passing a token in the URL). Two deployment options are provided. The Cloudflare Workers version runs as a serverless script on Cloudflare's global network, with no server required. The free tier allows up to 100,000 requests per day with a limit of 1,000 requests per minute, a paid plan at $5 per month raises that to 10 million requests per month. The Python version uses Flask and can be run directly on a server or via Docker. The Python version also supports extra controls: a file size limit that redirects oversized downloads back to the original GitHub URL, and per-repository blocklists or allowlists. To use the proxy, you copy a GitHub URL and prefix it with the proxy domain. For example, a release file URL becomes the proxy domain followed by the full GitHub release URL. The project includes a public demo instance, though the README advises self-deployment for heavy use to avoid overloading the shared demo. The project is written in Python (for the server version) and JavaScript (for the Cloudflare Workers version).
← hunshcn on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.