Files
sub-router/README.md
2026-03-31 13:13:35 +08:00

32 lines
589 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Sub Router
Surge 代理订阅管理系统。聚合多个上游订阅源,管理自定义节点和规则,生成合并后的 Surge 配置文件。
## 快速开始
```bash
# 安装依赖
npm install
# 开发模式(前后端同时启动)
npm run dev
# 生产构建
npm run build:web
npm run start
```
## Docker 部署
```bash
docker compose up -d
```
服务运行在 `http://localhost:3456`Surge 订阅地址为 `http://<host>:3456/surge`
## 技术栈
- **后端**: Express + TypeScript + better-sqlite3
- **前端**: React + Vite + TypeScript
- **数据库**: SQLite