A high-performance, secure proxy service for accelerating downloads from popular platforms like GitHub, GitLab, Hugging Face, and Kaggle.
-
Multi-Platform Support: Seamlessly handles downloads from:
- GitHub (
/gh/...
) - GitLab (
/gl/...
) - Hugging Face (
/hf/...
) - Kaggle (
/kg/...
)
- GitHub (
-
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
Simply prefix your download URL with https://xget.us.kg/<platform>/
, where <platform>
is one of:
gh
for GitHubgl
for GitLabhf
for Hugging Facekg
for Kaggle
# GitHub download
https://xget.us.kg/gh/username/repository/archive/main.zip
# GitLab download
https://xget.us.kg/gl/username/repository/-/archive/main.zip
# Hugging Face download
https://xget.us.kg/hf/username/model/resolve/main/model.bin
# Kaggle download
https://xget.us.kg/kg/username/dataset/data
- 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
Copyright © Xi Xu. All rights reserved.
Licensed under the GPL-3.0 license.