Clash convert 订阅转换 vmess/trojan/ss 节点|订阅转 Clash 无后台请求

该工具迁移到:https://v2rayse.com/v2ray-clash

我们知道 clash 配置文件和 v2ray 客户端配置文件是不一样的,v2ray 客户端一般是 vmess://, ss://, trojan:// 开头的文件,或者是经过 base64编码的文件,这样的文件可以导入到 v2ray 客户端,但clash配置文件是带有分流规则的,他的节点数据也不一样,而是用统一的 json形式,用 type 进行区分,为了方便批量转换,我写了一个纯前端的转换工具,下面来看下怎么使用。

使用方法

进来主页面我们可以看到这里有 3 种输入方式,分别是输入框、URL和文件,我们一个一个来看下。

1. 输入框

当选择“输入框”时,上面会出现一个输入的框,在这里可以输入 v2ray 节点,节点可以是 vmess:// , trojan://, ss:// 协议头的文件(以换行为一条)也可以是经过 Base64编码 的文件,输入后点转换按钮就可以把节点转换成 clash 配置文件
转换后可以对文件进行下载,然后放到 clash 客户端里,就可以使用这些节点进行科学上网。展开的clash 配置文件也可以进行修改,修改后可以下载修改后的文件。

2. URL

URL顾名思义就是给一个订阅链接,这个订阅链接里包含了节点数据,这些节点可以是带协议头的也可以是经过 Base64编码 的文件
这里订阅的服务器需要允许跨域才可以访问

转换完成后和 输入框是一样的效果,可以对文件进行下载,也可以修改后再下载。

3. 文件

如果节点数量比较大,可以放在一个文件内,然后进行导入操作,这个文件可以是带协议头的,也可以是经过 Base64编码 的文件

这里转换完成后,接下来的操作也和上面一样

总结

这是一个纯前端写的转换工具类,无后台请求,并提供了3种转换方式,因为是纯前端导入,所以速度上也是非常快的,但这个因为是新写的工具,可能会存在 bug ,有发现问题欢迎反馈~

1 评论

  1. PartyCasino doesn’t need to add a ton of bells and whistles to its collection of roulette games outcome of|as a outcome of} they know that the classics are where it’s at. But there’s one that goes against 카지노사이트 the grain in a enjoyable, invigorating way. American roulette at Mohegan Sun has an easy design that doesn’t distract from the gameplay. On the proper, have the ability to|you presumably can} examine scorching and cold|the chilly and hot|the chilly and warm} numbers nicely as|in addition to} which numbers have come up in your most up-to-date spins.

    回复删除