PartyKit is an open-source, MIT-licensed TypeScript framework and cloud platform for building multiplayer and real-time applications, aimed at developers who want to add collaborative or live features without operating real-time infrastructure themselves.
What it is
PartyKit is a TypeScript project that simplifies developing multiplayer applications. It lives in the JavaScript and TypeScript ecosystem, installs through npm, and is documented at docs.partykit.io with guides, examples, API references and release notes. Its topic list places it squarely in real-time and edge computing territory: websockets, realtime, durable-objects, edge-computing, crdts, yjs, collaboration, games and multiplayer.
The concrete problem it solves is operational. The README states that PartyKit handles "operational complexity and real-time infrastructure scaling" so a developer can "focus on building multiplayer apps or adding real-time experiences to your existing projects with as little as one line of code." The specific thing it replaces is the hand-rolled real-time backend: the WebSocket server, the connection state, the fan-out and the scaling work a team would otherwise build, run and maintain alongside its application. PartyKit also covers the state-synchronisation layer that real-time apps normally require, as its CRDT and Yjs topics indicate.
Key capabilities
- Project scaffolding through
npm create partykit@latest, which asks a few questions and creates a new directory containing both a PartyKit server and a client.
- Incremental adoption in an existing codebase with
npx partykit@latest init, run from the project root.
- Local development server started with
npm run dev from inside the project directory.
- Deployment to the PartyKit cloud with
npm run deploy.
- Real-time transport over WebSockets, as listed in the repository topics.
- State synchronisation support for CRDT-based and Yjs-based collaborative data, per the topic list.
- Edge computing execution model, with durable-objects listed among the project's topics, and release history plus a blog published from the repository itself.
Who uses it and how
- Game developers building multiplayer titles, reflected in the games, gaming and multiplayer topics.
- Product teams adding real-time or collaborative experiences to applications that already exist, using
npx partykit@latest init rather than a rewrite.
- Applications that need CRDT or Yjs-based shared state, for documents and similar synchronised content.
- Developers working on edge and durable-objects runtimes, indicated by the matching topics.
- A community that coordinates through GitHub issues for bug reports, Discord for questions and feedback, and Twitter for updates. The repository shows 5710 stars and 200 forks, with 93 open issues at the time of the recorded last push on 29 January 2026.
Getting started
Install Node v17 or higher, then run npm create partykit@latest for a new project or npx partykit@latest init inside an existing one. Development runs with npm run dev, and the application is deployed to the PartyKit cloud with npm run deploy.
How it compares
The facts supplied for this registry do not name any paid products that PartyKit replaces, so no licence, cost or data-ownership contrast can be drawn against commercial alternatives. The only adjacent technologies named in the facts are the ones appearing in the topic list, namely Yjs and CRDTs as a synchronisation approach and durable objects as an edge runtime primitive.
When to use it — and when not to
PartyKit suits teams that want real-time behaviour without owning the infrastructure behind it, and the documented deployment path sends applications to the PartyKit cloud, so anyone who must run the complete stack on their own hardware should confirm that path meets their requirements first. The README itself is short, with substantive detail living on docs.partykit.io, and it carries a note that current development happens in cloudflare/partykit, so this repository is best treated as the origin point rather than the active development home. With 93 open issues and a recorded last push in January 2026, teams should check recent activity before depending on it for long-lived critical systems.
project readme (upstream, from github) — read inline


PartyKit simplifies developing multiplayer applications.
With PartyKit, you can focus on building multiplayer apps or adding real-time experiences to your existing projects with as little as one line of code. Meanwhile, PartyKit will handle operational complexity and real-time infrastructure scaling.
[!NOTE]
Current development of this project is in cloudflare/partykit.
Documentation
Go to docs.partykit.io for documentation, guides and examples.
Quick start
Note: to run PartyKit, you need to have Node v. 17 or higher installed.
You can create a PartyKit project by running:
npm create partykit@latest
This will ask a few questions about your project and create a new directory with a PartyKit application, that includes a server and a client.
Alternatively, you can add PartyKit to your existing project using the following command in the project's root directory:
npx partykit@latest init
From inside the directory, you can then run npm run dev to start the development server. When you're ready, you can deploy your application on to the PartyKit cloud with npm run deploy.
Developers
Community and support
- GitHub issues to report bugs 🐛
- Discord to ask questions, share your ideas and feedback, and help us celebrate your PartyKit projects 💕
- Twitter to say "hi" and get the freshest updates!
Contributing
We encourage contributions to PartyKit. If you're interested in contributing or need help or have questions, please join us in our Discord.
License
PartyKit is MIT licensed.