# PartyKit

[BASE product page](<https://base.akulich.dev/en/library/partykit/>) · [Resource](<https://github.com/partykit/partykit>)

ID: partykit · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

A runtime and tooling for realtime servers: it supports WebSocket scenarios for collaborative and multiplayer applications\.

## Type

Shared state / CRDT

## Entry type

library

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/partykit/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/partykit/#resource-access>)

Code and local use under MIT\.

## [Paid features and costs](<https://base.akulich.dev/en/library/partykit/#resource-access>)

Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Access and limitations](<https://base.akulich.dev/en/library/partykit/#resource-access>)

Code and local use under MIT\. Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Use cases](<https://base.akulich.dev/en/library/partykit/#resource-tasks>)

- Create a realtime backend for a collaborative interface
- Connect two clients and test room event transmission and handling

## Category IDs

- backend
- frontend

## Subcategory IDs

- backend\.api
- frontend\.utilities
- backend\.realtime

## Tags

- PartyKit
- collab
- Development

## Also known as

- partykit/partykit
- partykit
- multiplayer\-app\-dev

## [Selection purpose](<https://base.akulich.dev/en/library/partykit/#resource-selection>)

Create a realtime backend for a collaborative interface

## [Choose this when](<https://base.akulich.dev/en/library/partykit/#resource-selection>)

- Create a realtime backend for a collaborative interface
- Connect two clients and test room event transmission and handling

## [Consider alternatives when](<https://base.akulich.dev/en/library/partykit/#resource-selection>)

- When choosing for this topic, compare PartyKit with Automerge\. A candidate to compare under the topic: APIs and server SDKs, Realtime and notifications\. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together\.
- When choosing for this topic, compare PartyKit with Liveblocks\. A candidate to compare under the topic: APIs and server SDKs, Realtime and notifications\. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together\.

## [Requirements](<https://base.akulich.dev/en/library/partykit/#resource-selection>)

- The README requires Node for the CLI; match specific version support to the branch in use\.

## [Limitations](<https://base.akulich.dev/en/library/partykit/#resource-selection>)

- Costs and limits of free use: Computing resources, self\-hosting, and external services are paid for separately if used\.
- Terms of use: MIT for the code; dependencies have separate licenses\.

## [Questions before use](<https://base.akulich.dev/en/library/partykit/#resource-faq>)

### What can you use for free in PartyKit?

Code and local use under MIT\.

### What additional costs might arise with PartyKit?

Computing resources, self\-hosting, and external services are paid for separately if used\.

### What terms of use matter for PartyKit?

MIT for the code; dependencies have separate licenses\.

### How do you get started with PartyKit?

Define the room and messages between WebSocket clients\. Connect two clients and test room event transmission and handling\. Test offline edits, merging, and reconnecting\.

### How can I add PartyKit to an existing project?

The README suggests init in an existing project's root; create makes a new directory with a server and client\. Within the project, npm run dev starts the development server, and npm run deploy publishes the application to PartyKit cloud\. Current development has moved to cloudflare/partykit\.

## Related resources selected by editors

- automerge: A candidate to compare under the topic: APIs and server SDKs, Realtime and notifications\. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together\.
- liveblocks: A candidate to compare under the topic: APIs and server SDKs, Realtime and notifications\. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together\.
- yjs: A candidate to compare under the topic: APIs and server SDKs, Realtime and notifications\. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together\.

## Sources for the selection guide

- [https://github\.com/partykit/partykit](<https://github.com/partykit/partykit>)
- [https://raw\.githubusercontent\.com/partykit/partykit/HEAD/README\.md](<https://raw.githubusercontent.com/partykit/partykit/HEAD/README.md>)
- [https://raw\.githubusercontent\.com/partykit/partykit/HEAD/LICENSE](<https://raw.githubusercontent.com/partykit/partykit/HEAD/LICENSE>)
- [https://www\.open\-source\-tools\.com/](<https://www.open-source-tools.com/>)

## [Possible workflow](<https://base.akulich.dev/en/library/partykit/#resource-scenario>)

Create a realtime backend for a collaborative interface\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- A document model and concurrent updates\.
- A client application and transport provider\.

## Steps

1. Define the room and messages between WebSocket clients\.
2. Connect two clients and test room event transmission and handling\.
3. Test offline edits, merging, and reconnecting\.

## Check your result

- Clients converge on one state after conflicting changes\.
- Transport authorization and history size suit the project\.

## [License](<https://base.akulich.dev/en/library/partykit/#resource-license>)

MIT for the code; dependencies have separate licenses\.

## License explanations for the specified scope

### MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed\-source commercial product\. When sharing copies or substantial portions of the code, retain the license text and copyright notice\. You do not need to open\-source your entire project; the author provides no warranties\.

[License terms](<https://opensource.org/license/mit>)

## Related resource IDs

- automerge
- yjs
- liveblocks
- livestore

## [Sources](<https://base.akulich.dev/en/library/partykit/#resource-sources>)

- [Official source](<https://github.com/partykit/partykit>)
- [Official source](<https://raw.githubusercontent.com/partykit/partykit/HEAD/README.md>)
- [License](<https://raw.githubusercontent.com/partykit/partykit/HEAD/LICENSE>)
- [Catalog / discovery source](<https://www.open-source-tools.com/>)

## Editorial review date

2026\-10\-06

## Editorial review scope

The purpose, current repository license, and separate terms for code, services, and models have been reviewed\. The product was not run, and no security audit was performed\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
