Rustpad
Efficient, minimal collaborative code editor with real-time editing in the browser, OT-based syncing, WebSocket communication, and optional SQLite persistence.

Rustpad is an efficient, minimal collaborative text editor for writing code together in the browser. It uses an operational transformation (OT) approach for real-time collaboration and is designed to be lightweight, with no database required by default.
Key Features
- Real-time collaborative editing over WebSocket connections
- OT-based synchronization designed for low-latency concurrent editing
- Monaco Editor-based web UI (VS Code editor component)
- In-memory document storage with automatic garbage collection for inactive pads
- Optional persistence via SQLite snapshots to retain documents across restarts
- Simple deployment as a small Docker image
Use Cases
- Pair programming and live code review sessions
- Sharing temporary collaborative notes or code snippets during incidents
- Lightweight collaborative editor for internal teams without heavy dependencies
Limitations and Considerations
- By default, documents are transient and can be lost on restart or after the inactivity expiry window unless SQLite persistence is configured
Rustpad is a good fit when you want a fast, no-frills collaborative editor that is easy to deploy and operate. Its minimal architecture and optional persistence make it practical for temporary collaboration as well as lightweight long-running installations.

