Xget – 高性能一站式下载资源加速引擎

趣软酷站6小时前更新 J.Cling
1 0

Xget 是一个开源免费的提供超高性能的一站式下载资源加速引擎,用于解决从 GitHub 下载代码、拉取 Docker 镜像或下载 AI 模型文件,经常遇到网络超时和下载缓慢的问题,基于 Cloudflare 全球 330+ 边缘节点构建,支持毫秒级响应、多线程分片下载、HTTP/3 协议、智能多重压缩等技术,提供公共实例可直接使用,也支持一键部署到 Cloudflare Workers,还有浏览器插件可使用。

J.Cling 推荐拓展:

主要功能特点

⚡ 极速性能 – 突破传统加速器瓶颈

  • ⚡ 毫秒级响应: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 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 格式
GitHubghhttps://github.com/...https://xget.xi-xu.me/gh/...
GitLabglhttps://gitlab.com/...https://xget.xi-xu.me/gl/...
Giteagiteahttps://gitea.com/...https://xget.xi-xu.me/gitea/...
Codebergcodeberghttps://codeberg.org/...https://xget.xi-xu.me/codeberg/...
SourceForgesfhttps://sourceforge.net/...https://xget.xi-xu.me/sf/...
AOSPaosphttps://android.googlesource.com/...https://xget.xi-xu.me/aosp/...
Hugging Facehfhttps://huggingface.co/...https://xget.xi-xu.me/hf/...
npmnpmhttps://registry.npmjs.org/...https://xget.xi-xu.me/npm/...
PyPIpypihttps://pypi.org/...https://xget.xi-xu.me/pypi/...
condacondahttps://repo.anaconda.com/... 和 https://conda.anaconda.org/...https://xget.xi-xu.me/conda/... 和 https://xget.xi-xu.me/conda/community/...
Mavenmavenhttps://repo1.maven.org/...https://xget.xi-xu.me/maven/...
Apacheapachehttps://downloads.apache.org/...https://xget.xi-xu.me/apache/...
Gradlegradlehttps://plugins.gradle.org/...https://xget.xi-xu.me/gradle/...
Homebrewhomebrewhttps://github.com/Homebrew/...https://xget.xi-xu.me/homebrew/...
RubyGemsrubygemshttps://rubygems.org/...https://xget.xi-xu.me/rubygems/...
CRANcranhttps://cran.r-project.org/...https://xget.xi-xu.me/cran/...
CPANcpanhttps://www.cpan.org/...https://xget.xi-xu.me/cpan/...
CTANctanhttps://tug.ctan.org/...https://xget.xi-xu.me/ctan/...
Go 模块golanghttps://proxy.golang.org/...https://xget.xi-xu.me/golang/...
NuGetnugethttps://api.nuget.org/...https://xget.xi-xu.me/nuget/...
Rust Cratescrateshttps://crates.io/...https://xget.xi-xu.me/crates/...
Packagistpackagisthttps://repo.packagist.org/...https://xget.xi-xu.me/packagist/...
Debiandebianhttps://deb.debian.org/...https://xget.xi-xu.me/debian/...
Ubuntuubuntuhttps://archive.ubuntu.com/...https://xget.xi-xu.me/ubuntu/...
Fedorafedorahttps://dl.fedoraproject.org/...https://xget.xi-xu.me/fedora/...
Rocky Linuxrockyhttps://download.rockylinux.org/...https://xget.xi-xu.me/rocky/...
openSUSEopensusehttps://download.opensuse.org/...https://xget.xi-xu.me/opensuse/...
Arch Linuxarchhttps://geo.mirror.pkgbuild.com/...https://xget.xi-xu.me/arch/...
arXivarxivhttps://arxiv.org/...https://xget.xi-xu.me/arxiv/...
F-Droidfdroidhttps://f-droid.org/...https://xget.xi-xu.me/fdroid/...
AI 推理提供商ip见 AI 推理提供商见 AI 推理提供商
容器注册表cr容器注册表容器注册表

获取方式

官方网站

https://github.com/xixu-me/Xget

访问

https://xuc.xi-xu.me

更多趣软酷站请访问:

https://www.gewuzhizhi.vip/software-store/all-software-store/internet-resources

© 版权声明

相关文章