Ops
基于centos6+python3.6+django2+ansible2.4+celery4.2 运维管理系统,目前实现功能:用户和用户组管理、资产管理、集成ansible2.4、简易堡垒机(主机分配支持rdp以及vnc、用户分配、文件上传下载、配置禁用命令清单、操作录像回放功能)、CI/CD(支持git仓库和svn仓库)、数据库管理(一部分)、celery任务编排、知识库及文件共享
- 728
- Python
- 2 y ago
The maintainer has not written a description at the source.
Repo pythonzm/xget, read from GitHub 6 min ago. pythonzm has not joined Take My Repo.
pythonzm/xget is a public repo on GitHub by pythonzm. It declares the GPL-3.0 license on GitHub. It is written mainly in JavaScript, has 0 stars and last changed on 2025-10-09. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-21.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
超高性能、安全的一站式开发者资源加速引擎,其性能远超传统加速器,提供跨多个平台的统一高效的加速体验,涵盖代码储存库、包管理、AI 推理 API、容器镜像、模型及数据集等。
技术深度解析文章已发布:《深入剖析 Xget:一个高性能、多协议、高安全性的开发者资源加速引擎》。
本存储库的初衷是为了加速在中国大陆境内访问不违反相关法律法规的平台上的开发者资源,从而为广大开发者提供一个稳定、合法的加速体验。我们致力于:
预部署实例(不保证可靠性):xget.xi-xu.me - 开箱即用,无需部署!
URL 转换器:xuc.xi-xu.me - 一键转换任意支持平台的 URL 为 Xget 的加速格式!
⚡ 立即体验极速下载:无需注册,无需配置,直接使用即可感受飞一般的下载速度!
Strict-Transport-Security:强制 HTTPS 传输,预防中间人攻击X-Frame-Options: DENY:防止点击劫持攻击X-XSS-Protection:内置 XSS 防护机制Content-Security-Policy:严格的内容安全策略Referrer-Policy:控制引用信息泄露PerformanceMonitor 类,实时追踪请求各阶段耗时X-Performance-Metrics 响应头提供详细性能数据/info/refs、/git-upload-pack、/git-receive-pack)service=git-upload-pack 等查询参数git clone:完整存储库克隆,支持浅克隆和分支指定git push:代码推送和分支管理git pull/fetch:增量更新和远程同步git submodule:子模块递归克隆git/2.34.1)使用预部署实例 xget.xi-xu.me 或你自己部署的实例,只需简单替换域名并添加平台前缀:
| 平台 | 平台前缀 | 原始 URL 格式 | 加速 URL 格式 |
|---|---|---|---|
| GitHub | gh |
https://github.com/... |
https://xget.xi-xu.me/gh/... |
| GitLab | gl |
https://gitlab.com/... |
https://xget.xi-xu.me/gl/... |
| Gitea | gitea |
https://gitea.com/... |
https://xget.xi-xu.me/gitea/... |
| Codeberg | codeberg |
https://codeberg.org/... |
https://xget.xi-xu.me/codeberg/... |
| SourceForge | sf |
https://sourceforge.net/... |
https://xget.xi-xu.me/sf/... |
| AOSP | aosp |
https://android.googlesource.com/... |
https://xget.xi-xu.me/aosp/... |
| Hugging Face | hf |
https://huggingface.co/... |
https://xget.xi-xu.me/hf/... |
| Civitai | civitai |
https://civitai.com/... |
https://xget.xi-xu.me/civitai/... |
| npm | npm |
https://registry.npmjs.org/... |
https://xget.xi-xu.me/npm/... |
| PyPI | pypi |
https://pypi.org/... |
https://xget.xi-xu.me/pypi/... |
| conda | conda |
https://repo.anaconda.com/... 和 https://conda.anaconda.org/... |
https://xget.xi-xu.me/conda/... 和 https://xget.xi-xu.me/conda/community/... |
| Maven | maven |
https://repo1.maven.org/... |
https://xget.xi-xu.me/maven/... |
| Apache | apache |
https://downloads.apache.org/... |
https://xget.xi-xu.me/apache/... |
| Gradle | gradle |
https://plugins.gradle.org/... |
https://xget.xi-xu.me/gradle/... |
| Homebrew | homebrew |
https://github.com/Homebrew/... |
https://xget.xi-xu.me/homebrew/... |
| RubyGems | rubygems |
https://rubygems.org/... |
https://xget.xi-xu.me/rubygems/... |
| CRAN | cran |
https://cran.r-project.org/... |
https://xget.xi-xu.me/cran/... |
| CPAN | cpan |
https://www.cpan.org/... |
https://xget.xi-xu.me/cpan/... |
| CTAN | ctan |
https://tug.ctan.org/... |
https://xget.xi-xu.me/ctan/... |
| Go 模块 | golang |
https://proxy.golang.org/... |
https://xget.xi-xu.me/golang/... |
| NuGet | nuget |
https://api.nuget.org/... |
https://xget.xi-xu.me/nuget/... |
| Rust Crates | crates |
https://crates.io/... |
https://xget.xi-xu.me/crates/... |
| Packagist | packagist |
https://repo.packagist.org/... |
https://xget.xi-xu.me/packagist/... |
| Debian | debian |
https://deb.debian.org/... |
https://xget.xi-xu.me/debian/... |
| Ubuntu | ubuntu |
https://archive.ubuntu.com/... |
https://xget.xi-xu.me/ubuntu/... |
| Fedora | fedora |
https://dl.fedoraproject.org/... |
https://xget.xi-xu.me/fedora/... |
| Rocky Linux | rocky |
https://download.rockylinux.org/... |
https://xget.xi-xu.me/rocky/... |
| openSUSE | opensuse |
https://download.opensuse.org/... |
https://xget.xi-xu.me/opensuse/... |
| Arch Linux | arch |
https://geo.mirror.pkgbuild.com/... |
https://xget.xi-xu.me/arch/... |
| arXiv | arxiv |
https://arxiv.org/... |
https://xget.xi-xu.me/arxiv/... |
| F-Droid | fdroid |
https://f-droid.org/... |
https://xget.xi-xu.me/fdroid/... |
| Jenkins 插件 | jenkins |
https://updates.jenkins.io/... |
https://xget.xi-xu.me/jenkins/... |
| AI 推理提供商 | ip |
见 AI 推理提供商 | 见 AI 推理提供商 |
| 容器注册表 | cr |
见容器注册表 | 见容器注册表 |
# 原始 URL https://github.com/microsoft/vscode/archive/refs/heads/main.zip # 转换后(添加 gh 前缀) https://xget.xi-xu.me/gh/microsoft/vscode/archive/refs/heads/main.zip
# 原始 URL https://gitlab.com/gitlab-org/gitlab/-/archive/master/gitlab-master.zip # 转换后(添加 gl 前缀) https://xget.xi-xu.me/gl/gitlab-org/gitlab/-/archive/master/gitlab-master.zip
# 原始 URL https://gitea.com/gitea/gitea/archive/master.zip # 转换后(添加 gitea 前缀) https://xget.xi-xu.me/gitea/gitea/gitea/archive/master.zip
# 原始 URL https://codeberg.org/forgejo/forgejo/archive/forgejo.zip # 转换后(添加 codeberg 前缀) https://xget.xi-xu.me/codeberg/forgejo/forgejo/archive/forgejo.zip
# 原始 URL https://sourceforge.net/projects/sevenzip/files/7-Zip/23.01/7z2301-x64.exe/download # 转换后(添加 sf 前缀) https://xget.xi-xu.me/sf/projects/sevenzip/files/7-Zip/23.01/7z2301-x64.exe/download
# AOSP 项目原始 URL https://android.googlesource.com/platform/frameworks/base # 转换后(添加 aosp 前缀) https://xget.xi-xu.me/aosp/platform/frameworks/base # AOSP 设备树原始 URL https://android.googlesource.com/device/google/pixel # 转换后(添加 aosp 前缀) https://xget.xi-xu.me/aosp/device/google/pixel
# 模型文件原始 URL https://huggingface.co/microsoft/DialoGPT-medium/resolve/main/pytorch_model.bin # 转换后(添加 hf 前缀) https://xget.xi-xu.me/hf/microsoft/DialoGPT-medium/resolve/main/pytorch_model.bin # 数据集文件原始 URL https://huggingface.co/datasets/rajpurkar/squad/resolve/main/plain_text/train-00000-of-00001.parquet # 转换后(添加 hf 前缀) https://xget.xi-xu.me/hf/datasets/rajpurkar/squad/resolve/main/plain_text/train-00000-of-00001.parquet
# AI 模型下载原始 URL https://civitai.com/api/download/models/128713 # 转换后(添加 civitai 前缀) https://xget.xi-xu.me/civitai/api/download/models/128713 # 模型 API 原始 URL https://civitai.com/api/v1/models/7240 # 转换后(添加 civitai 前缀) https://xget.xi-xu.me/civitai/api/v1/models/7240 # 模型版本 API 原始 URL https://civitai.com/api/v1/model-versions/128713 # 转换后(添加 civitai 前缀) https://xget.xi-xu.me/civitai/api/v1/model-versions/128713
# 包文件原始 URL https://registry.npmjs.org/react/-/react-18.2.0.tgz # 转换后(添加 npm 前缀) https://xget.xi-xu.me/npm/react/-/react-18.2.0.tgz # 包元数据原始 URL https://registry.npmjs.org/lodash # 转换后(添加 npm 前缀) https://xget.xi-xu.me/npm/lodash
# Python 包文件原始 URL https://pypi.org/packages/source/r/requests/requests-2.31.0.tar.gz # 转换后(添加 pypi 前缀) https://xget.xi-xu.me/pypi/packages/source/r/requests/requests-2.31.0.tar.gz # Wheel 文件原始 URL https://pypi.org/packages/py3/r/requests/requests-2.31.0-py3-none-any.whl # 转换后(添加 pypi 前缀) https://xget.xi-xu.me/pypi/packages/py3/r/requests/requests-2.31.0-py3-none-any.whl
# 默认频道包文件原始 URL https://repo.anaconda.com/pkgs/main/linux-64/numpy-1.24.3-py311h08b1b3b_1.conda # 转换后(添加 conda 前缀) https://xget.xi-xu.me/conda/pkgs/main/linux-64/numpy-1.24.3-py311h08b1b3b_1.conda # 社区频道元数据原始 URL https://conda.anaconda.org/conda-forge/linux-64/repodata.json # 转换后(添加 conda/community 前缀) https://xget.xi-xu.me/conda/community/conda-forge/linux-64/repodata.json
# Maven 中央存储库 JAR 文件原始 URL https://repo1.maven.org/maven2/org/springframework/spring-core/5.3.21/spring-core-5.3.21.jar # 转换后(添加 maven 前缀) https://xget.xi-xu.me/maven/maven2/org/springframework/spring-core/5.3.21/spring-core-5.3.21.jar # Maven 元数据原始 URL https://repo1.maven.org/maven2/org/apache/commons/commons-lang3/maven-metadata.xml # 转换后(添加 maven 前缀) https://xget.xi-xu.me/maven/maven2/org/apache/commons/commons-lang3/maven-metadata.xml
# Apache 软件下载原始 URL https://downloads.apache.org/kafka/3.6.1/kafka_2.13-3.6.1.tgz # 转换后(添加 apache 前缀) https://xget.xi-xu.me/apache/kafka/3.6.1/kafka_2.13-3.6.1.tgz # Apache Maven 下载原始 URL https://downloads.apache.org/maven/maven-3/3.9.5/binaries/apache-maven-3.9.5-bin.tar.gz # 转换后(添加 apache 前缀) https://xget.xi-xu.me/apache/maven/maven-3/3.9.5/binaries/apache-maven-3.9.5-bin.tar.gz # Apache Spark 下载原始 URL https://downloads.apache.org/spark/spark-3.5.0/spark-3.5.0-bin-hadoop3.tgz # 转换后(添加 apache 前缀) https://xget.xi-xu.me/apache/spark/spark-3.5.0/spark-3.5.0-bin-hadoop3.tgz
# Gradle 插件门户 JAR 文件原始 URL https://plugins.gradle.org/m2/org/gradle/gradle-hello-world-plugin/0.2/gradle-hello-world-plugin-0.2.jar # 转换后(添加 gradle 前缀) https://xget.xi-xu.me/gradle/m2/org/gradle/gradle-hello-world-plugin/0.2/gradle-hello-world-plugin-0.2.jar # Gradle 插件元数据原始 URL https://plugins.gradle.org/m2/com/github/ben-manes/gradle-versions-plugin/0.51.0/gradle-versions-plugin-0.51.0.module # 转换后(添加 gradle 前缀) https://xget.xi-xu.me/gradle/m2/com/github/ben-manes/gradle-versions-plugin/0.51.0/gradle-versions-plugin-0.51.0.module
# Homebrew 公式存储库原始 URL https://github.com/Homebrew/homebrew-core/raw/HEAD/Formula/g/git.rb # 转换后(添加 homebrew 前缀) https://xget.xi-xu.me/homebrew/homebrew-core/raw/HEAD/Formula/g/git.rb # Homebrew API 原始 URL https://formulae.brew.sh/api/formula/git.json # 转换后(添加 homebrew/api 前缀) https://xget.xi-xu.me/homebrew/api/formula/git.json # Homebrew Bottles 原始 URL https://ghcr.io/v2/homebrew/core/git/manifests/2.39.0 # 转换后(添加 homebrew/bottles 前缀) https://xget.xi-xu.me/homebrew/bottles/v2/homebrew/core/git/manifests/2.39.0
# RubyGems 包文件原始 URL https://rubygems.org/gems/rails-7.0.4.gem # 转换后(添加 rubygems 前缀) https://xget.xi-xu.me/rubygems/gems/rails-7.0.4.gem # RubyGems API 原始 URL https://rubygems.org/api/v1/gems/nokogiri.json # 转换后(添加 rubygems 前缀) https://xget.xi-xu.me/rubygems/api/v1/gems/nokogiri.json
# CRAN 包文件原始 URL https://cran.r-project.org/src/contrib/ggplot2_3.5.2.tar.gz # 转换后(添加 cran 前缀) https://xget.xi-xu.me/cran/src/contrib/ggplot2_3.5.2.tar.gz # CRAN 包元数据原始 URL https://cran.r-project.org/web/packages/dplyr/DESCRIPTION # 转换后(添加 cran 前缀) https://xget.xi-xu.me/cran/web/packages/dplyr/DESCRIPTION
# CPAN 模块原始 URL https://www.cpan.org/modules/by-module/DBI/DBI-1.643.tar.gz # 转换后(添加 cpan 前缀) https://xget.xi-xu.me/cpan/modules/by-module/DBI/DBI-1.643.tar.gz # CPAN 作者包原始 URL https://www.cpan.org/authors/id/T/TI/TIMB/DBI-1.643.tar.gz # 转换后(添加 cpan 前缀) https://xget.xi-xu.me/cpan/authors/id/T/TI/TIMB/DBI-1.643.tar.gz
# CTAN 包文件原始 URL https://tug.ctan.org/tex-archive/macros/latex/contrib/beamer.zip # 转换后(添加 ctan 前缀) https://xget.xi-xu.me/ctan/tex-archive/macros/latex/contrib/beamer.zip # CTAN 字体文件原始 URL https://tug.ctan.org/tex-archive/fonts/cm/pk/ljfour/public/cm/dpi600/cmr10.pk # 转换后(添加 ctan 前缀) https://xget.xi-xu.me/ctan/tex-archive/fonts/cm/pk/ljfour/public/cm/dpi600/cmr10.pk
# Go 模块代理原始 URL https://proxy.golang.org/github.com/gin-gonic/gin/@v/v1.9.1.zip # 转换后(添加 golang 前缀) https://xget.xi-xu.me/golang/github.com/gin-gonic/gin/@v/v1.9.1.zip # Go 模块信息原始 URL https://proxy.golang.org/github.com/gorilla/mux/@v/list # 转换后(添加 golang 前缀) https://xget.xi-xu.me/golang/github.com/gorilla/mux/@v/list
# NuGet 包下载原始 URL https://api.nuget.org/v3-flatcontainer/newtonsoft.json/13.0.3/newtonsoft.json.13.0.3.nupkg # 转换后(添加 nuget 前缀) https://xget.xi-xu.me/nuget/v3-flatcontainer/newtonsoft.json/13.0.3/newtonsoft.json.13.0.3.nupkg # NuGet 包元数据原始 URL https://api.nuget.org/v3/registration5-semver1/microsoft.aspnetcore.app/index.json # 转换后(添加 nuget 前缀) https://xget.xi-xu.me/nuget/v3/registration5-semver1/microsoft.aspnetcore.app/index.json
# Crate 下载原始 URL https://crates.io/api/v1/crates/serde/1.0.0/download # 转换后(添加 crates 前缀) https://xget.xi-xu.me/crates/serde/1.0.0/download # Crate 元数据原始 URL https://crates.io/api/v1/crates/serde # 转换后(添加 crates 前缀) https://xget.xi-xu.me/crates/serde # Crate 搜索原始 URL https://crates.io/api/v1/crates?q=serde # 转换后(添加 crates 前缀) https://xget.xi-xu.me/crates/?q=serde
# Packagist 包元数据原始 URL https://repo.packagist.org/p2/symfony/console.json # 转换后(添加 packagist 前缀) https://xget.xi-xu.me/packagist/p2/symfony/console.json # Packagist 包列表原始 URL https://repo.packagist.org/packages/list.json # 转换后(添加 packagist 前缀) https://xget.xi-xu.me/packagist/packages/list.json
# Debian 包原始 URL https://deb.debian.org/debian/pool/main/c/curl/curl_7.88.1-10+deb12u4_amd64.deb # 转换后(添加 debian 前缀) https://xget.xi-xu.me/debian/debian/pool/main/c/curl/curl_7.88.1-10+deb12u4_amd64.deb # Ubuntu 包原始 URL https://archive.ubuntu.com/ubuntu/pool/main/g/git/git_2.34.1-1ubuntu1.9_amd64.deb # 转换后(添加 ubuntu 前缀) https://xget.xi-xu.me/ubuntu/ubuntu/pool/main/g/git/git_2.34.1-1ubuntu1.9_amd64.deb # Fedora 包原始 URL https://dl.fedoraproject.org/pub/fedora/linux/releases/39/Everything/x86_64/os/Packages/n/nginx-1.24.0-1.fc39.x86_64.rpm # 转换后(添加 fedora 前缀) https://xget.xi-xu.me/fedora/pub/fedora/linux/releases/39/Everything/x86_64/os/Packages/n/nginx-1.24.0-1.fc39.x86_64.rpm # Rocky Linux 包原始 URL https://download.rockylinux.org/pub/rocky/9/BaseOS/x86_64/os/Packages/b/bash-5.1.8-6.el9.x86_64.rpm # 转换后(添加 rocky 前缀) https://xget.xi-xu.me/rocky/pub/rocky/9/BaseOS/x86_64/os/Packages/b/bash-5.1.8-6.el9.x86_64.rpm # openSUSE 包原始 URL https://download.opensuse.org/distribution/leap/15.5/repo/oss/x86_64/vim-9.0.1572-150500.20.8.1.x86_64.rpm # 转换后(添加 opensuse 前缀) https://xget.xi-xu.me/opensuse/distribution/leap/15.5/repo/oss/x86_64/vim-9.0.1572-150500.20.8.1.x86_64.rpm # Arch Linux 包原始 URL https://geo.mirror.pkgbuild.com/core/os/x86_64/linux-6.6.10.arch1-1-x86_64.pkg.tar.zst # 转换后(添加 arch 前缀) https://xget.xi-xu.me/arch/core/os/x86_64/linux-6.6.10.arch1-1-x86_64.pkg.tar.zst
# arXiv 论文 PDF 原始 URL https://arxiv.org/pdf/2301.07041.pdf # 转换后(添加 arxiv 前缀) https://xget.xi-xu.me/arxiv/pdf/2301.07041.pdf # arXiv 论文源码原始 URL https://arxiv.org/e-print/2301.07041 # 转换后(添加 arxiv 前缀) https://xget.xi-xu.me/arxiv/e-print/2301.07041
# F-Droid 应用 APK 原始 URL https://f-droid.org/repo/org.fdroid.fdroid_1016050.apk # 转换后(添加 fdroid 前缀) https://xget.xi-xu.me/fdroid/repo/org.fdroid.fdroid_1016050.apk # F-Droid 应用元数据原始 URL https://f-droid.org/api/v1/packages/org.fdroid.fdroid # 转换后(添加 fdroid 前缀) https://xget.xi-xu.me/fdroid/api/v1/packages/org.fdroid.fdroid
# Jenkins 更新中心原始 URL https://updates.jenkins.io/update-center.json # 转换后(添加 jenkins 前缀) https://xget.xi-xu.me/jenkins/update-center.json # Jenkins 插件下载原始 URL https://updates.jenkins.io/download/plugins/maven-plugin/3.27/maven-plugin.hpi # 转换后(添加 jenkins 前缀) https://xget.xi-xu.me/jenkins/download/plugins/maven-plugin/3.27/maven-plugin.hpi
Xget 支持众多主流 AI 推理提供商的 API 加速,使用 ip/[AI 推理提供商前缀] 格式:
| AI 推理提供商 | AI 推理提供商前缀 | 原始 URL 格式 | 加速 URL 格式 |
|---|---|---|---|
| OpenAI | openai |
https://api.openai.com/... |
https://xget.xi-xu.me/ip/openai/... |
| Anthropic | anthropic |
https://api.anthropic.com/... |
https://xget.xi-xu.me/ip/anthropic/... |
| Gemini | gemini |
https://generativelanguage.googleapis.com/... |
https://xget.xi-xu.me/ip/gemini/... |
| Vertex AI | vertexai |
https://aiplatform.googleapis.com/... |
https://xget.xi-xu.me/ip/vertexai/... |
| Cohere | cohere |
https://api.cohere.ai/... |
https://xget.xi-xu.me/ip/cohere/... |
| Mistral AI | mistralai |
https://api.mistral.ai/... |
https://xget.xi-xu.me/ip/mistralai/... |
| xAI | xai |
https://api.x.ai/... |
https://xget.xi-xu.me/ip/xai/... |
| GitHub 模型 | githubmodels |
https://models.github.ai/... |
https://xget.xi-xu.me/ip/githubmodels/... |
| NVIDIA API | nvidiaapi |
https://integrate.api.nvidia.com/... |
https://xget.xi-xu.me/ip/nvidiaapi/... |
| Perplexity | perplexity |
https://api.perplexity.ai/... |
https://xget.xi-xu.me/ip/perplexity/... |
| Groq | groq |
https://api.groq.com/... |
https://xget.xi-xu.me/ip/groq/... |
| Cerebras | cerebras |
https://api.cerebras.ai/... |
https://xget.xi-xu.me/ip/cerebras/... |
| SambaNova | sambanova |
https://api.sambanova.ai/... |
https://xget.xi-xu.me/ip/sambanova/... |
| HF Inference | huggingface |
https://router.huggingface.co/... |
https://xget.xi-xu.me/ip/huggingface/... |
| Together | together |
https://api.together.xyz/... |
https://xget.xi-xu.me/ip/together/... |
| Replicate | replicate |
https://api.replicate.com/... |
https://xget.xi-xu.me/ip/replicate/... |
| Fireworks | fireworks |
https://api.fireworks.ai/... |
https://xget.xi-xu.me/ip/fireworks/... |
| Nebius | nebius |
https://api.studio.nebius.ai/... |
https://xget.xi-xu.me/ip/nebius/... |
| Jina | jina |
https://api.jina.ai/... |
https://xget.xi-xu.me/ip/jina/... |
| Voyage AI | voyageai |
https://api.voyageai.com/... |
https://xget.xi-xu.me/ip/voyageai/... |
| Fal AI | falai |
https://fal.run/... |
https://xget.xi-xu.me/ip/falai/... |
| Novita | novita |
https://api.novita.ai/... |
https://xget.xi-xu.me/ip/novita/... |
| Burncloud | burncloud |
https://ai.burncloud.com/... |
https://xget.xi-xu.me/ip/burncloud/... |
| OpenRouter | openrouter |
https://openrouter.ai/... |
https://xget.xi-xu.me/ip/openrouter/... |
| Poe | poe |
https://api.poe.com/... |
https://xget.xi-xu.me/ip/poe/... |
| Featherless AI | featherlessai |
https://api.featherless.ai/... |
https://xget.xi-xu.me/ip/featherlessai/... |
| Hyperbolic | hyperbolic |
https://api.hyperbolic.xyz/... |
https://xget.xi-xu.me/ip/hyperbolic/... |
# OpenAI API 原始 URL https://api.openai.com/v1/chat/completions # 转换后(添加 ip/openai 前缀) https://xget.xi-xu.me/ip/openai/v1/chat/completions # Anthropic API 原始 URL https://api.anthropic.com/v1/messages # 转换后(添加 ip/anthropic 前缀) https://xget.xi-xu.me/ip/anthropic/v1/messages # Gemini API 原始 URL https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent # 转换后(添加 ip/gemini 前缀) https://xget.xi-xu.me/ip/gemini/v1beta/models/gemini-2.5-flash:generateContent # HF Inference API 原始 URL https://router.huggingface.co/hf-inference/models/openai/whisper-large-v3 # 转换后(添加 ip/huggingface 前缀) https://xget.xi-xu.me/ip/huggingface/hf-inference/models/openai/whisper-large-v3
应用场景见 AI 推理 API 加速。
Xget 支持多个容器注册表,使用 cr/[容器注册表前缀] 格式:
| 容器注册表 | 容器注册表前缀 | 原始 URL 格式 | 加速 URL 格式 |
|---|---|---|---|
| Quay.io | quay |
https://quay.io/... |
https://xget.xi-xu.me/cr/quay/... |
| 谷歌容器注册表 | gcr |
https://gcr.io/... |
https://xget.xi-xu.me/cr/gcr/... |
| 微软容器注册表 | mcr |
https://mcr.microsoft.com/... |
https://xget.xi-xu.me/cr/mcr/... |
| 亚马逊公共弹性容器注册表 | ecr |
https://public.ecr.aws/... |
https://xget.xi-xu.me/cr/ecr/... |
| GitHub 容器注册表 | ghcr |
https://ghcr.io/... |
https://xget.xi-xu.me/cr/ghcr/... |
| GitLab 容器注册表 | gitlab |
https://registry.gitlab.com/... |
https://xget.xi-xu.me/cr/gitlab/... |
| 红帽注册表 | redhat |
https://registry.redhat.io/... |
https://xget.xi-xu.me/cr/redhat/... |
| 甲骨文容器注册表 | oracle |
https://container-registry.oracle.com/... |
https://xget.xi-xu.me/cr/oracle/... |
| Cloudsmith | cloudsmith |
https://docker.cloudsmith.io/... |
https://xget.xi-xu.me/cr/cloudsmith/... |
| DigitalOcean 注册表 | digitalocean |
https://registry.digitalocean.com/... |
https://xget.xi-xu.me/cr/digitalocean/... |
| VMware 注册表 | vmware |
https://projects.registry.vmware.com/... |
https://xget.xi-xu.me/cr/vmware/... |
| Kubernetes 注册表 | k8s |
https://registry.k8s.io/... |
https://xget.xi-xu.me/cr/k8s/... |
| Heroku 注册表 | heroku |
https://registry.heroku.com/... |
https://xget.xi-xu.me/cr/heroku/... |
| SUSE 注册表 | suse |
https://registry.suse.com/... |
https://xget.xi-xu.me/cr/suse/... |
| openSUSE 注册表 | opensuse |
https://registry.opensuse.org/... |
https://xget.xi-xu.me/cr/opensuse/... |
| Gitpod 注册表 | gitpod |
https://registry.gitpod.io/... |
https://xget.xi-xu.me/cr/gitpod/... |
# GitHub 容器注册表原始 URL https://ghcr.io/v2/nginxinc/nginx-unprivileged/manifests/latest # 转换后(添加 cr/ghcr 前缀) https://xget.xi-xu.me/cr/ghcr/v2/nginxinc/nginx-unprivileged/manifests/latest # 谷歌容器注册表原始 URL https://gcr.io/v2/distroless/base/manifests/latest # 转换后(添加 cr/gcr 前缀) https://xget.xi-xu.me/cr/gcr/v2/distroless/base/manifests/latest
应用场景见容器镜像加速。
# 克隆存储库 git clone https://xget.xi-xu.me/gh/microsoft/vscode.git # 克隆指定分支 git clone -b main https://xget.xi-xu.me/gh/facebook/react.git # 浅克隆(仅最新提交) git clone --depth 1 https://xget.xi-xu.me/gh/torvalds/linux.git # 克隆 GitLab 存储库 git clone https://xget.xi-xu.me/gl/gitlab-org/gitlab.git # 克隆 Gitea 存储库 git clone https://xget.xi-xu.me/gitea/gitea/gitea.git # 克隆 Codeberg 存储库 git clone https://xget.xi-xu.me/codeberg/forgejo/forgejo.git # 克隆 SourceForge 存储库 git clone https://xget.xi-xu.me/sf/projects/mingw-w64/code.git # 克隆 AOSP 存储库 git clone https://xget.xi-xu.me/aosp/platform/frameworks/base.git # 添加远程存储库 git remote add upstream https://xget.xi-xu.me/gh/[所有者]/[存储库].git # 拉取更新 git pull https://xget.xi-xu.me/gh/microsoft/vscode.git main # 子模块递归克隆 git clone --recursive https://xget.xi-xu.me/gh/[用户名]/[带子模块的存储库].git
# 为特定域名配置 Git 使用 Xget git config --global url."https://xget.xi-xu.me/gh/".insteadOf "https://github.com/" git config --global url."https://xget.xi-xu.me/gl/".insteadOf "https://gitlab.com/" git config --global url."https://xget.xi-xu.me/gitea/".insteadOf "https://gitea.com/" git config --global url."https://xget.xi-xu.me/codeberg/".insteadOf "https://codeberg.org/" git config --global url."https://xget.xi-xu.me/sf/".insteadOf "https://sourceforge.net/" git config --global url."https://xget.xi-xu.me/aosp/".insteadOf "https://android.googlesource.com/" # 验证配置 git config --global --get-regexp url # 现在所有相关平台的 git clone 都会自动使用 Xget git clone https://github.com/microsoft/vscode.git # 自动转换为 Xget URL git clone https://gitlab.com/gitlab-org/gitlab.git # 自动转换为 Xget URL git clone https://codeberg.org/forgejo/forgejo.git # 自动转换为 Xget URL git clone https://android.googlesource.com/platform/frameworks/base.git # 自动转换为 Xget URL
# 下载单个文件 wget https://xget.xi-xu.me/gh/microsoft/vscode/archive/refs/heads/main.zip # 断点续传 wget -c https://xget.xi-xu.me/hf/microsoft/DialoGPT-large/resolve/main/pytorch_model.bin # 批量下载 wget -i urls.txt # urls.txt 包含多个 Xget URL
# 基本下载 curl -L -O https://xget.xi-xu.me/gh/golang/go/archive/refs/tags/go1.22.0.tar.gz # 显示进度条 curl -L --progress-bar -o model.bin https://xget.xi-xu.me/hf/openai/whisper-large-v3/resolve/main/pytorch_model.bin # 设置用户代理 curl -L -H "User-Agent: MyApp/1.0" https://xget.xi-xu.me/gl/gitlab-org/gitlab-runner/-/archive/main/gitlab-runner-main.zip
# 多线程下载大文件 aria2c -x 16 -s 16 https://xget.xi-xu.me/hf/microsoft/DialoGPT-large/resolve/main/pytorch_model.bin # 断点续传 aria2c -c https://xget.xi-xu.me/gh/microsoft/vscode/archive/refs/heads/main.zip # 批量下载配置文件 aria2c -i download-list.txt # 包含多个 Xget URL 的文件
import os from transformers import AutoTokenizer, AutoModelForCausalLM # 设置环境变量,让 transformers 库自动使用 Xget 镜像 os.environ['HF_ENDPOINT'] = 'https://xget.xi-xu.me/hf' # 定义模型名称 model_name = 'microsoft/DialoGPT-medium' print(f"正在从镜像下载模型: {model_name}") # 使用 AutoModelForCausalLM 来加载对话生成模型 # 由于上面设置了环境变量,这里无需添加任何额外参数 tokenizer = AutoTokenizer.from_pretrained(model_name) model = AutoModelForCausalLM.from_pretrained(model_name) print("模型和分词器加载成功!") # 你现在可以使用 tokenizer 和 model 了 # 例如: # new_user_input_ids = tokenizer.encode("Hello, how are you?", return_tensors='pt') # chat_history_ids = model.generate(new_user_input_ids, max_length=1000, pad_token_id=tokenizer.eos_token_id) # print(tokenizer.decode(chat_history_ids[:, new_user_input_ids.shape[-1]:][0], skip_special_tokens=True))
import requests # 设置 API 基础 URL 使用 Xget base_url = "https://xget.xi-xu.me/civitai" # 获取模型信息 def get_model_info(model_id): """获取 Civitai 模型信息""" url = f"{base_url}/api/v1/models/{model_id}" response = requests.get(url) return response.json() # 下载模型 def download_model(model_version_id, output_path): """下载 Civitai 模型文件""" download_url = f"{base_url}/api/download/models/{model_version_id}" print(f"正在下载模型版本 {model_version_id}...") response = requests.get(download_url, stream=True) response.raise_for_status() with open(output_path, 'wb') as f: for chunk in response.iter_content(chunk_size=8192): f.write(chunk) print(f"模型已下载到: {output_path}") # 使用示例 model_id = 7240 # 示例模型 ID model_info = get_model_info(model_id) print(f"模型名称: {model_info['name']}") # 下载第一个模型版本 if model_info['modelVersions']: version_id = model_info['modelVersions'][0]['id'] download_model(version_id, f"model_{version_id}.safetensors")
# 临时使用 Xget 镜像 npm install --registry https://xget.xi-xu.me/npm/ # 全局配置 npm 镜像 npm config set registry https://xget.xi-xu.me/npm/ # 验证配置 npm config get registry
# 在 .npmrc 文件中配置项目级镜像 echo "registry=https://xget.xi-xu.me/npm/" > .npmrc # 安装依赖 npm install # 或者使用 yarn yarn config set registry https://xget.xi-xu.me/npm/ yarn install
# 临时使用 Xget 镜像 pip install requests -i https://xget.xi-xu.me/pypi/simple/ # 全局配置 pip 镜像 pip config set global.index-url https://xget.xi-xu.me/pypi/simple/ pip config set global.trusted-host xget.xi-xu.me # 验证配置 pip config list
# 创建 pip.conf 文件(Linux/macOS) mkdir -p ~/.pip cat > ~/.pip/pip.conf << EOF [global] index-url = https://xget.xi-xu.me/pypi/simple/ trusted-host = xget.xi-xu.me EOF # 或在项目根目录创建 pip.conf cat > pip.conf << EOF [global] index-url = https://xget.xi-xu.me/pypi/simple/ trusted-host = xget.xi-xu.me EOF # 使用配置文件安装 pip install -r requirements.txt --config-file pip.conf
# requirements.txt
--index-url https://xget.xi-xu.me/pypi/simple/
--trusted-host xget.xi-xu.me
requests>=2.25.0
numpy>=1.21.0
pandas>=1.3.0
matplotlib>=3.4.0# 配置默认频道镜像 conda config --add default_channels https://xget.xi-xu.me/conda/pkgs/msys2 conda config --add default_channels https://xget.xi-xu.me/conda/pkgs/r conda config --add default_channels https://xget.xi-xu.me/conda/pkgs/main # 配置所有社区频道镜像(推荐) conda config --set channel_alias https://xget.xi-xu.me/conda/community # 或配置特定社区频道 conda config --add channels https://xget.xi-xu.me/conda/community/conda-forge conda config --add channels https://xget.xi-xu.me/conda/community/bioconda # 设置频道优先级 conda config --set channel_priority strict # 验证配置 conda config --show
.condarc 文件可以放在用户主目录(~/.condarc)或项目根目录下:
default_channels: - https://xget.xi-xu.me/conda/pkgs/main - https://xget.xi-xu.me/conda/pkgs/r - https://xget.xi-xu.me/conda/pkgs/msys2 channel_alias: https://xget.xi-xu.me/conda/community channel_priority: strict show_channel_urls: true
环境文件中可以直接指定完整的镜像 URL:
# environment.yml name: myproject channels: - https://xget.xi-xu.me/conda/pkgs/main - https://xget.xi-xu.me/conda/pkgs/r - https://xget.xi-xu.me/conda/community/bioconda - https://xget.xi-xu.me/conda/community/conda-forge dependencies: - python=3.11 - numpy>=1.24.0 - pandas>=2.0.0 - matplotlib>=3.7.0 - scipy>=1.10.0 - pip - pip: - requests>=2.28.0
# 使用环境文件创建环境 conda env create -f environment.yml # 更新环境 conda env update -f environment.yml
<!-- 在 ~/.m2/settings.xml 中配置 Maven 镜像 --> <settings> <mirrors> <mirror> <id>xget-maven-central</id> <mirrorOf>central</mirrorOf> <name>Xget Maven Central Mirror</name> <url>https://xget.xi-xu.me/maven/maven2</url> </mirror> </mirrors> </settings>
<!-- 在 pom.xml 中配置项目级镜像 --> <project> <repositories> <repository> <id>xget-maven-central</id> <name>Xget Maven Central</name> <url>https://xget.xi-xu.me/maven/maven2</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>xget-maven-central</id> <name>Xget Maven Central</name> <url>https://xget.xi-xu.me/maven/maven2</url> </pluginRepository> </pluginRepositories> </project>
# 使用命令行指定镜像 mvn clean install -Dmaven.repo.remote=https://xget.xi-xu.me/maven/maven2 # 下载特定依赖 mvn dependency:get -Dartifact=org.springframework:spring-core:5.3.21 \ -DremoteRepositories=https://xget.xi-xu.me/maven/maven2
# 下载 Apache Kafka wget https://xget.xi-xu.me/apache/kafka/3.6.1/kafka_2.13-3.6.1.tgz # 下载 Apache Maven curl -L -O https://xget.xi-xu.me/apache/maven/maven-3/3.9.5/binaries/apache-maven-3.9.5-bin.tar.gz # 下载 Apache Spark aria2c https://xget.xi-xu.me/apache/spark/spark-3.5.0/spark-3.5.0-bin-hadoop3.tgz # 下载 Apache Hadoop wget https://xget.xi-xu.me/apache/hadoop/common/hadoop-3.3.6/hadoop-3.3.6.tar.gz # 下载 Apache Flink curl -L -O https://xget.xi-xu.me/apache/flink/flink-1.18.1/flink-1.18.1-bin-scala_2.12.tgz
# 大数据相关 wget https://xget.xi-xu.me/apache/hive/hive-3.1.3/apache-hive-3.1.3-bin.tar.gz wget https://xget.xi-xu.me/apache/hbase/2.5.7/hbase-2.5.7-bin.tar.gz wget https://xget.xi-xu.me/apache/zookeeper/zookeeper-3.8.4/apache-zookeeper-3.8.4-bin.tar.gz # Web 服务器 wget https://xget.xi-xu.me/apache/httpd/httpd-2.4.59.tar.gz wget https://xget.xi-xu.me/apache/tomcat/tomcat-10/v10.1.19/bin/apache-tomcat-10.1.19.tar.gz # 开发工具 wget https://xget.xi-xu.me/apache/ant/1.10.14/apache-ant-1.10.14-bin.tar.gz wget https://xget.xi-xu.me/apache/netbeans/netbeans/20/netbeans-20-bin.zip
// 在 build.gradle 中配置 Gradle 镜像 repositories { maven { url 'https://xget.xi-xu.me/maven/maven2' } gradlePluginPortal { url 'https://xget.xi-xu.me/gradle/m2' } } // 配置插件存储库 pluginManagement { repositories { maven { url 'https://xget.xi-xu.me/gradle/m2' } gradlePluginPortal() } }
// 在 ~/.gradle/init.gradle 中配置全局镜像 allprojects { repositories { maven { url 'https://xget.xi-xu.me/maven/maven2' } } } settingsEvaluated { settings -> settings.pluginManagement { repositories { maven { url 'https://xget.xi-xu.me/gradle/m2' } gradlePluginPortal() } } }
# 使用命令行指定镜像 gradle build -Dmaven.repo.remote=https://xget.xi-xu.me/maven/maven2 # 刷新依赖 gradle build --refresh-dependencies
# 设置 Homebrew 环境变量使用 Xget 镜像 export HOMEBREW_BREW_GIT_REMOTE="https://xget.xi-xu.me/homebrew/brew.git" export HOMEBREW_CORE_GIT_REMOTE="https://xget.xi-xu.me/homebrew/homebrew-core.git" export HOMEBREW_API_DOMAIN="https://xget.xi-xu.me/homebrew/api" export HOMEBREW_BOTTLE_DOMAIN="https://xget.xi-xu.me/homebrew/bottles" # 更新 Homebrew brew update
# 为 bash 用户添加到 ~/.bash_profile echo 'export HOMEBREW_BREW_GIT_REMOTE="https://xget.xi-xu.me/homebrew/brew.git"' >> ~/.bash_profile echo 'export HOMEBREW_CORE_GIT_REMOTE="https://xget.xi-xu.me/homebrew/homebrew-core.git"' >> ~/.bash_profile echo 'export HOMEBREW_API_DOMAIN="https://xget.xi-xu.me/homebrew/api"' >> ~/.bash_profile echo 'export HOMEBREW_BOTTLE_DOMAIN="https://xget.xi-xu.me/homebrew/bottles"' >> ~/.bash_profile # 为 zsh 用户添加到 ~/.zprofile echo 'export HOMEBREW_BREW_GIT_REMOTE="https://xget.xi-xu.me/homebrew/brew.git"' >> ~/.zprofile echo 'export HOMEBREW_CORE_GIT_REMOTE="https://xget.xi-xu.me/homebrew/homebrew-core.git"' >> ~/.zprofile echo 'export HOMEBREW_API_DOMAIN="https://xget.xi-xu.me/homebrew/api"' >> ~/.zprofile echo 'export HOMEBREW_BOTTLE_DOMAIN="https://xget.xi-xu.me/homebrew/bottles"' >> ~/.zprofile
# 安装软件包 brew install git # 搜索软件包 brew search python # 更新软件包 brew upgrade # 查看已安装软件包 brew list
# 检查 Homebrew 配置 brew config # 查看环境变量 echo $HOMEBREW_API_DOMAIN echo $HOMEBREW_BOTTLE_DOMAIN
# 临时使用 Xget 镜像 gem install rails --source https://xget.xi-xu.me/rubygems/ # 全局配置 RubyGems 镜像 gem sources --add https://xget.xi-xu.me/rubygems/ gem sources --remove https://rubygems.org/ # 验证配置 gem sources -l
# 在 Gemfile 中配置项目级镜像 source 'https://xget.xi-xu.me/rubygems/' gem 'rails', '~> 7.0.0' gem 'pg', '~> 1.1' gem 'puma', '~> 5.0'
# 使用 bundle 安装
bundle config mirror.https://rubygems.org https://xget.xi-xu.me/rubygems/
bundle install# 在 R 中临时使用 Xget CRAN 镜像 install.packages("ggplot2", repos = "https://xget.xi-xu.me/cran/") # 全局配置 CRAN 镜像 options(repos = c(CRAN = "https://xget.xi-xu.me/cran/")) # 验证配置 getOption("repos")
# 在用户主目录的 .Rprofile 文件中配置全局镜像 options(repos = c( CRAN = "https://xget.xi-xu.me/cran/", BioCsoft = "https://bioconductor.org/packages/release/bioc", BioCann = "https://bioconductor.org/packages/release/data/annotation", BioCexp = "https://bioconductor.org/packages/release/data/experiment" )) # 设置下载方法 options(download.file.method = "libcurl")
# 在项目的 renv.lock 或脚本中指定镜像 renv::init() renv::settings$repos.override(c(CRAN = "https://xget.xi-xu.me/cran/")) # 安装包 install.packages(c("dplyr", "ggplot2", "tidyr")) # 或使用 pak 包管理器 pak::pkg_install("tidyverse", repos = "https://xget.xi-xu.me/cran/")
# 在命令行中使用 R 脚本安装包 Rscript -e "options(repos = c(CRAN = 'https://xget.xi-xu.me/cran/')); install.packages('ggplot2')" # 批量安装包 Rscript -e " options(repos = c(CRAN = 'https://xget.xi-xu.me/cran/')) packages <- c('dplyr', 'ggplot2', 'tidyr', 'readr') install.packages(packages) "
# 配置 CPAN 使用 Xget 镜像 cpan o conf urllist push https://xget.xi-xu.me/cpan/ cpan o conf commit # 或者直接编辑配置文件 ~/.cpan/CPAN/MyConfig.pm # 添加: # 'urllist' => [q[https://xget.xi-xu.me/cpan/]],
# 安装 cpanm(如果没有) curl -L https://cpanmin.us | perl - --sudo App::cpanminus # 使用 Xget 镜像安装模块 cpanm --mirror https://xget.xi-xu.me/cpan/ DBI cpanm --mirror https://xget.xi-xu.me/cpan/ Mojolicious # 从 Makefile.PL 安装依赖 cpanm --mirror https://xget.xi-xu.me/cpan/ --installdeps .
# 在 cpanfile 中列出依赖 requires 'DBI'; requires 'Mojolicious'; requires 'JSON'; # 然后使用 Xget 镜像安装 cpanm --mirror https://xget.xi-xu.me/cpan/ --installdeps .
# 配置 tlmgr 使用 Xget CTAN 镜像 tlmgr option repository https://xget.xi-xu.me/ctan/systems/texlive/tlnet # 更新包数据库 tlmgr update --self --all # 安装包 tlmgr install beamer tlmgr install tikz
# Windows MiKTeX 配置 mpm --set-repository=https://xget.xi-xu.me/ctan/systems/win32/miktex # 更新包数据库 mpm --update-db # 安装包 mpm --install=beamer mpm --install=pgf
# LaTeX 文档编译时自动安装缺失包 pdflatex --shell-escape document.tex # 或手动安装特定包 tlmgr install caption tlmgr install subcaption tlmgr install algorithm2e
# 配置 Go 模块代理 export GOPROXY=https://xget.xi-xu.me/golang,direct export GOSUMDB=off # 或者永久配置 go env -w GOPROXY=https://xget.xi-xu.me/golang,direct go env -w GOSUMDB=off # 验证配置 go env GOPROXY
# 下载依赖 go mod download # 更新依赖 go get -u ./... # 清理模块缓存 go clean -modcache
# 添加 Xget 包源 dotnet nuget add source https://xget.xi-xu.me/nuget/v3/index.json -n xget # 列出包源 dotnet nuget list source # 在项目中使用 dotnet restore --source https://xget.xi-xu.me/nuget/v3/index.json
<!-- NuGet.Config --> <?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <add key="xget" value="https://xget.xi-xu.me/nuget/v3/index.json" /> </packageSources> </configuration>
pythonzm/xget is a public repo on GitHub by pythonzm. Its maker has not written a description.
It declares the GPL-3.0 license on GitHub.
Its maker has not tagged a system, so it is unknown here. Its README says what it needs.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2025-10-09. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
后端api采用go语言框架gin编写,前端使用vue + element ui编写
This page is also available as structured data, with the same sources and dates.
/api/v1/resources/gh/pythonzm/xgetTake My Repo has not tested this on your machine. Requirements come from the project's own documentation.