Translate README to Simplified Chinese

The README.md file has been fully translated from English to Simplified Chinese to improve accessibility for Chinese-speaking users. All sections, feature lists, usage instructions, and technical details are now provided in Chinese.
This commit is contained in:
xixu-me committed 2025-07-12 10:00:23 +08:00
1 parent f8bddb8a97
commit 8acaef8808
1 file changed
+52 -52
+52 -52
View File
@@ -1,91 +1,91 @@
# Xget
A high-performance, secure proxy service for accelerating downloads from popular platforms like GitHub, GitLab and Hugging Face.
一个高性能、安全的代理服务,用于加速从 GitHub、GitLab 和 Hugging Face 热门平台的下载。
🌐 [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/...`)
- **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
- **性能优化**:
- 智能缓存,TTL 为 30 分钟
- HTTP/3 支持
- 指数退避的自动重试
- 内容压缩(gzip、deflate、brotli)
- 资源预连接
- JS、CSS 和 HTML 内容压缩
- **Security Features**:
- Strict security headers
- Content Security Policy (CSP)
- HSTS preloading
- XSS protection
- Frame protection
- Referrer policy enforcement
- Permissions policy controls
- **安全功能**:
- 严格的安全头
- 内容安全策略(CSP)
- HSTS 预加载
- XSS 防护
- 框架保护
- 引用策略强制执行
- 权限策略控制
- **Reliability**:
- Automatic request retries (up to 3 attempts)
- Request timeout protection
- Range request support
- Detailed performance monitoring
- **可靠性**:
- 自动请求重试(最多 3 次)
- 请求超时保护
- 范围请求支持
- 详细的性能监控
## Usage
## 使用方法
### Browser Extension (Recommended)
### 浏览器扩展(推荐)
For the best user experience, use the **Xget for Chrome** extension that automatically redirects downloads:
为了获得最佳用户体验,请使用 **Xget for Chrome** 扩展程序来自动重定向下载:
🔗 **[Xget for Chrome Extension](https://github.com/xixu-me/Xget-for-Chrome)**
🔗 **[Xget for Chrome 扩展程序](https://github.com/xixu-me/Xget-for-Chrome)**
Available on:
可在以下平台获取:
- [Chrome Web Store](https://chromewebstore.google.com/detail/ajiejgobfcifcikbahpijopolfjoodgf)
- [Microsoft Edge Add-ons](https://microsoftedge.microsoft.com/addons/detail/jigpfhbegabdenhihpplcjhpfdcgnalc)
- All other Chromium-based browsers via .crx file
- [Chrome 网上应用店](https://chromewebstore.google.com/detail/ajiejgobfcifcikbahpijopolfjoodgf)
- [Microsoft Edge 插件商店](https://microsoftedge.microsoft.com/addons/detail/jigpfhbegabdenhihpplcjhpfdcgnalc)
- 所有其他基于 Chromium 的浏览器可通过 .crx 文件安装
### Manual URL Prefixing
### 手动 URL 前缀
Alternatively, you can manually prefix your download URL with `https://xget.xi-xu.me/<platform>/`, where `<platform>` is one of:
或者,您可以手动在下载 URL 前面添加 `https://xget.xi-xu.me/<platform>/`,其中 `<platform>` 为以下之一:
- `gh` for GitHub
- `gl` for GitLab
- `hf` for Hugging Face
- `gh` 用于 GitHub
- `gl` 用于 GitLab
- `hf` 用于 Hugging Face
### Examples
### 示例
```bash
# GitHub download
# GitHub 下载
https://xget.xi-xu.me/gh/username/repository/archive/main.zip
# GitLab download
# GitLab 下载
https://xget.xi-xu.me/gl/username/repository/-/archive/main.zip
# Hugging Face download
# Hugging Face 下载
https://xget.xi-xu.me/hf/username/model/resolve/main/model.bin
```
## 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
- 基于 Cloudflare Workers 构建,实现全球边缘分发
- 实现了具有可配置延迟的智能重试机制
- 全面的错误处理和日志记录
- 性能指标跟踪,用于监控和优化
## Deployment
## 部署
Just click [![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/xixu-me/Xget).
只需点击 [![部署到 Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/xixu-me/Xget)。
## Status
## 状态
[![Deploy to Cloudflare Workers](https://github.com/xixu-me/xget/workflows/Deploy%20to%20Cloudflare%20Workers/badge.svg)](https://github.com/xixu-me/Xget/actions/workflows/deploy.yml)
[![部署到 Cloudflare Workers](https://github.com/xixu-me/xget/workflows/Deploy%20to%20Cloudflare%20Workers/badge.svg)](https://github.com/xixu-me/Xget/actions/workflows/deploy.yml)
## License
## 许可证
Copyright &copy; [Xi Xu](https://xi-xu.me). All rights reserved.
版权所有 &copy; [Xi Xu](https://xi-xu.me)。保留所有权利。
Licensed under the [GPL-3.0](LICENSE) license.
基于 [GPL-3.0](LICENSE) 许可证授权。