Flock

Flock Documentation

Self-hostable, open-source SDK for live cursors and multiplayer presence.

What is Flock?

Flock is an open-source SDK that adds real-time multiplayer presence to any web app — live cursors, who's online, selection indicators — in under 10 lines of code.

It has three parts:

  • @xevrion/flock-react — React hooks for cursors, presence, and connection status
  • @xevrion/flock-core — Framework-agnostic client (vanilla JS, other frameworks)
  • @xevrion/flock-server — Self-hostable WebSocket server (Docker or npx)

Why Flock?

FlockLiveblocksDIY
Self-hostableYesNoYes
Open sourceMITPartial AGPL
Per-seat pricingNoneYesNone
Connection capsNone10 free / roomNone
Setup10 linesFull platformWeeks

On this page