Collaborative Editing
Enable multiple users to edit documents, whiteboards, spreadsheets, or any shared state simultaneously. Show live cursors, selections, and presence indicators so everyone knows who is working where.
Implementation
const doc = client.connect().subscribe('presence-doc-abc', {
user_id: 'user-42',
user_info: { name: 'Alice', color: '#00c8ff' }
})
// Show live collaborators
doc.bind('realtime:member_added', (member) => {
showAvatar(member.info.name, member.info.color)
})
// Broadcast cursor position (client event)
doc.trigger('client-cursor', { x: 420, y: 180, selection: [12, 47] })
// Render other users' cursors
doc.bind('client-cursor', (data) => moveCursor(data))
Why Apinator for collaborative editing
Presence channels to track who is viewing or editing a document
Live cursor positions and selections via client events
Member join/leave events to update the collaborator list
No server roundtrip for cursor moves — direct peer-to-peer feel
Multi-tab tracking so users appear once even with multiple tabs
Scales to hundreds of concurrent editors per document
Other use cases
Live Chat & Messaging
Build real-time chat experiences with channels, typing indicators, and message history.
Live Notifications & Activity Feeds
Deliver instant notifications and live activity feeds to your users.
Live Dashboards & Analytics
Stream metrics, charts, and KPIs to dashboards in real time.
Ready to build collaborative editing?
Get started in minutes. Completely free, no credit card required.