Real-time, everywhere
WebSocket channels with database change listeners, broadcast messaging, and presence tracking. Build collaborative apps with live data.
// Subscribe to database changes
const channel = zm.realtime
.channel('orders')
.on('INSERT', 'orders', (payload) => {
console.log('New order:', payload.new)
updateOrderList(payload.new)
})
.on('UPDATE', 'orders', (payload) => {
console.log('Order updated:', payload.new)
})
.subscribe()
// Broadcast messages to a room
const room = zm.realtime.channel('chat:room-1')
room.send({
type: 'message',
payload: { text: 'Hello everyone!', user: 'john' }
})
// Track user presence
room.track({ user_id: '123', status: 'online' })
const presenceState = room.presenceState()Live data for live apps
From chat apps to live dashboards — build any real-time experience with WebSocket channels.
Database Changes
Subscribe to INSERT, UPDATE, DELETE events on any table. Get notified the instant data changes.
Broadcast
Send messages to all subscribers on a channel. Perfect for chat, notifications, and live updates.
Presence
Track who's online in a channel. Show typing indicators, active users, and collaboration cursors.
Channels & Rooms
Organize connections into channels. Each channel can have its own subscriptions, broadcast, and presence.
Low Latency
WebSocket connections with sub-100ms message delivery. Optimized for real-time interaction.
Auto Reconnect
Built-in connection management with automatic reconnection, exponential backoff, and state recovery.
Real-time in three simple steps
Connect, subscribe, and react to live data changes instantly.
Open a WebSocket connection
Connect to a channel with one line of code. Built-in reconnection, heartbeat, and state recovery handle all the edge cases.
Subscribe to events
Listen to database changes (INSERT, UPDATE, DELETE), broadcast messages, or presence updates. Filter by table, event type, or payload.
React in real-time
Your callback fires within milliseconds of any change. Build chat, live dashboards, collaborative editing, or notifications.
Real-time messaging, built in
Channels, presence, typing indicators, and broadcast messaging. Everything you need for collaborative real-time applications.
Watch your database, live
Subscribe to INSERT, UPDATE, and DELETE events on any table. See changes stream in real-time as they happen — perfect for live dashboards, notifications, and data sync.
See who's online, what they're doing
Track user presence across channels — who's online, typing, editing, or idle. Show collaboration cursors, typing indicators, and active user lists.
Go real-time today
Free tier includes 200 concurrent connections. No message limits.