We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, serenity use github.com/Dreamacro/clash as ProxyConfig Parser.
github.com/Dreamacro/clash
https://github.com/SagerNet/serenity/blob/dev/subscription/parser/clash.go#L29
import ( .... "github.com/Dreamacro/clash/adapter" clash_outbound "github.com/Dreamacro/clash/adapter/outbound" "github.com/Dreamacro/clash/common/structure" "github.com/Dreamacro/clash/config" "github.com/Dreamacro/clash/constant" ) ... func ParseClashSubscription(_ context.Context, content string) ([]option.Outbound, error) { config, err := config.UnmarshalRawConfig([]byte(content)) if err != nil { return nil, E.Cause(err, "parse clash config") } decoder := structure.NewDecoder(structure.Option{TagName: "proxy", WeaklyTypedInput: true}) var outbounds []option.Outbound for i, proxyMapping := range config.Proxy { proxy, err := adapter.ParseProxy(proxyMapping) <--- // Unspported Proxy Type Exception if err != nil { return nil, E.Cause(err, "parse proxy ", i) }
It will be better to move to github.com/metacubex/mihomo , which supports a lot more modern proxy protocols like: snell, vless, mieru, etc.
github.com/metacubex/mihomo
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently, serenity use
github.com/Dreamacro/clash
as ProxyConfig Parser.https://github.com/SagerNet/serenity/blob/dev/subscription/parser/clash.go#L29
It will be better to move to
github.com/metacubex/mihomo
, which supports a lot more modern proxy protocols like: snell, vless, mieru, etc.The text was updated successfully, but these errors were encountered: