- 将 Surge 生成器中的不支持错误统一为 SurgeUnsupportedProxyError,便于上层识别兼容性限制 - SurgeMac 在 useMihomoExternal 场景下仅对不支持错误尝试回退到 Mihomo,否则保留原异常 - 回退失败时给出更明确的手动切换提示,降低误判与排障成本 - 调整部分告警级别为 warn,避免非法 UUID/非 IP 地址误导用户 - 新增测试,覆盖 SurgeMac 不支持节点在 external 模式下不再强制包装为 Mihomo
Advanced Subscription Manager for QX, Loon, Surge, Stash, Egern and Shadowrocket.
Core functionalities:
- Conversion among various formats.
- Subscription formatting.
- Collect multiple subscriptions in one URL.
- Host and modify subscriptions/files
The following descriptions of features may not be updated in real-time. Please refer to the actual available features for accurate information.
1. Subscription Conversion
Supported Input Formats
本地节点怎么写/How To Write A Local Node
⚠️ Do not use
ShadowrocketorNekoBoxto export URI and then import it as input. The URIs exported in this way may not be standard URIs. However, we have already supported some very common non-standard URIs (such as VMess, VLESS).
-
Proxy URI Scheme(
socks5,socks5+tls,http,https(it's ok))example:
socks5+tls://user:pass@ip:port#name -
URI(AnyTLS, SOCKS, SS, SSR, VMess, VLESS, Trojan, Hysteria, Hysteria 2, TUIC v5, WireGuard)
Please note, HTTP(s) does not have a standard URI format, so it is not supported. Please use other formats.
-
Clash Proxies YAML
-
Clash Proxy JSON/JSON5/YAML(single line)
-
QX (SS, SSR, VMess, Trojan, HTTP, SOCKS5, VLESS, AnyTLS)
-
Loon (SS, SSR, VMess, Trojan, HTTP, SOCKS5, SOCKS5-TLS, WireGuard, VLESS, Hysteria 2, AnyTLS)
-
Surge (Direct, SS, VMess, Trojan, HTTP, SOCKS5, SOCKS5-TLS, AnyTLS, TrustTunnel, TUIC, Snell, Hysteria 2, SSH(Password authentication only), External Proxy Program(only for macOS), WireGuard(Surge to Surge))
-
mihomo(Clash.Meta) Compatible (Direct, SS, SSR, VMess, Trojan, HTTP, SOCKS5, Snell, VLESS, WireGuard, Hysteria, Hysteria 2, TUIC, SSH, mieru, sudoku, AnyTLS, MASQUE, Tailscale)
Deprecated(The frontend doesn't show it, but the backend still supports it, with the query parameter target=Clash):
- Clash (SS, SSR, VMess, Trojan, HTTP, SOCKS5, Snell, VLESS, WireGuard)
Supported Target Platforms
- Plain JSON
- Stash
- Clash.Meta(mihomo)
- Surfboard
- Surge
- SurgeMac(Use mihomo to support protocols that are not supported by Surge itself)
- Loon
- Egern
- Shadowrocket
- QX
- sing-box
- V2Ray
- V2Ray URI
Deprecated:
- Clash
2. Subscription Formatting
Filtering
- Regex filter
- Discard regex filter
- Region filter
- Type filter
- Useless proxies filter
- Script filter
Proxy Operations
- Set property operator: set some proxy properties such as
udp,tfo,skip-cert-verifyetc. - Flag operator: add flags or remove flags for proxies.
- Sort operator: sort proxies by name.
- Regex sort operator: sort proxies by keywords (fallback to normal sort).
- Regex rename operator: replace by regex in proxy names.
- Regex delete operator: delete by regex in proxy names.
- Script operator: modify proxy by script.
- Resolve Domain Operator: resolve the domain of nodes to an IP address.
Development
Install pnpm
Go to backend directories, install node dependencies:
pnpm i
SUB_STORE_BACKEND_API_PORT=3000 pnpm esbuild:dev
or this one if you're using Termux
SUB_STORE_BACKEND_API_PORT=3000 pnpm run --parallel "/^dev:.*/"
Build
pnpm bundle:esbuild
LICENSE
This project is under the GPL V3 LICENSE.
Star History
Acknowledgements
- Special thanks to @KOP-XIAO for his awesome resource-parser. Please give a star for his great work!
- Special thanks to @Orz-3 and @58xinian for their awesome icons.
Sponsors
NodeSupport sponsored this project.

