Lively Documentation

Lively is a self-hosted, real-time collaboration SDK for the modern web. Add presence, cursor tracking, shared storage, and event broadcasting to any application with a few lines of code.

Architecture

The SDK is organized as a layered package stack. Each layer builds on the one below it:

// Package dependency graph
@waits/lively-types ← shared type definitions
└─ @waits/lively-storage ← CRDTs + history
├─ @waits/lively-client ← WebSocket client
├─ @waits/lively-server ← Bun server
└─ @waits/lively-react ← React hooks

Quick Links