@chaos-overlords/node-server
v0.9.3
Published
Node.js runtime facade: serves the shared Hono app over @hono/node-server against SQLite or Postgres, with an in-process event hub and a timer-driven turn deadline scheduler.
Maintainers
Readme
@chaos-overlords/node-server
Node.js server for the Chaos Overlords: New Chrome multiplayer server.
A ready-to-run multiplayer server: the shared Hono app over @hono/node-server, backed by
SQLite or Postgres, with an in-process event hub and timer-driven turn deadlines. Migrations run at
boot.
npx @chaos-overlords/node-serverWith no configuration it listens on 0.0.0.0:8787 and keeps its state in ./chaos-overlords.db.
Set DATABASE_URL to point it at Postgres. The full environment variable table is in the
workspace manual.
Put TLS in front of it: player tokens are bearer credentials.
Install
npm install @chaos-overlords/node-serverRequires Node.js 22 or newer.
Documentation
The operator and contributor manual for the whole multiplayer workspace is in
multiplayer/README.md; the design notes are in
docs/MULTIPLAYER.md.
