JTZL's Chat for WebIRC
This plugin provides a shortcode that renders a lightweight IRC client written in vanilla JavaScript. It supports direct WebSocket connections to IRC servers (IRCv3-friendly) and includes an optional WebIRC gateway. Security-conscious defaults: Server allow-list (host:port format), WSS (WebSockets o
This plugin provides a shortcode that renders a lightweight IRC client written in vanilla JavaScript. It supports direct WebSocket connections to IRC servers (IRCv3-friendly) and includes an optional WebIRC gateway.
Security-conscious defaults:
- Server allow-list (host:port format), WSS (WebSockets over SSL/TLS) only
- Optional WebSocket subprotocols (e.g., text.ircv3.net )
- Optional WS path (e.g., /webirc )
- Optional CSP connect-src helper (off by default)
- Input sanitization and validation
- Proper escaping of output
Features:
- Modern Responsive Design : Mobile-first approach with adaptive layouts for all screen sizes
- Enhanced Mobile Experience : Touch-optimized interface with proper virtual keyboard support
- Smart Responsive Behavior : Overlay sidebar on mobile, collapsible on tablet, side-by-side on desktop
- Editable Username : Click-to-edit nickname with real-time validation and user persistence
- User Persistence : Automatic nickname saving for logged-in WordPress users
- Lightweight vanilla TypeScript/JavaScript implementation (no frameworks)
- Fully responsive design with semantic HTML
- Internationalization ready (i18n strings)
- Configurable server allow-list with strict validation
- WebSocket subprotocol support (IRCv3)
- Optional WebIRC gateway fallback
- Comprehensive IRC slash commands: 30+ commands including /join, /part, /nick, /msg, /whois, /topic, /away, /help, and more