Files
xboard-node/README.md
T
2026-03-24 00:01:13 +08:00

63 lines
1.1 KiB
Markdown

# xboard-node
Dedicated node backend for [Xboard](https://github.com/cedar2025/Xboard). Fully compatible with Xboard API.
> **Disclaimer**: This project is for educational and learning purposes only.
## Install
### Docker
```bash
docker run -d --restart=always --network=host \
-e apiHost=https://panel.com \
-e apiKey=TOKEN \
-e nodeID=1 \
ghcr.io/cedar2025/xboard-node:latest
```
### Docker Compose
**1. Get the `compose/` directory**
```bash
git clone -b compose --depth 1 https://github.com/cedar2025/xboard-node.git
cd xboard-node
```
**2. Edit local config**
```bash
vim config/config.yml
# edit config/config.yml — set panel.url, panel.token, panel.node_id
```
**3. Start**
```bash
docker compose up -d
```
## Features
- **Kernels**: sing-box (default) / Xray-core.
- **Protocols**: Full coverage (V2Ray, Trojan, SS, Hysteria2, TUIC, Naive).
- **Speed**: Kernel-level rate limiting.
- **Sync**: Real-time WebSocket + REST fallback.
- **Dev**: Single Go binary.
## Configuration
`config.yml`:
```yaml
panel:
url: "https://panel.com"
token: "token"
node_id: 1
```
## License
MPL-2.0.