PartyKit
Cloudflare Workers-based platform for real-time multiplayer and collaborative apps — deploy stateful WebSocket servers at the edge in minutes.
MIT
TypeScript
Why PartyKit?
Building collaborative editing, multiplayer games, or live cursors on the edge
Real-time features without managing WebSocket infrastructure
Apps that need persistent server-side state co-located with edge compute
Signal Breakdown
What drives the Trust Score
Download Trend
Last 12 months
Tradeoffs & Caveats
Know before you commitSimple pub/sub without stateful rooms — Pusher or Ably are simpler
High-throughput event streaming — use Ably or Kafka instead
Pricing
Free tier & paid plans
Free tier available
Pro plans for production scale
Alternative Tools
Other options worth considering
Managed pub/sub real-time infrastructure with guaranteed message ordering, presence detection, and message history. Built for mission-critical applications that can't afford message loss.
Managed WebSocket infrastructure as a service. Drop in real-time features (presence, channels, notifications) without managing your own WebSocket servers.
Often Used Together
Complementary tools that pair well with PartyKit
Learning Resources
Docs, videos, tutorials, and courses
Get Started
Repository and installation options
View on GitHub
github.com/partykit/partykit
npm install partykitQuick Start
Copy and adapt to get going fast
// server.ts (PartyKit server)
import type * as Party from 'partykit/server';
export default class MyServer implements Party.Server {
constructor(readonly room: Party.Room) {}
onMessage(message: string, sender: Party.Connection) {
this.room.broadcast(message, [sender.id]);
}
}Community Notes
Real experiences from developers who've used this tool