-
Notifications
You must be signed in to change notification settings - Fork 2
API Integration
English | 简体中文
Starry does not include an account/API server. HBBS registration, HBBR Relay traffic, account login, and the optional Starry Control Agent are separate services. A working login therefore does not prove that signalling or Relay traffic works, and a working Starry deployment does not provide accounts by itself.
A compatible third-party RustDesk API implementation can be deployed with Starry. Before using one, verify its supported RustDesk client versions, server-key handling, database backup procedure, authentication model, and whether its connection-token contract matches Starry connection authentication.
For the most closely aligned integration, this project recommends the same
developer's
q1ngyang/rustdesk-api-kessoku.
Use the Kessoku Wiki
for its installation, TLS, database, administrator, client, backup, and Starry
integration requirements.
The dedicated Kessoku + Starry joint-deployment page is still being prepared. Until its link is added here, deploy and verify Starry with connection authentication disabled, then follow the Kessoku Wiki for the API side. Do not guess internal ports, paths, token claims, or reverse-proxy rules from Starry's generic API example.
| Service | Provides | Does not provide |
|---|---|---|
| Starry HBBS | ID registration, signalling, Secure TCP, Geo Relay selection, optional connection-token verification | Accounts, address books, web administration, or Relay data transfer |
| Starry-image HBBR | Native and WebSocket Relay data paths | Accounts, Geo policy, or token issuance |
| Account/API server | Login, account/device data, and the features documented by that API project | HBBS signalling or HBBR Relay transport |
| Starry Control Agent | Optional private management interface for one local HBBS | Public account API or RustDesk client login endpoint |
- Complete Getting Started and verify native plus Relay sessions without an API.
- Deploy the API on its own hostname and persistent storage by following that project's documentation.
- Verify HTTPS, administrator access, database backup, and RustDesk client login independently.
- Set the RustDesk client's API Server field while keeping its ID Server, public key, and empty Relay field unchanged.
- Repeat a real native session and a forced Relay session. Login success is not the acceptance test for either transport.
- If the API explicitly supports Starry connection tokens, keep
connection_auth.mode: offwhile provisioning trust material, move toaudit, review evidence, and only then useenforce. - If the Control Agent is required, commission it read-only first and expose it only through the private mTLS management path described in the Control Agent guide.
Use separate public hostnames for the ID/WSS endpoint and the account API when
the API project recommends it. Keep Starry's plain WebSocket backends
21118/TCP and 21119/TCP private, and keep Control Agent 21120/TCP on
loopback or a private management network.
The repository's examples/nginx/api.example.conf is a generic placeholder,
not a Kessoku deployment contract. Kessoku may separate public and internal
listeners and has its own trust requirements; its Wiki takes precedence for
all API proxy rules.
If API integration breaks client login, remove the client API Server setting
or restore the previous API deployment without changing the Starry identity
key. If connection authentication blocks sessions, return the mode to audit
or off, activate that valid configuration, and verify native and Relay
sessions again. Preserve API and Starry data backups separately.
- Documentation home
- Getting started
- Docker image usage
- Docker deployment
- Native deployment
- Multi-node deployment
- Reverse proxy and TLS
- Client configuration
- Account/API integration
- Configuration reference
- Connection authentication
- Control Agent
- GEO rules: basics
- GEO rules: advanced
- Operations and verification
- Troubleshooting
- Upgrade and rollback
- Architecture and build
- 文档主页
- 快速开始
- Docker 镜像使用
- Docker 部署
- 原生部署
- 中心与 Relay 多节点部署
- 反向代理与 TLS
- 客户端配置
- 账户与 API 服务接入
- 配置参数详解
- 连接认证
- Control Agent
- Geo 规则:入门
- Geo 规则:进阶
- 运维与完整验证
- 常见问题排查
- 版本升级与回滚
- 架构与构建