https://github.com/xixu-me/xget
Extreme, free, and reliable acceleration service for getting open source content
https://github.com/xixu-me/xget
accelerator download proxy
Last synced: about 1 year ago
JSON representation
Extreme, free, and reliable acceleration service for getting open source content
- Host: GitHub
- URL: https://github.com/xixu-me/xget
- Owner: xixu-me
- License: gpl-3.0
- Created: 2024-11-01T09:11:15.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-23T08:14:13.000Z (over 1 year ago)
- Last Synced: 2025-03-31T17:59:06.415Z (over 1 year ago)
- Topics: accelerator, download, proxy
- Language: JavaScript
- Homepage: https://Xget.xi-xu.me
- Size: 101 KB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- StarryDivineSky - xixu-me/xget - 5 倍,这对于需要频繁安装依赖的开发者来说意味着显著的效率提升。其次是其内置的安全机制,项目采用内容校验和传输加密双重保障,有效防范了中间人攻击和资源篡改风险,这在当前软件供应链安全备受关注的环境下显得尤为重要。第三个亮点是其"开箱即用"的特性,xget 无需复杂配置就能自动识别主流开发工具的请求并实施加速,这种无缝集成体验大幅降低了用户的学习成本。 从技术实现来看,xget 的工作原理可以形象地理解为"智能快递配送系统"。当用户发起资源请求时,xget 会先检查本地缓存(相当于区域配送中心),若未命中则通过优化的网络路由(类似快递的最优路径规划)从最近的镜像源获取资源。特别值得一提的是其智能预加载功能,它能像经验丰富的快递员一样,根据用户的项目特征预测可能需要的依赖并提前缓存。项目采用 Rust 语言开发不仅确保了内存安全,还充分利用了多线程处理能力,使得整个加速过程既快速又稳定。这种架构设计使得 xget 在资源占用和响应速度上都优于同类基于脚本语言的解决方案。 综合来看,xget 通过技术创新在开发者工具领域开辟了新方向,其设计理念既考虑了专业开发者的性能需求,又兼顾了安全团队的合规要求,是当前复杂网络环境下提升研发效能的理想选择。随着云原生开发的普及,这类能够优化研发基础设施的工具将展现出更大的价值潜力。 (网络信息服务 / 资源传输下载)
- Dev-Notes - xget
- awesome-agent-skills - xixu-me/xget - high-performance, secure, all-in-one acceleration engine for developer resources ⭐ 7809 `JavaScript` `has-references` 📚 `has-scripts` 📜 `spec-compliant` ✅ (🎯 Individual Skills)
- Awesome-GitHub-Repo - Xget - 面向开发者资源的超高性能一体化加速引擎,覆盖 GitHub、npm、PyPI、Docker Hub、Hugging Face 等全场景,基于 Cloudflare Workers 边缘计算加速。 (开源工具 / 好用工具)
README
# Xget
A high-performance, secure proxy service for accelerating downloads from popular platforms like GitHub, GitLab, Hugging Face, and Kaggle.
🌐 [https://Xget.xi-xu.me](https://xget.xi-xu.me)
## Features
- **Multi-Platform Support**: Seamlessly handles downloads from:
- GitHub (`/gh/...`)
- GitLab (`/gl/...`)
- Hugging Face (`/hf/...`)
- Kaggle (`/kg/...`)
- **Performance Optimizations**:
- Intelligent caching with 30-minute TTL
- HTTP/3 support
- Automatic retries with exponential backoff
- Content compression (gzip, deflate, brotli)
- Resource preconnection
- Content minification for JS, CSS, and HTML
- **Security Features**:
- Strict security headers
- Content Security Policy (CSP)
- HSTS preloading
- XSS protection
- Frame protection
- Referrer policy enforcement
- Permissions policy controls
- **Reliability**:
- Automatic request retries (up to 3 attempts)
- Request timeout protection
- Range request support
- Detailed performance monitoring
## Usage
Simply prefix your download URL with `https://xget.xi-xu.me//`, where `` is one of:
- `gh` for GitHub
- `gl` for GitLab
- `hf` for Hugging Face
- `kg` for Kaggle
### Examples
```bash
# GitHub download
https://xget.xi-xu.me/gh/username/repository/archive/main.zip
# GitLab download
https://xget.xi-xu.me/gl/username/repository/-/archive/main.zip
# Hugging Face download
https://xget.xi-xu.me/hf/username/model/resolve/main/model.bin
# Kaggle download
https://xget.xi-xu.me/kg/username/dataset/data
```
## Technical Details
- Built on Cloudflare Workers for global edge distribution
- Implements intelligent retry mechanisms with configurable delays
- Comprehensive error handling and logging
- Performance metrics tracking for monitoring and optimization
## Deployment
Just click [](https://deploy.workers.cloudflare.com/?url=https://github.com/xixu-me/Xget).
## Status

## License
Copyright © [Xi Xu](https://xi-xu.me). All rights reserved.
Licensed under the [GPL-3.0](LICENSE) license.