mirror of
https://github.com/bestnite/sub2clash.git
synced 2025-06-17 12:43:18 +08:00
init
This commit is contained in:
37
README.md
Normal file
37
README.md
Normal file
@ -0,0 +1,37 @@
|
||||
# sub2clash
|
||||
|
||||
将订阅链接转换为 Clash、Clash.Meta 配置
|
||||
|
||||
## 特性
|
||||
|
||||
- 开箱即用的规则、策略组配置
|
||||
- 自动根据节点名称按国家划分策略组
|
||||
- 支持协议
|
||||
- [x] Shadowsocks
|
||||
- [x] ShadowsocksR
|
||||
- [x] Vmess
|
||||
- [x] Vless
|
||||
- [x] Trojan
|
||||
- [ ] Hysteria
|
||||
- [ ] TUIC
|
||||
- [ ] WireGuard
|
||||
|
||||
## API
|
||||
|
||||
### /clash
|
||||
|
||||
获取 Clash 配置链接
|
||||
|
||||
| Query 参数 | 类型 | 说明 |
|
||||
| ---------- | ------ | --------------------------------- |
|
||||
| sub | string | 订阅链接 |
|
||||
| refresh | bool | 强制获取新配置(默认缓存 5 分钟) |
|
||||
|
||||
### /meta
|
||||
|
||||
获取 Meta 配置链接
|
||||
|
||||
| Query 参数 | 类型 | 说明 |
|
||||
| ---------- | ------ | --------------------------------- |
|
||||
| sub | string | 订阅链接 |
|
||||
| refresh | bool | 强制获取新配置(默认缓存 5 分钟) |
|
Reference in New Issue
Block a user