Installation
Install the CLI and client SDKs, then bring up the stack. For a new project, spky init does all of this for you.
Starting fresh? spky init scaffolds the project, installs everything and
generates types in one go. This page is for adding Sp00ky to an existing codebase.
Requirements: Node.js 22.12 or newer (the workspace pins >=22.21.1), and Docker for the local
stack. Rust only if you intend to build the SSP or scheduler from source, prebuilt images are the
default.
- Install the CLI
spkyis how you generate types, run migrations, start the local stack and deploy. - Install the client SDKs
The core client plus the bindings for your framework.
Flutter projects depend on
spooky_corefrom pub instead. See the Flutter guide. - Start the stack
This brings up SurrealDB and the SSP sidecar, applies migrations, and starts any app with a
devblock insp00ky.yml. See spky dev.If you’d rather wire the infrastructure yourself:
docker-compose.yml - Verify
spky doctorchecks thatsp00ky.ymlparses, the schema source exists, generated types are current, and the migrations directory is in place. Each failed check prints the command that fixes it. Re-run it after every schema edit. It’s the fastest feedback loop there is.