wSocket handles the realtime infrastructure so you can focus on your product. Publishers on your backend, subscribers on any frontend โ connected in 5 lines of code.
Publishers on your backend โ wSocket โ Subscribers on any frontend
Pick your stack. Copy. Paste. Ship. ๐
Pub/Sub: Publishers (server) โ Channels โ Subscribers (browser) ยท Push: Backend โ wSocket โ Browser/Mobile notifications
docs.reposDesc
From chat to IoT โ wSocket powers any realtime experience
Real-time messaging between users with presence indicators, typing status, and message history.
Shared task lists that update across all devices instantly when anyone creates, completes, or deletes a task.
YouTube-style live comments and reactions that appear in real-time as users interact with video content.
Server metrics, KPIs, and business data displayed on live dashboards that update without page refresh.
Targeted user notifications delivered instantly โ new messages, order updates, system alerts.
Real-time order status updates โ from confirmed โ preparing โ shipped โ delivered.
Stream sensor data from IoT devices โ temperature, humidity, motion, GPS location.
Sync game state across players โ positions, scores, actions, chat messages.
ws://host:9001/?key=API_KEY{ "action": "subscribe",
"channel": "chat:room-1" }{ "action": "publish",
"channel": "chat:room-1",
"data": { "text": "Hello!" } }{ "action": "presence.enter",
"channel": "chat:room-1",
"data": { "name": "Alice" } }{ "action": "history",
"channel": "chat:room-1",
"limit": 50 }notifications:* to receive all notification channels at once.Create a free account and start sending realtime events in under 5 minutes.