# sublink-worker **Repository Path**: AIfce_admin/sublink-worker ## Basic Information - **Project Name**: sublink-worker - **Description**: 无需服务器,一键部署,快速使用自建节点分享URL进行订阅转换,提供灵活的自定义选项,支持SingBox/Clash/V2Ray/Xray - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-10-31 - **Last Updated**: 2025-11-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
## 🚀 Quick Start ### Quick Deployment - Fork this project, click the `Deploy to Cloudflare` button above - Select your repository in the `Import Repository` section (you need to link your GitHub account) - Change the `Deploy Command` as follows, then select `Save and Deploy` ``` bash npm run deploy ``` ## ✨ Features ### Supported Protocols - ShadowSocks - VMess - VLESS - Hysteria2 - Trojan - TUIC ### Core Features - Support for importing Base64 http/https subscription links and various protocol sharing URLs - Pure JavaScript + Cloudflare Worker implementation, one-click deployment, ready to use - Support for fixed/random short link generation (based on KV) - Light/Dark theme toggle - Flexible API, supporting script operations - Support for Chinese, English, and Persian languages ### Client Support - Sing-Box - Clash - Xray/V2Ray ### Web Interface Features - User-friendly operation interface - Various predefined rule sets - Customizable policy groups for geo-site, geo-ip, ip-cidr, and domain-suffix ## 📖 API Documentation For detailed API documentation, please refer to [APIDoc.md](/docs/APIDoc.md) ### Main Endpoints - `/singbox` - Generate Sing-Box configuration - `/clash` - Generate Clash configuration - `/xray` - Generate Xray configuration - `/shorten` - Generate short links ## 📝 Recent Updates ### 2025-05-02 - Automatic renaming is now applied when proxies with the same name exist ([#175](https://github.com/7Sageer/sublink-worker/pull/175)) - Fixed DNS configuration for Singbox ([#174](https://github.com/7Sageer/sublink-worker/pull/174)) ## 🔧 Project Structure ``` . ├── index.js # Main server logic, handles request routing ├── BaseConfigBuilder.js # Build base configuration ├── SingboxConfigBuilder.js # Build Sing-Box configuration ├── ClashConfigBuilder.js # Build Clash configuration ├── ProxyParsers.js # Parse URLs of various proxy protocols ├── utils.js # Provide various utility functions ├── htmlBuilder.js # Generate Web interface ├── style.js # Generate CSS for Web interface ├── config.js # Store configuration information └── docs/ ├── APIDoc.md # API documentation ├── UpdateLogs.md # Update logs ├── FAQ.md # Frequently asked questions └── BaseConfig.md # Basic configuration feature introduction ``` ## 🤝 Contribution Issues and Pull Requests are welcome to improve this project. ## 📄 License This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. ## ⚠️ Disclaimer This project is for learning and exchange purposes only. Please do not use it for illegal purposes. All consequences resulting from the use of this project are solely the responsibility of the user and are not related to the developer. ## 💰 Sponsorship
|
|
NodeSupport has sponsored this project, thank you for your support!
If you would like to sponsor this project, please contact the developer @7Sageer