Skip to content

Packages ​

Install from this monorepo with pnpm workspaces. Published names use the @synkd/ scope.

What to import ​

PackageUse when you need
@synkd/serverParty Server and Connection base types
@synkd/clientThin partysocket helpers
@synkd/yYjsServer for y-websocket rooms
@synkd/authLobby and admin request gates
@synkd/contractsURL parsing, tag limits, shared errors
@synkd/configLoad synkd.json
@synkd/runtimeEmbed the Node HTTP and WebSocket host
@synkd/controlMount the /v1 operator API
@synkd/adapter-celldDurable Objects host adapter
@synkd/clisynkd init, dev, deploy, doctor
@synkd/uiShared brand tokens for Studio and Console

Until packages are on the public registry, run the CLI from this monorepo. synkd init and synkd up link @synkd/* into your project from the CLI install. Details: CLI.

Apps in this repo ​

AppRole
@synkd/partiesExample Chat, Presence, and Docs parties
@synkd/studioGuest demo UI
@synkd/consoleOperator Console
@synkd/siteThis marketing and documentation site

Config file ​

Prefer synkd.json. If it is missing, the CLI still accepts a legacy sinkd.json in the same directory.

Environment variables use SYNKD_*. Deprecated SINKD_* names still work as fallbacks.

PartyKit-compatible rooms on infrastructure you run.