examples/cursors-vercel/README.md
Note: This is the Vercel-optimized version of the cursors example. It uses the
hono/verceladapter and is configured for Vercel deployment.
Example project demonstrating real-time cursor tracking and collaborative canvas.
git clone https://github.com/rivet-dev/rivet.git
cd rivet/examples/cursors
npm install
npm run dev
This example demonstrates real-time collaboration using WebSockets and Rivet Actors:
src/backend/registry.ts): Implements the canvasRoom actor for tracking cursor positions and managing collaborative canvas stateRead more about WebSockets, state, and events.
MIT