├── .github └── workflows │ └── release.yaml ├── .gitignore ├── LICENSE ├── README.md ├── config.json.template ├── config_template ├── templ-http-sock-proxy-only.json └── templ-tun.json ├── convert ├── anytls.go ├── convert.go ├── hysteria.go ├── hysteria_test.go ├── relay.go ├── socks5.go ├── ss.go ├── tuic.go ├── url.go ├── utils.go ├── vmess.go └── wireguard.go ├── go.mod ├── go.sum ├── httputils ├── clash.go └── http.go ├── main.go ├── model ├── clash │ ├── clash.go │ ├── type.go │ └── wg.go ├── sing.go └── singbox │ └── singbox.go └── scripts └── refresh-sub-and-restart-singbox.sh /.github/workflows/release.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/.github/workflows/release.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /1.json 2 | /1.yaml 3 | clash2singbox.exe 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/README.md -------------------------------------------------------------------------------- /config.json.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/config.json.template -------------------------------------------------------------------------------- /config_template/templ-http-sock-proxy-only.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/config_template/templ-http-sock-proxy-only.json -------------------------------------------------------------------------------- /config_template/templ-tun.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/config_template/templ-tun.json -------------------------------------------------------------------------------- /convert/anytls.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/convert/anytls.go -------------------------------------------------------------------------------- /convert/convert.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/convert/convert.go -------------------------------------------------------------------------------- /convert/hysteria.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/convert/hysteria.go -------------------------------------------------------------------------------- /convert/hysteria_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/convert/hysteria_test.go -------------------------------------------------------------------------------- /convert/relay.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/convert/relay.go -------------------------------------------------------------------------------- /convert/socks5.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/convert/socks5.go -------------------------------------------------------------------------------- /convert/ss.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/convert/ss.go -------------------------------------------------------------------------------- /convert/tuic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/convert/tuic.go -------------------------------------------------------------------------------- /convert/url.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/convert/url.go -------------------------------------------------------------------------------- /convert/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/convert/utils.go -------------------------------------------------------------------------------- /convert/vmess.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/convert/vmess.go -------------------------------------------------------------------------------- /convert/wireguard.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/convert/wireguard.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/go.sum -------------------------------------------------------------------------------- /httputils/clash.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/httputils/clash.go -------------------------------------------------------------------------------- /httputils/http.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/httputils/http.go -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/main.go -------------------------------------------------------------------------------- /model/clash/clash.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/model/clash/clash.go -------------------------------------------------------------------------------- /model/clash/type.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/model/clash/type.go -------------------------------------------------------------------------------- /model/clash/wg.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/model/clash/wg.go -------------------------------------------------------------------------------- /model/sing.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/model/sing.go -------------------------------------------------------------------------------- /model/singbox/singbox.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/model/singbox/singbox.go -------------------------------------------------------------------------------- /scripts/refresh-sub-and-restart-singbox.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xmdhs/clash2singbox/HEAD/scripts/refresh-sub-and-restart-singbox.sh --------------------------------------------------------------------------------