Page 2 of 2

Re: [SOLVED] Trying to get any websocket IRC client to work with UnrealIRCd

Posted: Mon Jul 06, 2026 8:49 pm
by barryn
I currently have it working with this config on the UnrealIRCd side. The files server.cert.pem and server.key.pem must contain certificates for your servers domain name. I have the web server and the IRC server running on the same host. I am also running a separate web socket proxy.

Code: Select all

loadmodule "websocket";
loadmodule "webserver";
listen {
    ip *;
    port 8000;
    options {
        tls;
        websocket { type text; } // type must be either 'text' or 'binary'
    };
    tls-options {
        certificate "/home/irc/unrealircd/conf/tls/server.cert.pem";
        key "/home/irc/unrealircd/conf/tls/server.key.pem";
        options {
            no-client-certificate;
        };
    };
};
This is my kiwiirc static/config.json (with my server name removed)...

Code: Select all

{
    "windowTitle": "UnrealIRC",
    "startupScreen": "welcome",
    "kiwiServer": "https://redacted.com:8001/webirc/kiwiirc/",
    "restricted": true,
    "theme": "Default",
    "themes": [
        { "name": "Default", "url": "static/themes/default" },
        { "name": "Dark", "url": "static/themes/dark" },
        { "name": "Coffee", "url": "static/themes/coffee" },
        { "name": "GrayFox", "url": "static/themes/grayfox" },
        { "name": "Nightswatch", "url": "static/themes/nightswatch" },
        { "name": "Osprey", "url": "static/themes/osprey" },
        { "name": "Radioactive", "url": "static/themes/radioactive" },
        { "name": "Sky", "url": "static/themes/sky" },
        { "name": "Elite", "url": "static/themes/elite" }
    ],
        "startupOptions" : {
                "server": "redacted.com",
                "port": 8000,
                "tls": true,
                "channel": "#default",
                "greetingText": "UnrealIRC",
                "nick": "irc_user_?",
                "infoBackground": "https://redacted.com/stars.jpg",
                "infoContent": "<h3>Welcome to the UnrealIRC page!</h3>",
		"direct": true
        },
        "disconnectOnSaslFail": false,
        "showColorPicker": true,
        "warnOnExit": true
}