feat: rename server package to hub

Rename the `server/` directory to `hub/` and update all references
across CLI, docs, web, and workspace configuration.
This commit is contained in:
weishu
2026-01-27 19:51:21 +08:00
parent 10fe9f0cd9
commit 37e10a831b
125 changed files with 301 additions and 285 deletions
+4 -2
View File
@@ -22,14 +22,16 @@ npx @twsxtd/hapi
Other install options: [Installation](./installation.md)
## Start the server
## Start the hub
```bash
hapi server --relay
hapi hub --relay
```
On first run, HAPI prints an access token and saves it to `~/.hapi/settings.json`.
`hapi server` remains supported as an alias.
The terminal will display a URL and QR code for remote access.
> End-to-end encrypted with WireGuard + TLS.