适用于clash surge quantumult等网络工具的链接转换小工具
本工具是我自建了后端,又懒得再搭建sub-web(https://github.com/CareyWang/sub-web) 网页前端的产物
方便和我一样不想用他人后端、又懒得自建前端/不想每3个月重新上传自定义配置的人
自带了部分网友提供的转换后端及配置,支持使用自己的后端及自定义配置
如果还觉得麻烦也可修改代码成方便你自己使用、完全自定义的一键生成工具
共四种转换模式,推荐使用第2、3种模式转换,几乎所有配置选项都设有默认模式,不知道选项意思、不知道该怎么配置的直接回车默认即可
离线使用,无需联网即可生成(前提你安装了python),按提示输入相关数据即可生成,当然客户端下载配置需要联网
因为是离线使用所以没有短链接功能~
用到的库:random、urllib3
pip3 install random
pip3 install urllib3
下载链接:
https://raw.githubusercontent.com/ChellyL/sub-conver-python/main/sub_con.py
参考了tindy2013的subconverter配置教程:https://github.com/tindy2013/subconverter/blob/master/README-cn.md
如需自建后端,也请参考tindy2013的subconverter程序:https://github.com/tindy2013/subconverter
以下截图最后输出有bug,已经改了,稍微有点不同,可正常使用,懒得改图了