finds.dev← search

// the find

cmliu/CF-Workers-GitHub

★ 817 · MIT · updated Apr 2025

这个项目是一个基于 Cloudflare Workers 的 Github 镜像代理工具。它能够中转 Github 项目请求,解决一些访问限制和加速访问的问题。

A single-file Cloudflare Worker that proxies GitHub archive downloads, release assets, blob files, and gist raw content through your own domain, mainly to get around network restrictions (its origins are a fork of gh-proxy/jsproxy aimed at mainland China access issues). It's for anyone who needs a disguisable, self-hosted GitHub mirror rather than relying on a shared public instance.

The whole thing is one _worker.js file with no build step, so deploying to Workers or Pages is copy-paste and a few minutes. It covers a wide surface of GitHub URL shapes (branch archives, release tarballs/zips, blob files by branch or commit SHA, gist raw URLs) rather than just release downloads like many similar proxies. The URL/URL302 env vars let you disguise the homepage as nginx or redirect elsewhere, which is a real and apparently necessary feature given the README's own warning about phishing flags.

The README admits the demo domain is already poisoned by the GFW and that the project risks being flagged as a phishing site — this isn't an edge case, it's baked into the intended use. Private repo access works by putting a PAT directly in the clone URL (git clone https://user:TOKEN@...), which lands tokens in shell history, CI logs, and git config in plaintext. There's no rate limiting, abuse protection, or caching logic described beyond domain disguise tricks, and a single JS file with no tests or structure means any bug is a production incident with no safety net. Everything beyond the README is undocumented in English, which will limit adoption outside Chinese-speaking users despite the star count.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →