{"id":14130465,"url":"https://github.com/7Sageer/sublink-worker","last_synced_at":"2025-08-04T04:32:37.235Z","repository":{"id":250418269,"uuid":"834421850","full_name":"7Sageer/sublink-worker","owner":"7Sageer","description":"无需服务器，一键部署，快速使用自建节点分享URL进行订阅转换，提供灵活的自定义选项，支持SingBox/Clash/V2Ray/Xray","archived":false,"fork":false,"pushed_at":"2024-11-30T15:52:31.000Z","size":2171,"stargazers_count":997,"open_issues_count":10,"forks_count":1841,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-12-05T17:00:09.210Z","etag":null,"topics":["clash","clash-meta","cloudflare-workers","mihomo","singbox","v2rayn","v2rayng","xray-core"],"latest_commit_sha":null,"homepage":"https://sublink-worker.sageer.me/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/7Sageer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-27T08:09:07.000Z","updated_at":"2024-12-05T14:40:53.000Z","dependencies_parsed_at":"2024-11-19T08:26:12.602Z","dependency_job_id":"1fd4f0b3-91ed-48d4-8c3b-d492a28b8085","html_url":"https://github.com/7Sageer/sublink-worker","commit_stats":{"total_commits":103,"total_committers":4,"mean_commits":25.75,"dds":"0.15533980582524276","last_synced_commit":"2f3b48a91b610d2b0435645aefd45414cad0ec0d"},"previous_names":["7sageer/sublink-worker"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7Sageer%2Fsublink-worker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7Sageer%2Fsublink-worker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7Sageer%2Fsublink-worker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7Sageer%2Fsublink-worker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/7Sageer","download_url":"https://codeload.github.com/7Sageer/sublink-worker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228598942,"owners_count":17943265,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clash","clash-meta","cloudflare-workers","mihomo","singbox","v2rayn","v2rayng","xray-core"],"created_at":"2024-08-15T21:00:52.042Z","updated_at":"2025-08-04T04:32:37.190Z","avatar_url":"https://github.com/7Sageer.png","language":"JavaScript","funding_links":[],"categories":["其他","JavaScript","�🔗 短链与导航"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003e\u003cb\u003eSublink Worker\u003c/b\u003e\u003c/h1\u003e\n  \u003ch5\u003e\u003ci\u003eBest Practice for Serverless Self-Deployed Subscription Conversion Tool\u003c/i\u003e\u003c/h5\u003e\n  \n  \u003ca href=\"https://trendshift.io/repositories/12291\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://trendshift.io/api/badge/repositories/12291\" alt=\"7Sageer%2Fsublink-worker | Trendshift\" width=\"250\" height=\"55\"/\u003e\n  \u003c/a\u003e\n  \n  \u003c!-- \u003cp\u003e\n    \u003ca href=\"https://sublink-worker.sageer.me\"\u003ehttps://sublink-worker.sageer.me\u003c/a\u003e\n  \u003c/p\u003e --\u003e\n  \u003cbr\u003e\n\n  \u003cp\u003e\n    \u003ca href=\"https://dash.cloudflare.com/?to=/:account/workers-and-pages/create\"\u003e\n      \u003cimg src=\"https://deploy.workers.cloudflare.com/button\" alt=\"Deploy to Cloudflare Workers\"/\u003e\n    \u003c/a\u003e\n  \u003c/p\u003e\n  \n  \u003cp\u003e\u003ca href=\"/docs/README_CN.md\"\u003e中文文档\u003c/a\u003e\u003c/p\u003e\n\u003c/div\u003e\n\n## 🚀 Quick Start\n\n### Quick Deployment\n- Fork this project, click the `Deploy to Cloudflare` button above\n- Select your repository in the `Import Repository` section (you need to link your GitHub account)\n- Change the `Deploy Command` as follows, then select `Save and Deploy`\n``` bash\nnpm run deploy\n```\n\n## ✨ Features\n\n### Supported Protocols\n- ShadowSocks\n- VMess\n- VLESS\n- Hysteria2\n- Trojan\n- TUIC\n\n### Core Features\n- Support for importing Base64 http/https subscription links and various protocol sharing URLs\n- Pure JavaScript + Cloudflare Worker implementation, one-click deployment, ready to use\n- Support for fixed/random short link generation (based on KV)\n- Light/Dark theme toggle\n- Flexible API, supporting script operations\n- Support for Chinese, English, and Persian languages\n\n### Client Support\n- Sing-Box\n- Clash\n- Xray/V2Ray\n\n### Web Interface Features\n- User-friendly operation interface\n- Various predefined rule sets\n- Customizable policy groups for geo-site, geo-ip, ip-cidr, and domain-suffix\n\n## 📖 API Documentation\n\nFor detailed API documentation, please refer to [APIDoc.md](/docs/APIDoc.md)\n\n### Main Endpoints\n- `/singbox` - Generate Sing-Box configuration\n- `/clash` - Generate Clash configuration\n- `/xray` - Generate Xray configuration\n- `/shorten` - Generate short links\n\n## 📝 Recent Updates\n\n### 2025-05-02\n\n- Automatic renaming is now applied when proxies with the same name exist ([#175](https://github.com/7Sageer/sublink-worker/pull/175))\n- Fixed DNS configuration for Singbox ([#174](https://github.com/7Sageer/sublink-worker/pull/174))\n\n## 🔧 Project Structure\n\n```\n.\n├── index.js                 # Main server logic, handles request routing\n├── BaseConfigBuilder.js     # Build base configuration\n├── SingboxConfigBuilder.js  # Build Sing-Box configuration\n├── ClashConfigBuilder.js    # Build Clash configuration\n├── ProxyParsers.js          # Parse URLs of various proxy protocols\n├── utils.js                 # Provide various utility functions\n├── htmlBuilder.js           # Generate Web interface\n├── style.js                 # Generate CSS for Web interface\n├── config.js                # Store configuration information\n└── docs/\n    ├── APIDoc.md            # API documentation\n    ├── UpdateLogs.md        # Update logs\n    ├── FAQ.md               # Frequently asked questions\n    └── BaseConfig.md        # Basic configuration feature introduction\n```\n\n## 🤝 Contribution\n\nIssues and Pull Requests are welcome to improve this project.\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## ⚠️ Disclaimer\n\nThis 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.\n\n## 💰 Sponsorship\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch3\u003eThanks to the following sponsors for their support of this project\u003c/h3\u003e\n\u003ctable border=\"0\"\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\n      \u003ca href=\"https://yxvm.com/\" target=\"_blank\" title=\"YXVM\"\u003e\n        \u003cimg src=\"https://image.779477.xyz/yxvm.png\" alt=\"YXVM\" height=\"60\" hspace=\"20\"/\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n      \u003ca href=\"https://github.com/NodeSeekDev/NodeSupport\" target=\"_blank\" title=\"NodeSupport\"\u003e\n        \u003cimg src=\"https://image.779477.xyz/ns.png\" alt=\"NodeSupport\" height=\"60\" hspace=\"20\"/\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n  \u003cp\u003e\u003cb\u003eNodeSupport has sponsored this project, thank you for your support!\u003c/b\u003e\u003c/p\u003e\n  \u003cp\u003eIf you would like to sponsor this project, please contact the developer \u003ca href=\"https://github.com/7Sageer\" style=\"text-decoration: none;\"\u003e@7Sageer\u003c/a\u003e\u003c/p\u003e\n\u003c/div\u003e\n\n## ⭐ Star History\n\nThanks to everyone who has starred this project! 🌟\n\n\u003ca href=\"https://star-history.com/#7Sageer/sublink-worker\u0026Date\"\u003e\n \u003cpicture\u003e\n   \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://api.star-history.com/svg?repos=7Sageer/sublink-worker\u0026type=Date\u0026theme=dark\" /\u003e\n   \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://api.star-history.com/svg?repos=7Sageer/sublink-worker\u0026type=Date\" /\u003e\n   \u003cimg alt=\"Star History Chart\" src=\"https://api.star-history.com/svg?repos=7Sageer/sublink-worker\u0026type=Date\" /\u003e\n \u003c/picture\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7Sageer%2Fsublink-worker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F7Sageer%2Fsublink-worker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7Sageer%2Fsublink-worker/lists"}