Golang Real-time Pusher

WebSocket-based real-time messaging system with examples

Server: Checking...
Real-time Chat
Multi-user messaging
Full-featured chat application with real-time message delivery, typing indicators, and message history.
  • Multi-user support
  • Typing indicators
  • Message history
  • Auto-scroll to latest
Launch Chat App →
Notifications
Real-time alerts system
Notification center with browser notifications, unread badges, and multiple notification types.
  • Browser notifications
  • Unread counter badge
  • Multiple types (order, payment, alert)
  • Click to mark read
Launch Notifications →
Live Dashboard
Analytics & monitoring
Live analytics dashboard with real-time metrics, activity logs, and auto-refreshing data.
  • Real-time metrics updates
  • Activity log streaming
  • Multiple KPIs tracking
  • Change indicators
Launch Dashboard →

Server Configuration

WebSocket URL

wss://push.banuacode.id/ws

API URL

https://push.banuacode.id/api/push

API Key

*************

Status

Checking...

Quick Start

// Connect to WebSocket
const ws = new WebSocket('wss://push.banuacode.id/ws?channel=my_channel&api_key=YOUR_KEY');

ws.onmessage = (event) => {
  const msg = JSON.parse(event.data);
  console.log('Received:', msg);
};

// Send message via API
fetch('https://push.banuacode.id/api/push', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'X-API-Key': 'YOUR_KEY'
  },
  body: JSON.stringify({
    channel: 'my_channel',
    event: 'message',
    data: { text: 'Hello!' }
  })
});

Use Cases

Chat Applications

Real-time messaging, group chat, direct messages

Notifications

Order updates, payment alerts, system notifications

Live Updates

Dashboard analytics, monitoring, metrics tracking

Collaboration

Document editing, whiteboard, shared state

Gaming

Multiplayer games, quiz apps, live scoring

IoT/Sensors

Device monitoring, sensor data, real-time alerts