{"id":16541589,"url":"https://github.com/gebangfeng/files-mirrors","last_synced_at":"2026-05-12T14:01:36.518Z","repository":{"id":243805666,"uuid":"813472490","full_name":"gebangfeng/files-mirrors","owner":"gebangfeng","description":"多平台文件下载代理服务,支持 GitHub, k8s, Helm 等网站.","archived":false,"fork":false,"pushed_at":"2024-06-11T08:21:09.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T04:41:58.768Z","etag":null,"topics":["files-mirrors","github","helm","kubernetes"],"latest_commit_sha":null,"homepage":"","language":null,"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/gebangfeng.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}},"created_at":"2024-06-11T06:44:18.000Z","updated_at":"2024-07-17T05:30:17.000Z","dependencies_parsed_at":"2024-06-11T09:24:53.097Z","dependency_job_id":null,"html_url":"https://github.com/gebangfeng/files-mirrors","commit_stats":null,"previous_names":["gebangfeng/files-mirrors"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gebangfeng/files-mirrors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gebangfeng%2Ffiles-mirrors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gebangfeng%2Ffiles-mirrors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gebangfeng%2Ffiles-mirrors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gebangfeng%2Ffiles-mirrors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gebangfeng","download_url":"https://codeload.github.com/gebangfeng/files-mirrors/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gebangfeng%2Ffiles-mirrors/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32942147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T09:19:52.626Z","status":"ssl_error","status_checked_at":"2026-05-12T09:17:33.438Z","response_time":102,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["files-mirrors","github","helm","kubernetes"],"created_at":"2024-10-11T18:55:25.005Z","updated_at":"2026-05-12T14:01:36.485Z","avatar_url":"https://github.com/gebangfeng.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# files-mirrors\n\n[![Auth](https://img.shields.io/badge/Auth-gebangfeng-ff69b4)](https://github.com/gebangfeng)\n[![GitHub contributors](https://img.shields.io/github/contributors/gebangfeng/files-mirrors)](https://github.com/gebangfeng/files-mirrors/graphs/contributors)\n[![GitHub Issues](https://img.shields.io/github/issues/gebangfeng/files-mirrors.svg)](https://github.com/gebangfeng/files-mirrors/issues)\n[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/gebangfeng/files-mirrors)](https://github.com/gebangfeng/files-mirrors/pulls)\n[![GitHub Pull Requests](https://img.shields.io/github/stars/gebangfeng/files-mirrors)](https://github.com/gebangfeng/files-mirrors/stargazers)\n[![HitCount](https://views.whatilearened.today/views/github/gebangfeng/files-mirrors.svg)](https://github.com/gebangfeng/files-mirrors)\n[![GitHub license](https://img.shields.io/github/license/gebangfeng/files-mirrors)](https://github.com/gebangfeng/files-mirrors/blob/main/LICENSE)\n\n\u003cp\u003e 多平台文件下载代理服务,支持 GitHub, k8s, Helm 等网站. \u003c/p\u003e\n\n\u003cimg src=\"https://cdn.jsdelivr.net/gh/gebangfeng/tu@main/img/image_20240420_214408.gif\" width=\"800\"  height=\"3\"\u003e\n\u003c/div\u003e\u003cbr\u003e\n\n## 背景\n在服务器上需要下载Github上的一个文件，或者要clone一个仓库，网络原因，下载速度很慢。\n\n## 方案\n- 通过增加一个域名前缀，利用代理服务器加速下载。\n- 稳定可靠，更新实时。\n- 可以直接用于 github, k8s, helm 等网站的文件下载。\n## 使用方法\n\n在原始 URL 上面加入 `file.kubesre.xyz` 的 *前缀* 就可以使用。比如：\n\n```bash\n# Helm 下载原始URL\nwget https://get.helm.sh/helm-v3.9.1-linux-amd64.tar.gz\n\n# 加速后的 URL\nwget https://file.kubesre.xyz/https://get.helm.sh/helm-v3.9.1-linux-amd64.tar.gz\n```\n\n即可加速下载, 代理服务器不缓存文件，文件从原站直接返回给客户端。\n## 支持代理的网站\n 这是人工配置的, 有需求提 Issue.\n \ngithub.com\n- https://gist.github.com\n- https://github.com\n- https://raw.githubusercontent.com\n- https://gist.githubusercontent.com\n- https://objects.githubusercontent.com\n\nk8s.io\n- https://cdn.dl.k8s.io\n- https://dl.k8s.io\n\nhelm.sh\n- https://get.helm.sh\n\n## 最佳实践\n\n## 使用场景1 - 安装 Helm\n\n```bash\ncd /tmp\nexport HELM_VERSION=\"v3.9.3\"\n\nwget \"https://file.kubesre.xyz/https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz\"\ntar -zxvf helm-${HELM_VERSION}-linux-amd64.tar.gz\nmv linux-amd64/helm /usr/local/bin/helm\nhelm version\n```\n## 使用场景2 - Clone Github 仓库\n```bash\ncd /tmp\ngit clone https://file.kubesre.xyz/https://github.com/kubesre/docker-registry-mirrors.git\n```\n欢迎贡献更多的场景\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgebangfeng%2Ffiles-mirrors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgebangfeng%2Ffiles-mirrors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgebangfeng%2Ffiles-mirrors/lists"}