Multiplayer
Shared whiteboards with a default SvelteKit backend. Or plug your own via the adapter interface.
Guide: From npx sv create to a working multiplayer whiteboard with file-system persistence. Copy-paste walkthrough.
Quick setup
- Enable Remote functions in
svelte.config.js. - Add a POST route that returns
handleExcalidrawStream(request, { roomId, username, color }). Adapters - Use
createDefaultAdapter({ streamUrl: (roomId) => "/your-path/" + roomId })on the client.
Persistence is on by default. Customize or pass persist: false for demos.