@live-canvas/core
v2.0.0
Published
Framework-agnostic collaborative whiteboard engine built on fabric.js
Maintainers
Readme
@live-canvas/core
Framework-agnostic collaborative whiteboard engine built on fabric.js.
Features
- Store-driven architecture — single source of truth via
RecordStore - Real-time sync — diff-based network synchronization
- Undo/Redo — mark-based history with automatic diff tracking
- State machine tools — extensible tool system (
PenTool,PointerTool,TextTool,EraserTool,ShapeTool) - TypeScript — full type safety
Install
npm install @live-canvas/core fabricArchitecture
RecordStore (single source of truth)
|
+-- CanvasBridge -- Store -> fabric.Canvas (view)
+-- HistoryManager -- Store diffs -> undo/redo
+-- NetworkSynchronizer -- Store diffs -> server -> other clientsFramework Bindings
- Vue:
@live-canvas/vue - React:
@live-canvas/react
License
MIT
