A multiplayer infinite canvas whiteboard with real-time collaboration, voice annotations, and AI-powered diagram recognition
Project description
Realtime Collab Whiteboard
A multiplayer infinite canvas whiteboard for real-time visual collaboration, voice annotations, and AI-powered diagram recognition.
What is this?
Realtime Collab Whiteboard bridges the gap between isolated local tools and complex distributed systems by providing a shared visual workspace with sub-100ms latency. Ideal for design reviews, brainstorming sessions, and collaborative debugging—especially for teams working on VR projects, mesh systems, or agent-based infrastructure. Voice annotations and optional AI diagram recognition integrate seamlessly with your existing agent infrastructure.
Features
- Infinite Canvas: Unlimited drawing surface with pan and zoom capabilities
- Real-Time Collaboration: WebSocket-powered updates with <100ms latency
- Voice Annotations: Attach audio notes directly to canvas elements
- AI Diagram Recognition: Optional AI analysis to detect and label shapes and patterns
- User Presence: See who's online and active on the canvas
- Persistent Storage: Auto-save drawings with session recovery
- Toolbar Controls: Draw, erase, select, and manage stroke properties
- Multi-User Awareness: Cursor tracking and per-user color differentiation
Quick Start
Installation
Backend Requirements:
- Python 3.9+
- FastAPI, Uvicorn, WebSockets
- See
pyproject.tomlfor full dependencies
Frontend Requirements:
- Node.js 16+
- React, Vite
Setup:
# Install backend dependencies
pip install -r requirements.txt # or use pyproject.toml
# Install frontend dependencies
cd frontend
npm install
# Start backend server
python -m app.main
# Server runs on ws://localhost:8000
# Start frontend dev server
npm run dev
# Open http://localhost:5173
Usage
- Open the app in your browser—you're automatically assigned a user session
- Draw on the canvas using the toolbar (pen, eraser, selection tools)
- Add voice notes by clicking the microphone icon and speaking
- Enable AI analysis (if configured) to auto-label drawn shapes
- Invite collaborators by sharing the session URL
- Watch in real-time as remote users draw—updates sync instantly
Example: Design Review Workflow
1. Host opens a new session
2. 3 team members join via URL
3. Host sketches UI wireframe on canvas
4. Teammate 1 adds voice annotation: "Add dark mode toggle here"
5. Teammate 2 circles a section; AI recognizes it as a button component
6. All changes propagate to everyone in <100ms
7. Session auto-saves; join later to resume where you left off
Tech Stack
Backend:
- FastAPI (async web framework)
- WebSockets (real-time bidirectional communication)
- Pydantic (data validation)
- Python 3.9+
Frontend:
- React 18 (UI framework)
- Vite (build tool)
- WebSocket client (native)
- State management (Zustand or Redux—see
store.js)
Infrastructure:
- In-memory connection management (scales to ~500 concurrent users)
- Optional persistent storage layer (Postgres-ready)
- Optional AI backend (pluggable via
ai_analyzer.py)
Optional Integrations:
- C2PA/watermarking APIs for media compliance
- Agent framework hooks for automation
- Custom LLM endpoints for diagram analysis
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file realtime_collab_whiteboard-0.1.0.tar.gz.
File metadata
- Download URL: realtime_collab_whiteboard-0.1.0.tar.gz
- Upload date:
- Size: 16.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1903c55bd0e0e97d97a599543bc8eb869118bd8548942b72ea351325134bf48
|
|
| MD5 |
c55ef2eae5bdf1afe5bd8f801ccfab17
|
|
| BLAKE2b-256 |
8daa8ba6a3cd002f3a182679e37b68fbc100d6132076f8c811de6490370cdf67
|
File details
Details for the file realtime_collab_whiteboard-0.1.0-py3-none-any.whl.
File metadata
- Download URL: realtime_collab_whiteboard-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64db025693f92ae38a3e273749594d6ceb0d1128a51feba86bd9ff489c077570
|
|
| MD5 |
66d979b76255f3d7a8b579f34538a0a9
|
|
| BLAKE2b-256 |
793d511b30109d83e33feda08368f77b3cccb6afea42c4938ad59f8ee5bc81df
|