@couch-kit/cli
v0.3.4
Published
CLI tools for Couch Kit party games — bundle web controllers, simulate clients, and scaffold projects
Maintainers
Readme
@couch-kit/cli
Developer tooling for Couch Kit.
Starter Project: See Buzz for a complete example that uses the CLI to bundle its web controller.
Installation
bun add -d @couch-kit/cliCommands
init
Scaffolds a new web controller project (Vite + React + TypeScript) configured to work with Couch Kit.
bunx couch-kit init web-controllerbundle
Builds the web controller and copies the assets into your Android project's assets/www folder. This is used when preparing your TV app for release.
# Default (looks for ./web-controller and copies to android/app/src/main/assets/www)
bunx couch-kit bundle
# Custom paths
bunx couch-kit bundle --source ./my-web-app --output ./android/app/src/main/assets/wwwsimulate
Spawns headless WebSocket bots to simulate players (useful for load testing and quick iteration).
# Default: 4 bots, ws://localhost:8082
bunx couch-kit simulate
# Custom host + count
bunx couch-kit simulate --url ws://192.168.1.99:8082 --count 8
# Action interval (ms)
bunx couch-kit simulate --interval 250