Skip to main content

What is CollabKit?

CollabKit is a real-time collaboration platform that helps you build multiplayer experiences. It provides a server and a client SDK (for the browser) that handle the hard parts of real-time collaboration so you can focus on the product.

Quickstart

Get up and running in under 5 minutes.

Client SDK

Explore the browser SDK modules.

API Reference

Full HTTP API documentation.

Guides

Practical tutorials and examples.

Limits and Benchmarks

Review operational limits, SLAs, and benchmark targets.

Key Features

Architecture

CollabKit is split into three npm packages:
The client connects to the server over a WebSocket for real-time features (presence, stores, comments, broadcasts, CRDT) and uses HTTP for file storage and user creation. The utils package provides shared TypeScript types and the defineStores() schema utility used by both client and server.

Packages

@collab-kit/client

Browser SDK for connecting to rooms and using collaboration features.

@collab-kit/utils

Shared types, enums, and the defineStores() schema utility.

@collab-kit/server

Cloudflare Worker server. Self-hosted or managed.

Next Steps

1

Sign up and get your API key

Create an account on the dashboard and find your API key in Settings.
2

Create a room and add users

Use the REST API to create a room and create users to get a JWT token. Alternatively, you can also do this through the dashboard.
3

Install the SDK and connect

Install @collab-kit/client, pass the JWT token, and call connect() + join().
4

Build collaboration features

Use presence, stores, comments, and more.