From c138e6beb3fca1b297632cdd1925d6e28c6025a0 Mon Sep 17 00:00:00 2001 From: acidvegas Date: Sat, 14 Feb 2026 18:33:17 -0500 Subject: [PATCH] updated readme for unreal instructions --- README.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/README.md b/README.md index 2a43169..d44d543 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,35 @@ A client-side JavaScript IRC client that connects through WebSocket gateways. No **Important:** This client requires IRC networks with WebSocket gateway support. Standard IRC ports *(6667/6697)* will not work. You need a WebSocket-enabled port, typically 7000, 8080, or similar. +## UnrealIRCd setup for Websockets + +#### Create a listen block for websocket connections over TLS +``` +listen { + ip *; + port 7000; + options { + tls; + websocket { type text; } + }; + tls-options { + certificate "tls/irc.crt"; + key "tls/irc.key"; + options { no-client-certificate; } + }; +}; +``` + +**Note:** The `no-client-certificate` is required to allow Chrome based browsers to connect. This is not required for Firefox though. + +#### Load required modules + +``` +loadmodule "webserver"; +loadmodule "websocket"; +loadmodule "websocket_common"; +``` + ### Help Build the Network List We're creating a dropdown list of WebSocket-enabled IRC networks for easy connection. If your network supports WebSockets, [open an issue on GitHub](https://github.com/supernets/superchat/issues) with the following details: