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: 9 months 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 (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-23T08:14:13.000Z (11 months ago)
- Last Synced: 2025-03-31T17:59:06.415Z (11 months 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
- Dev-Notes - xget
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.