Back to Examples

Live Interactive Demo

Try the OddSockets JavaScript SDK directly in your browser with real connections

Real-Time Debug Console

Debug mode disabled. Click "Enable Debug" to see real-time JSON responses from the SDK. This console will show: • WebSocket connection messages • API responses and requests • Channel subscription data • Message publish/receive events • Error responses • Presence change notifications All data is formatted as JSON for easy inspection.

Basic Usage Demo

Disconnected
Welcome to OddSockets Live Demo! This demo uses the REAL OddSockets JavaScript SDK from CDN. To get started: 1. Get your API key from https://oddsockets.com/signup 2. Enter your API key above 3. Click "Connect" to establish a real connection 4. Subscribe to a channel to start receiving messages Features you can test: • Real client connection to OddSockets platform • Actual channel subscription and management • Live message publishing and receiving • Presence tracking and user management • Error handling and reconnection

Live Chat Demo

Connect and subscribe to start chatting!