20261127-66caaba
Build way-node / Build and Push (push) Successful in 1m16s
1) install.sh: Gitea 不支持 GitHub 的 /releases/latest/download/ 简写 (实测 404),改成先用 Gitea API /releases/latest 查 tag_name, 再拼 /releases/download/<tag>/<artifact>(实测 200,66875554 bytes)。 解析用 sed,不依赖 jq/python。 2) CI: 上一轮 release 上传静默失败,日志是 '/root/.cache/act/.../7.sh: line 6: curl: command not found' 根因是装 curl 的语句写在 'if ! command -v docker' 里面, 而 docker 本来就存在(runner 挂了 docker.sock),整段被跳过。 现在 curl 单独检查安装;release id 解析也从 python3 换成 sed。
way-node
Node backend for Xboard. Supports sing-box / xray-core dual kernels.
Disclaimer: This project is for educational and learning purposes only.
Features
- Protocols: V2Ray family, Trojan, Shadowsocks, Hysteria2, TUIC, AnyTLS
- Sync: WebSocket push + REST polling dual channel
- User controls: speed limit, device limit, alive-IP tracking, hot update
- Deploy modes: node mode, machine mode, standalone mode
- Multi-instance: single process binding multiple panels / nodes
Install
Docker
docker run -d --restart=always --network=host \
-e apiHost=https://panel.com -e apiKey=TOKEN -e nodeID=1 \
git.viaeon.com/admin/way-node:latest
Docker Compose
git clone -b compose --depth 1 https://git.viaeon.com/admin/way-node.git
cd way-node
vim config/config.yml # set panel.url / token / node_id
docker compose up -d
Installer (Linux systemd)
# Node mode
curl -fsSL https://git.viaeon.com/admin/way-node/raw/branch/dev/install.sh | \
sudo bash -s -- --mode node --panel https://panel.example.com --token TOKEN --node-id 1
# Machine mode
curl -fsSL https://git.viaeon.com/admin/way-node/raw/branch/dev/install.sh | \
sudo bash -s -- --mode machine --panel https://panel.example.com --token TOKEN --machine-id 1
## xbctl
Run `xbctl` after installation for help. Common commands:
```bash
xbctl list # list all instances
xbctl status # running status
xbctl bind add-node --panel URL --token TOKEN --node-id 1
xbctl bind add-machine --panel URL --token TOKEN --machine-id 1
xbctl bind remove-node --panel URL --node-id 1
xbctl service restart
Configuration
Legacy single-panel config is fully compatible. Appending bindings auto-migrates to instances format. See config.yml.example.
Extensions
- Custom routes: docs-custom-routes.md
- Custom outbounds: docs-custom-outbounds.md
- DNS providers (ACME DNS-01): docs-dns-providers.md
License
MPL-2.0.
Releases
4
20261127-81e47d4
Latest
Languages
Go
95.4%
Shell
4%
Makefile
0.3%
Dockerfile
0.3%