Skip to content
๐ PartyKit Docs
Search
Cancel
GitHub
Discord
Twitter
Select theme
Dark
Light
Auto
Get Started
Quickstart
Add to existing project
What is PartyKit
How PartyKit works
API Reference
Overview
PartyKit CLI
๐ค โคซ ๐ PartyKit AI
Party.Server (Server API)
PartySocket (Client API)
Y-PartyKit (Yjs API)
Configuration (partykit.json)
Guides
Building a WebSocket server
Authentication
Debugging
Deploy to your own Cloudflare account
Deploying a PartyKit server
Handling binary messages
Managing env variables
Persisting state into storage
Preview Environments
Rate limiting messages
Responding to HTTP requests
Scaling PartyKit servers with Hibernation
Scheduling tasks with Alarms
Serving static assets
Setting up CI/CD with Github Actions
Using multiple parties per project
Validating client inputs
Examples
All PartyKit Examples
App examples
Active user avatars
Chat app with user avatars, AI agents, and auth (Next.js)
Connection Counter
Cursors with country flags
Falling sand game (three.js)
Live polls (a Next.js app)
Live polls (web component)
Mosaic - collaborative game
Multiplayer AI chat rooms
Multiplayer text editor
Realtime reaction counter
The Namib Desert watering hole livestream
Two-way hyperlinks and social webpages
YouTube watch party
Starter kits
Game starter (Next.js + Redux)
Remix starter
Replicache starter
TinyBase starter
Tutorials
Add PartyKit to a Next.js app
1. What you will build
2. Set up PartyKit server
3. Hook up data to the server
4. Add WebSockets
5. Broadcast the change
6. Add storage
7. Deploy your poll app
Glossary
Enterprise
GitHub
Discord
Twitter
Select theme
Dark
Light
Auto
Multiplayer text editor
A multiplayer text editor built with PartyKit, Yjs, Tiptap, and Supabase.
Explore
Explore this example:
GitHub repository