This commit is contained in:
riglen
2026-03-31 17:00:00 +08:00
parent 09a9faa1be
commit fb39e6ee40
6 changed files with 345 additions and 18 deletions

View File

@@ -13,8 +13,12 @@
- provider 单源输出、merged provider 输出、thin client 输出、bundle 输出
- 服务端内部继续解耦抓取、配额头解析、provider 构建、规则加载、profile 组装分层处理
> 当前版本仍然只支持上游已经能返回 Clash/Mihomo YAML `proxies:` 文件的地址。
> 这很适合先接你现有的 `sub-wrapper` / `sub-store` / `subconverter(-extended)` 输出。
> 当前版本会自动识别上游输入格式,支持:
> 1. 已经能返回 Clash/Mihomo YAML `proxies:` 文件的地址
> 2. base64 编码的 URI 订阅
> 3. 明文 URI 订阅
>
> 当前已兼容常见的 `anytls://`、`vless://`、`trojan://`、`ss://`、`vmess://`。
---
@@ -62,7 +66,8 @@ cp .env.example .env
- `PUBLIC_PATH` 改成足够长的随机字符串
- `PUBLIC_BASE_URL` 建议填写你反代后的最终访问地址,例如 `https://sub.example.com`
- `AIRPORT_A_URL` / `AIRPORT_B_URL` 改成你的上游 YAML provider 地址
- `AIRPORT_A_URL` / `AIRPORT_B_URL` 都可以直接填订阅地址,项目会自动判断是 YAML 还是 URI 订阅
- 允许把其中一个留空;留空时这个机场会自动跳过
3. 启动: