Documentation
URL Conversion Rules
Xget supports URL acceleration for 40+ platforms, simply replace the domain and add platform prefix
Conversion Formula
https://original-domain/path
→https://xget-instance/prefix/path
Supported Platforms
GitHub
ghgithub.comDownload VSCode source archive
Original:
https://github.com/microsoft/vscode/archive/refs/heads/main.zipAccelerated:
https://xget.xi-xu.me/gh/microsoft/vscode/archive/refs/heads/main.zipGitHub Gist
gistgist.github.comDownload Gist file
Original:
https://gist.github.com/user/gist-id/raw/file.mdAccelerated:
https://xget.xi-xu.me/gist/user/gist-id/raw/file.mdGitLab
glgitlab.comDownload GitLab source
Original:
https://gitlab.com/gitlab-org/gitlab/-/archive/master/gitlab-master.zipAccelerated:
https://xget.xi-xu.me/gl/gitlab-org/gitlab/-/archive/master/gitlab-master.zipGitea
giteagitea.comDownload Gitea source
Original:
https://gitea.com/gitea/gitea/archive/master.zipAccelerated:
https://xget.xi-xu.me/gitea/gitea/gitea/archive/master.zipCodeberg
codebergcodeberg.orgDownload Forgejo source
Original:
https://codeberg.org/forgejo/forgejo/archive/forgejo.zipAccelerated:
https://xget.xi-xu.me/codeberg/forgejo/forgejo/archive/forgejo.zipSourceForge
sfsourceforge.netDownload 7-Zip installer
Original:
https://sourceforge.net/projects/sevenzip/files/7-Zip/23.01/7z2301-x64.exe/downloadAccelerated:
https://xget.xi-xu.me/sf/projects/sevenzip/files/7-Zip/23.01/7z2301-x64.exe/downloadAOSP
aospandroid.googlesource.comAccess Android framework source
Original:
https://android.googlesource.com/platform/frameworks/baseAccelerated:
https://xget.xi-xu.me/aosp/platform/frameworks/baseGit Operations & Configuration
Git Operation Examples
Clone repository
git clone https://xget.xi-xu.me/gh/microsoft/vscode.gitClone specific branch
git clone -b main https://xget.xi-xu.me/gh/facebook/react.gitShallow clone (latest commit only)
git clone --depth 1 https://xget.xi-xu.me/gh/torvalds/linux.gitRecursive submodule clone
git clone --recursive https://xget.xi-xu.me/gh/user/repo-with-submodules.gitGlobal Acceleration Config
GitHub global config
git config --global url."https://xget.xi-xu.me/gh/".insteadOf "https://github.com/"GitLab global config
git config --global url."https://xget.xi-xu.me/gl/".insteadOf "https://gitlab.com/"Verify configuration
git config --global --get-regexp urlAfter configuration, all git clone commands will automatically use Xget acceleration
Download Tool Integration
wget download
wget https://xget.xi-xu.me/gh/user/repo/archive/main.zipcURL download
curl -L -O https://xget.xi-xu.me/gh/user/repo/archive/main.ziparia2 multi-thread download
aria2c -x 16 -s 16 https://xget.xi-xu.me/hf/model/resolve/main/model.bin