Git Product home page Git Product logo

clash2sfa's Introduction

clash2sfa

用于将 clash 格式的订阅链接转换为 sing-box 格式,可用于安卓版本的 SFA,ios 版本未测试。

部署

环境变量 port 控制程序运行所在的端口,若未设置默认开放在 8080 端口。

docker

docker run -d -p 8080:8080 ghcr.io/xmdhs/clash2sfa

使用

启动后使用浏览器访问 http://ip:port

SFA remote 中填入链接,可以通过 https://clash.razord.top 切换节点和全局/分流模式等。

demo https://clash2sfa-xmdhs.koyeb.app/ (因为转换格式需要把订阅链接发送到服务器并保存在数据库中,且数据库会不定时删除,建议自己部署。)

配置文件模板

对配置文件模板中大多数修改都将被保留,在模板中的 outbounds 中增加节点也会被保留。

可转换的协议

通常的 clash 配置文件都可以转换,如果有哪个协议不能转换或者转换错误,请告诉我。

命令行版本

https://github.com/xmdhs/clash2singbox

clash2sfa's People

Contributors

xmdhs avatar

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.