This commit is contained in:
eric
2026-03-28 13:27:53 -05:00
parent d34ecab19c
commit 8053c4cb6d
48 changed files with 3527 additions and 1433 deletions

View File

@@ -4,12 +4,20 @@
This fork now includes a modular Linux deployment layout for ARM and X86 nodes.
### Live Platform四层架构
- **配置中心**`/opt/live/config`(模板见 `live-platform/config/defaults/`,开发时回退到仓库内同路径)
- **一键脚本**`./install-core.sh`(系统 + 基础服务,与业务解耦)、`./install-live.sh`(仅无人直播业务)、`./doctor.sh`(体检)
- **统一 API**`GET /hub/dashboard``GET /hub/config` 等(见 [`docs/ARCHITECTURE.md`](docs/ARCHITECTURE.md)
- **产品级 Web**:根路径 `/` 为 Live Hub 控制中心;`/console` 为高级全功能页
- `install-hub.sh`: reusable Linux super hub with `live.local`, ShellCrash, WebTTY, Cockpit, File Browser, Homepage and Netdata
- `install-business.sh`: Douyin / YouTube / HDMI business module with ffmpeg, mpv, ADB, Chromium, web-scrcpy and SRS
- `install-all.sh`: installs both layers without tightly coupling them
Detailed docs:
- [`docs/ARCHITECTURE.md`](docs/ARCHITECTURE.md)
- [`docs/install-profiles.md`](docs/install-profiles.md)
- [`docs/super-hub-architecture.md`](docs/super-hub-architecture.md)
@@ -17,9 +25,11 @@ Detailed docs:
After `install-hub.sh` or `install-all.sh`, the default service map is:
- `http://live.local:8001` for the main Chinese-first control plane
- `http://live.local:8001/shellcrash` for the dedicated ShellCrash web editor
- `http://live.local:8001/android` for the Android device center
- **`http://live.local`** (port 80, via **Caddy** `live-edge.service`) → same UI/API as the control plane
- `http://live.local:8001` for direct access to FastAPI (no edge proxy)
- `http://live.local/shellcrash` or `:8001/shellcrash` — ShellCrash 编辑器
- `http://live.local/android` or `:8001/android` — 安卓中心
- `http://live.local:3080` — Homepage 聚合(默认不再占用 80
- `http://live.local:7681` for WebTTY
- `http://live.local:8082` for File Browser with `live / 12345678`
- `http://live.local:19999` for Netdata