npm.io
0.36.0-beta.2 • Published 6d agoCLI

@slayzone/hub

Licence
GPL-3.0-only
Version
0.36.0-beta.2
Deps
4
Size
12.8 MB
Vulns
0
Weekly
0

@slayzone/hub (SlayZone hub)

Headless SlayZone hub: owns the SQLite DB, tRPC/REST routers, auth, and the fleet gateway that runners dial into.

SLAYZONE_FLEET_MODE=1 SLAYZONE_DB_PATH=~/.slayzone/hub.sqlite \
  SLAYZONE_FLEET_SECRET=$(openssl rand -hex 32) slayzone-hub

Security

The client-facing /trpc socket is unauthenticated and binds 127.0.0.1 by default. Do not set SLAYZONE_HOST to expose it beyond loopback except on a fully trusted network — user authentication on /trpc is not yet implemented. Runner traffic (/fleet) is TLS + cert-pinned and safe to expose.

GPL-3.0-only. Source: https://github.com/JCB-K/SlayZone