Skip to content

Latest commit

 

History

History
82 lines (58 loc) · 2.18 KB

README.md

File metadata and controls

82 lines (58 loc) · 2.18 KB

Xget

A high-performance, secure proxy service for accelerating downloads from popular platforms like GitHub, GitLab, Hugging Face, and Kaggle.

🌐 https://xget.us.kg

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.us.kg/<platform>/, where <platform> is one of:

  • gh for GitHub
  • gl for GitLab
  • hf for Hugging Face
  • kg for Kaggle

Examples

# 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

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 Deploy to Cloudflare Workers.

Status

Deploy to Cloudflare Workers

License

Copyright © Xi Xu. All rights reserved.

Licensed under the GPL-3.0 license.