{"id":51169843,"url":"https://github.com/starudream/proxy-worker","last_synced_at":"2026-06-26T23:30:44.504Z","repository":{"id":364566284,"uuid":"1268342546","full_name":"starudream/proxy-worker","owner":"starudream","description":"Cloudflare Workers proxy for allowlisted GitHub release/archive/raw downloads and Docker registry mirror traffic.","archived":false,"fork":false,"pushed_at":"2026-06-22T12:31:21.000Z","size":78,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-22T13:07:21.440Z","etag":null,"topics":["cloudflare-workers","docker-proxy","github-proxy","wrangler"],"latest_commit_sha":null,"homepage":"https://proxy.starudream.cn","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/starudream.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-06-13T12:20:48.000Z","updated_at":"2026-06-22T12:31:33.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/starudream/proxy-worker","commit_stats":null,"previous_names":["starudream/proxy-worker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/starudream/proxy-worker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starudream%2Fproxy-worker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starudream%2Fproxy-worker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starudream%2Fproxy-worker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starudream%2Fproxy-worker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/starudream","download_url":"https://codeload.github.com/starudream/proxy-worker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starudream%2Fproxy-worker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34835785,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-26T02:00:06.560Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudflare-workers","docker-proxy","github-proxy","wrangler"],"created_at":"2026-06-26T23:30:44.442Z","updated_at":"2026-06-26T23:30:44.499Z","avatar_url":"https://github.com/starudream.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Proxy Worker\n\n[English](./README.md) | [简体中文](./README.zh_CN.md)\n\nA Cloudflare Workers proxy service for GitHub file downloads and Docker registry mirror traffic.\n\n## Endpoints\n\n| Route                               | URL                           |\n|-------------------------------------|-------------------------------|\n| Global Cloudflare                   | \u003chttps://proxy.starudream.cn\u003e |\n| Tencent Cloud EO for mainland China | \u003chttps://proxy.52xckl.cn\u003e     |\n\nThe examples below use `https://proxy.starudream.cn` by default. For mainland China networks, replace the domain with `https://proxy.52xckl.cn`.\n\n## GitHub Proxy\n\nThe GitHub proxy downloads allowlisted GitHub release, archive, and raw files.\n\n### Full URL\n\nAppend the GitHub URL to the proxy endpoint:\n\n```bash\ncurl -L https://proxy.starudream.cn/github/https://github.com/k3s-io/k3s/releases/download/v1.33.1%2Bk3s1/k3s\n```\n\nThe `/github/` prefix can also be omitted:\n\n```bash\ncurl -L https://proxy.starudream.cn/https://github.com/k3s-io/k3s/releases/download/v1.33.1%2Bk3s1/k3s\n```\n\n### Short Path\n\nThe proxy supports `owner/repo/releases/...`, `owner/repo/archive/...`, and `owner/repo/raw/...` paths:\n\n```bash\ncurl -L https://proxy.starudream.cn/k3s-io/k3s/raw/refs/tags/v1.33.1%2Bk3s1/install.sh\n```\n\n```bash\ncurl -L https://proxy.starudream.cn/fatedier/frp/releases/download/v0.62.1/frp_0.62.1_linux_amd64.tar.gz\n```\n\nThe current GitHub allowlist is maintained in [`src/settings.json`](./src/settings.json).\n\n## Docker Proxy\n\nThe Docker proxy can be used as a registry mirror. Put the image path after the proxy domain:\n\n```bash\ndocker pull proxy.starudream.cn/docker.io/library/hello-world:latest\n```\n\nMainland China route:\n\n```bash\ndocker pull proxy.52xckl.cn/docker.io/library/hello-world:latest\n```\n\n### Docker Hub Defaults\n\n`docker.io` is the default registry, and `library` is the default namespace. These three forms are equivalent:\n\n```bash\ndocker pull proxy.starudream.cn/docker.io/library/hello-world:latest\ndocker pull proxy.starudream.cn/library/hello-world:latest\ndocker pull proxy.starudream.cn/hello-world:latest\n```\n\nAll of them proxy to:\n\n```text\ndocker.io/library/hello-world:latest\n```\n\n### Other Registries\n\nPut the registry explicitly at the beginning of the image path:\n\n```bash\ndocker pull proxy.starudream.cn/ghcr.io/home-assistant/home-assistant:latest\ndocker pull proxy.starudream.cn/registry.k8s.io/pause:3.10\ndocker pull proxy.starudream.cn/mcr.microsoft.com/dotnet/runtime:9.0\ndocker pull proxy.starudream.cn/quay.io/prometheus/prometheus:latest\n```\n\nCurrently supported registries:\n\n| Registry            | Allowlist Required |\n|---------------------|--------------------|\n| `docker.io`         | Yes                |\n| `gcr.io`            | Yes                |\n| `ghcr.io`           | Yes                |\n| `quay.io`           | Yes                |\n| `registry.k8s.io`   | No                 |\n| `mcr.microsoft.com` | No                 |\n| `docker.elastic.co` | No                 |\n\nRegistries that require an allowlist only proxy image repositories configured in [`src/settings.json`](./src/settings.json).\n\n## Configuration\n\nMain configuration lives in [`src/settings.json`](./src/settings.json):\n\n- `github.owners`: GitHub owners allowed by the proxy.\n- `github.repositories`: GitHub repositories allowed by the proxy.\n- `docker.registries`: Docker registry upstreams and allowlist policies.\n- `docker.repositories`: Docker image repositories that require allowlisting.\n\nSort and deduplicate the configuration:\n\n```bash\npnpm sort:settings\n```\n\nSorting rules:\n\n- Arrays are deduplicated.\n- Rules containing `*` are placed first.\n- Other entries are sorted alphabetically.\n\n## Deployment\n\nThis project deploys to Cloudflare Workers with Wrangler:\n\n```bash\npnpm deploy\n```\n\nGitHub Actions runs the deployment workflow after pushes to the `master` branch.\n\n## [License](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarudream%2Fproxy-worker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstarudream%2Fproxy-worker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarudream%2Fproxy-worker/lists"}