Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xmdhs/clash2sfa
将 Clash.Meta 格式的订阅链接转换为 sing-box 格式的订阅,用于 SFA
https://github.com/xmdhs/clash2sfa
clash clash-meta sing-box
Last synced: 1 day ago
JSON representation
将 Clash.Meta 格式的订阅链接转换为 sing-box 格式的订阅,用于 SFA
- Host: GitHub
- URL: https://github.com/xmdhs/clash2sfa
- Owner: xmdhs
- License: mit
- Created: 2023-04-08T12:32:17.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-09T18:19:34.000Z (13 days ago)
- Last Synced: 2024-12-14T13:09:26.903Z (8 days ago)
- Topics: clash, clash-meta, sing-box
- Language: Go
- Homepage: https://clash2sfa.xmdhs.com
- Size: 245 KB
- Stars: 484
- Watchers: 5
- Forks: 90
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# clash2sfa
用于将 Clash.Meta 格式的订阅链接转换为 sing-box 格式订阅,可用于[SFA](https://sing-box.sagernet.org/zh/clients/)。## 部署
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fxmdhs%2Fclash2sfa) 一键部署到 Vercel
demo https://clash2sfa.xmdhs.com (建议自行部署)
## docker
```
docker run -d -p 8080:8080 ghcr.io/xmdhs/clash2sfa
```
## 使用
启动后使用浏览器访问 http://ip:portSFA remote 中填入链接,可以通过 https://yacd.metacubex.one/ 切换节点和全局/分流模式等。
## 配置文件模板
对配置文件模板中大多数修改都将被保留,在模板中的 outbounds 中增加节点也会被保留。## 可转换的协议
见 https://github.com/xmdhs/clash2singbox#%E6%94%AF%E6%8C%81%E5%8D%8F%E8%AE%AE## 命令行版本
https://github.com/xmdhs/clash2singbox