Coder Social home page Coder Social logo

sing2cat's Introduction

clash-singbox

一款能够将机场的clash配置文件自动转换为singbox配置文件的软件,singbox需要支持clashAPI以及gvisor支持。目前支持的协议有:

  • vmess
  • ss
  • trojan

均为机场常见协议,需要新的协议可以自己添加,代码是模块化的,添加新的协议对于有一点点编程基础的人不是很难。

说明

关于DNS

  • 国内DNS:223.5.5.5
  • 国外DNS:8.8.8.8
  • 查询节点IPDNS:1.1.1.1

以上DNS均使用https加密,强烈建议使用加密DNS,不要用原始的UDP的DNS,QoS不说还泄露。

host劫持

singbox支持出站覆写IP和端口,基于此编写配置文件的出站和路由规则可以实现host劫持的效果,在程序中有提示host劫持该如何编写,这里不再赘述。

clash支持

clashAPI的支持使得singbox可以任意切换节点,这在看流媒体的时候很有意义

关于编译

使用python写的代码,pyinstaller打包的,mac用户需要自行打包一下,作者过于贫穷买不起mac,虚拟机又非常卡于是就把mac程序暂时不列入考虑范围,mac用户需要编译的话下载main.spec文件,修改pathex和hiddenimports,另外python需要安装有yaml和pyside6包。

  • pathex = ["你的项目路径"]
  • hiddenimports = ["你的项目路径/Gui","你的项目路径/jsProcess"]

sing2cat's People

Contributors

projechanonym avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar xiangzi avatar 鸡你太美 avatar huakaihualuo avatar NIkio  avatar  avatar  avatar Alex Blue avatar  avatar  avatar BI4NBN avatar Zeo avatar 彭亚伦 avatar  avatar YDD avatar Mike Erickson avatar f8f5t avatar  avatar Mariostin Ma avatar Jaya avatar  avatar  avatar  avatar Hu3rror avatar  avatar  avatar  avatar sifulin avatar  avatar  avatar

Watchers

sifulin avatar  avatar

sing2cat's Issues

windows使用问题

windows环境下使用sing2cat在运行main.exe之后,拖进去文件,最后点击确认,会弹出选择文件夹,这个该怎么操作,应该怎么选择

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.