sub-store,节点高级订阅管理器

简介

QX,Loon,Surge,Stash,Egern 和 ShadowRocket 的高级订阅管理器

支持的格式

  • 代理 URI 方案 (Proxy URI Scheme) (socks5, socks5+tls, http, https (可以))
    • 示例: socks5+tls://user:pass@ip:port#name
  • URI 支持 (URI Support) (AnyTLS, SOCKS, SS, SSR, VMess, VLESS, Trojan, Hysteria, Hysteria 2, TUIC v5, WireGuard)
  • Clash 代理 YAML 格式 (Clash Proxies YAML)
  • Clash 代理 JSON 格式 (单行) (Clash Proxy JSON (single line))
  • Quantumult X (QX) 支持 (QX Support) (SS, SSR, VMess, Trojan, HTTP, SOCKS5, VLESS)
  • Loon 支持 (Loon Support) (SS, SSR, VMess, Trojan, HTTP, SOCKS5, SOCKS5-TLS, WireGuard, VLESS, Hysteria 2)
  • Surge 支持 (Surge Support) (Direct, SS, VMess, Trojan, HTTP, SOCKS5, SOCKS5-TLS, TUIC, Snell, Hysteria 2, SSH (仅密码认证), 外部代理程序 (仅限 macOS), WireGuard (Surge to Surge))
  • Surfboard 支持 (Surfboard Support) (SS, VMess, Trojan, HTTP, SOCKS5, SOCKS5-TLS, WireGuard (Surfboard to Surfboard))
  • Clash.Meta 支持 (Clash.Meta Support) (Direct, SS, SSR, VMess, Trojan, HTTP, SOCKS5, Snell, VLESS, WireGuard, Hysteria, Hysteria 2, TUIC, SSH, mieru, AnyTLS)
  • Stash 支持 (Stash Support) (SS, SSR, VMess, Trojan, HTTP, SOCKS5, Snell, VLESS, WireGuard, Hysteria, TUIC, Juicity, SSH)

支持的目标平台

  • 纯 JSON 格式 (Plain JSON)
  • Stash
  • Clash.Meta (mihomo)
  • Surfboard
  • Surge
  • Surge Mac (使用 mihomo 支持 Surge 本身不支持的协议) (SurgeMac (Use mihomo to support protocols that are not supported by Surge itself))
  • Loon
  • Egern
  • Shadowrocket
  • Quantumult X (QX)
  • sing-box
  • V2Ray
  • V2Ray URI

源码:https://github.com/sub-store-org/Sub-Store

部署

docker

1
docker run -d --name sub-store -p 3001:3001 -v /root/sub-store_data:/root/sub-store-data -e SUB_STORE_BACKEND_API_HOST=127.0.0.1 xream/sub-store

docker compose

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
version: '3.9'

services:
  sub-store:
    image: 'xream/sub-store:http-meta'
    container_name: 'sub-store'
    ports:
      - '127.0.0.1:8010:3000'
    environment:
      - HOST=127.0.0.1
      - PORT=9876
      - SUB_STORE_BACKEND_API_PORT=3000
      - SUB_STORE_BACKEND_API_HOST=0.0.0.0
      - SUB_STORE_BACKEND_MERGE=true
      - SUB_STORE_FRONTEND_BACKEND_PATH=/2cXaAxRGfddmGz2yx1wA  # 后端路径
      - SUB_STORE_BACKEND_SYNC_CRON=55 23 * * *
    volumes:
      - './sub-store_data:/opt/app/data'
    restart: unless-stopped

更多详细介绍:https://hub.docker.com/r/xream/sub-store

使用

  • 前端:URL
  • 后端:URL/<SUB_STORE_FRONTEND_BACKEND_PATH>

后端端点检测

1
<url>/<SUB_STORE_FRONTEND_BACKEND_PATH>/api/utils/env

脚本

节点美化

1
https://raw.githubusercontent.com/Keywos/rule/main/rename.js

配置模板

1
https://raw.githubusercontent.com/xishang0128/sub-store-template/refs/heads/main/1.11.x/sing-box.json

脚本覆写

1
https://raw.githubusercontent.com/xishang0128/sub-store-template/refs/heads/main/1.11.x/sing-box.js#type=1&name=name
网站总访客数:Loading
网站总访问量:Loading

-->