1
0
Fork 0
1Panel-Appstore/apps/sub2sing-box
pooneyy 7ff35caf28
🔧 chore(apps): set the pull policy for all services using fixed tag images
- add `pull_policy: always` to all service definitions across all docker-compose files
- ensure consistent image update behavior for all applications
- maintain existing network configurations and external network settings
- preserve all other service configurations and environment variables
2025-11-10 16:10:24 +08:00
..
0.0.10 feat(apps): add structured label field to all application configurations 2025-11-06 23:35:02 +08:00
latest 🔧 chore(apps): set the pull policy for all services using fixed tag images 2025-11-10 16:10:24 +08:00
README.md
data.yml feat(apps): add description field to all application data files 2025-11-06 22:24:44 +08:00
logo.png

README.md

sub2sing-box

cli

  • convert: 转换
  • server: 启动 Web UI
  • version: 版本信息

sub2sing-box <command> -h 查看帮助

api

GET /convert?data=xxx

data 为 base64 URL 编码的请求体,示例

{
  "subscriptions": ["订阅地址1", "订阅地址2"],
  "proxies": ["代理1", "代理2"],
  "template": "模板路径",
  "delete": "",
  "rename": {"原文本": "新文本"},
  "group": false,
  "group-type": "selector",
  "sort": "name",
  "sort-type": "asc"
}

Template 占位符

  • <all-proxy-tags>: 插入所有节点标签
    {
      "type": "selector",
      "tag": "节点选择",
      "outbounds": ["<all-proxy-tags>",   "direct"],
      "interrupt_exist_connections": true
    }
    
  • <all-country-tags>: 插入所有国家标签
    {
      "type": "selector",
      "tag": "节点选择",
      "outbounds": ["<all-country-tags>", "direct"],
      "interrupt_exist_connections": true
    }
    
  • <国家(地区)二字码>: 插入国家(地区)所有节点标签,例如 <tw>
    {
      "type": "selector",
      "tag": "巴哈姆特",
      "outbounds": ["<tw>", "direct"],
      "interrupt_exist_connections": true
    }
    

Docker

docker run -p 8080:8080 nite07/sub2sing-box