PartyKit

Open source

JavaScript platform for adding real-time multiplayer features to apps, running on edge networks; its hosted service is being shut down.

Open-source alternative to

docs.partykit.io
PartyKit homepage screenshot
GitHub stars
5.8k
Last 30 days
+18(+0%)
Last commit
1 mo ago
Repository age
3 years
Version
y-partykit@0.0.33
Licence
MIT
Self-hosted
Yes

About PartyKit

PartyKit is a toolkit for building multiplayer and real-time applications. The idea is to add shared experiences to a new or existing project with very little code, while the platform deals with the real-time infrastructure and scaling behind it.

Server logic is written in JavaScript, or optionally Wasm, and runs on edge computing networks that route users to nearby servers. The documentation covers WebSocket servers, authentication, storage, alarms for scheduled tasks, rate limiting, hibernation for scaling, and a Yjs API for collaborative editing.

The docs include example apps such as live polls, a multiplayer text editor, cursors, a falling sand game and a YouTube watch party, along with starter kits for Next.js, Remix, Replicache and TinyBase. A banner states that the hosted PartyKit platform is closing, with a migration guide to PartyServer and a guide for deploying to your own Cloudflare account.

Key features

  • Add multiplayer to existing projects with minimal code
  • Edge network scaling for users worldwide
  • Server code written in plain JavaScript
  • Choose your own libraries and abstractions
  • Guides for hibernation, alarms and static assets
  • Sample apps including polls, editors and games

Good fit for

  • Live polls
  • Collaborative text editing
  • Multiplayer chat rooms
  • Real-time cursors and reactions
Tags
multiplayer
real-time
websocket
javascript
edge
collaboration
yjs

PartyKit: questions and answers

What is PartyKit used for?
PartyKit is a JavaScript platform for adding real-time multiplayer features to apps, running on edge networks; its hosted service is being shut down. It is a good fit for live polls, collaborative text editing and multiplayer chat rooms.
Is PartyKit open source?
Yes. PartyKit is open source under the MIT licence. Its source code is on GitHub at partykit/partykit and is written mainly in TypeScript.
Is PartyKit free?
Yes. PartyKit is open source, so the software itself is free to use.
Can I self-host PartyKit?
Yes. PartyKit can be self-hosted on your own server or infrastructure.
What is PartyKit an alternative to?
PartyKit is an open-source alternative to Liveblocks. Other open-source alternatives to Liveblocks include Nakama, Centrifugo and Mattermost.
Is PartyKit actively maintained?
Yes. The most recent commit to PartyKit was on 9 October 2026. The project has 5.8k stars on GitHub, with 18 added in the last 30 days.

Open-source alternatives to PartyKit

See all

SaaS alternatives to PartyKit

See all