Xget 是一个开源免费的提供超高性能的一站式下载资源加速引擎,用于解决从 GitHub 下载代码、拉取 Docker 镜像或下载 AI 模型文件,经常遇到网络超时和下载缓慢的问题,基于 Cloudflare 全球 330+ 边缘节点构建,支持毫秒级响应、多线程分片下载、HTTP/3 协议、智能多重压缩等技术,提供公共实例可直接使用,也支持一键部署到 Cloudflare Workers,还有浏览器插件可使用。
J.Cling 推荐拓展:
- 60s API – 高质量开源可靠全球CDN加速开放API集合
- HubProxy – Docker 和 GitHub 加速代理服务器
- Watt Toolkit – Steam、Epic、Uplay、GitHub等平台加速工具
- SwitchHosts Hosts文件管理工具 – 快速切换|语法高亮|远程加载


主要功能特点
⚡ 极速性能 – 突破传统加速器瓶颈
- ⚡ 毫秒级响应:Cloudflare 全球 330+ 边缘节点,平均响应时间 < 50ms
- 🌐 HTTP/3 极速协议:启用最新 HTTP/3 协议,连接延迟降低 40%,传输速度提升 30%
- 📦 智能多重压缩:gzip、deflate、brotli 三重压缩算法,传输效率提升 60%
- 🔗 零延迟预连接:连接预热和保持活跃,消除握手开销,实现秒级响应
- ⚡ 并行分片下载:完整支持 HTTP Range 请求,多线程下载速度倍增
- 🎯 智能路由优化:自动选择最优传输路径,避开网络拥堵节点
🌐 多平台深度集成
- 一站式多平台支持:统一支持代码存储库、包管理器、AI 推理提供商、容器注册表、模型与数据集托管平台
- 智能识别与转换:自动识别平台前缀并转换为目标平台的正确 URL 结构
- 一致的加速体验:无论文件类型或来源,均可享受统一且稳定的极速下载服务
🔒 企业级安全保障
- 多层安全标头:
Strict-Transport-Security
:强制 HTTPS 传输,预防中间人攻击X-Frame-Options: DENY
:防止点击劫持攻击X-XSS-Protection
:内置 XSS 防护机制Content-Security-Policy
:严格的内容安全策略Referrer-Policy
:控制引用信息泄露
- 请求验证机制:
- HTTP 方法白名单:常规请求限制为 GET/HEAD,Git 操作动态允许 POST
- 路径长度限制:防止超长 URL 攻击(最大 2048 字符)
- 输入清理:防止路径遍历和注入攻击
- 超时保护:30 秒请求超时,防止资源耗尽和恶意请求
🚀 现代架构与可靠性
- 智能重试机制:
- 最大 3 次重试,线性延迟策略(1000ms × 重试次数)
- 自动错误恢复,提高下载成功率
- 超时检测和中断处理
- 高效缓存策略:
- 1800 秒(30 分钟)默认缓存时长,显著减少源站压力
- Git 操作跳过缓存,确保实时性
- 基于 Cloudflare Cache API 的边缘缓存
- 性能监控系统:
- 内置
PerformanceMonitor
类,实时追踪请求各阶段耗时 - 通过
X-Performance-Metrics
响应头提供详细性能数据 - 支持缓存命中率统计和优化建议
- 内置
🎯 Git 协议完全兼容
- 智能协议检测:
- 自动识别 Git 特定端点(
/info/refs
、/git-upload-pack
、/git-receive-pack
) - 检测 Git 客户端 User-Agent 模式
- 支持
service=git-upload-pack
等查询参数
- 自动识别 Git 特定端点(
- 完整操作支持:
git clone
:完整存储库克隆,支持浅克隆和分支指定git push
:代码推送和分支管理git pull/fetch
:增量更新和远程同步git submodule
:子模块递归克隆
- 协议优化:
- 保持 Git 专用请求头和认证信息
- 智能 User-Agent 处理(默认
git/2.34.1
) - 支持 Git LFS 大文件传输
📱 生态系统集成
- 专用浏览器扩展:Xget Now 提供无缝体验
- 自动 URL 重定向,无需手动修改 URL
- 支持自定义 Xget 实例域名
- 多平台偏好设置和黑白名单管理
- 本地处理,确保隐私安全
- 下载工具兼容:完美支持 wget、cURL、aria2、IDM 等主流下载工具
- CI/CD 集成:可直接在 GitHub Actions、GitLab CI 等环境中使用
📖 URL 转换规则
使用公共实例 xget.xi-xu.me
或你自己部署的实例,只需简单替换域名并添加平台前缀:
官方使用说明
转换格式
平台 | 平台前缀 | 原始 URL 格式 | 加速 URL 格式 |
---|---|---|---|
GitHub | gh | https://github.com/... | https://xget.xi-xu.me/gh/... |
GitLab | gl | https://gitlab.com/... | https://xget.xi-xu.me/gl/... |
Gitea | gitea | https://gitea.com/... | https://xget.xi-xu.me/gitea/... |
Codeberg | codeberg | https://codeberg.org/... | https://xget.xi-xu.me/codeberg/... |
SourceForge | sf | https://sourceforge.net/... | https://xget.xi-xu.me/sf/... |
AOSP | aosp | https://android.googlesource.com/... | https://xget.xi-xu.me/aosp/... |
Hugging Face | hf | https://huggingface.co/... | https://xget.xi-xu.me/hf/... |
npm | npm | https://registry.npmjs.org/... | https://xget.xi-xu.me/npm/... |
PyPI | pypi | https://pypi.org/... | https://xget.xi-xu.me/pypi/... |
conda | conda | https://repo.anaconda.com/... 和 https://conda.anaconda.org/... | https://xget.xi-xu.me/conda/... 和 https://xget.xi-xu.me/conda/community/... |
Maven | maven | https://repo1.maven.org/... | https://xget.xi-xu.me/maven/... |
Apache | apache | https://downloads.apache.org/... | https://xget.xi-xu.me/apache/... |
Gradle | gradle | https://plugins.gradle.org/... | https://xget.xi-xu.me/gradle/... |
Homebrew | homebrew | https://github.com/Homebrew/... | https://xget.xi-xu.me/homebrew/... |
RubyGems | rubygems | https://rubygems.org/... | https://xget.xi-xu.me/rubygems/... |
CRAN | cran | https://cran.r-project.org/... | https://xget.xi-xu.me/cran/... |
CPAN | cpan | https://www.cpan.org/... | https://xget.xi-xu.me/cpan/... |
CTAN | ctan | https://tug.ctan.org/... | https://xget.xi-xu.me/ctan/... |
Go 模块 | golang | https://proxy.golang.org/... | https://xget.xi-xu.me/golang/... |
NuGet | nuget | https://api.nuget.org/... | https://xget.xi-xu.me/nuget/... |
Rust Crates | crates | https://crates.io/... | https://xget.xi-xu.me/crates/... |
Packagist | packagist | https://repo.packagist.org/... | https://xget.xi-xu.me/packagist/... |
Debian | debian | https://deb.debian.org/... | https://xget.xi-xu.me/debian/... |
Ubuntu | ubuntu | https://archive.ubuntu.com/... | https://xget.xi-xu.me/ubuntu/... |
Fedora | fedora | https://dl.fedoraproject.org/... | https://xget.xi-xu.me/fedora/... |
Rocky Linux | rocky | https://download.rockylinux.org/... | https://xget.xi-xu.me/rocky/... |
openSUSE | opensuse | https://download.opensuse.org/... | https://xget.xi-xu.me/opensuse/... |
Arch Linux | arch | https://geo.mirror.pkgbuild.com/... | https://xget.xi-xu.me/arch/... |
arXiv | arxiv | https://arxiv.org/... | https://xget.xi-xu.me/arxiv/... |
F-Droid | fdroid | https://f-droid.org/... | https://xget.xi-xu.me/fdroid/... |
AI 推理提供商 | ip | 见 AI 推理提供商 | 见 AI 推理提供商 |
容器注册表 | cr | 见容器注册表 | 见容器注册表 |
获取方式
官方网站
https://github.com/xixu-me/Xget
访问
更多趣软酷站请访问:
https://www.gewuzhizhi.vip/software-store/all-software-store/internet-resources
★★★ 强烈推荐 ★★★ 点击下图,500+常用办公精品软件一键直达!
© 版权声明
文章版权归作者所有,未经允许请勿转载。