Kiwi IRC config file

Posted by root on Thursday Mar 3, 2016 Under IRC

The config file is looked for in 2 locations. First in /etc/kiwiirc/config.js and then within the application directory.

An example comes with Kiwi named config.example.js. You may want to copy this file to config.js so you have the original to refer back to in future. At its core, the file a basic javascript file. This means you can use simple logic (eg. if statements) for advanced configuration, or even reading values from external places.

There are certain lines within the config file that must not be changed. There are comments throughout the file to help guide you what must be set and how to do so. In most cases – the default settings will work out of the box.

Example config.js

var conf = {};

// Run the Kiwi server under a different user/group
conf.user = ""; = "";

// Log file location
conf.log = "kiwi.log";

 * Server listen blocks

// Do not edit this line!
conf.servers = [];

// Example server block
    port:   7778,
    address: ""

// Example SSL server block
//    port:     7777,
//    address: "",
//    ssl:   true,
//    ssl_key: "server.key",
//    ssl_cert: "cert.pem"

// Where the client files are
conf.public_http = "client/";

// Max connections per connection. 0 to disable
conf.max_client_conns = 5;

 * Client side plugins
 * Array of URLs that will be loaded into the browser when the client first loads up
 * See
conf.client_plugins = [
    // ""

// Enabled CAP extensions (See ENTER URL TO CAP INFO HERE PLS)
conf.cap_options = [];

// Directory to find the server modules
conf.module_dir = "../server_modules/";

// Which modules to load
conf.modules = [];

// WebIRC passwords enabled for this server
conf.webirc_pass = {
    //"":  "configured_webirc_password",
    //"":        "foobar"

// Some IRCDs require the clients IP via the username/ident
conf.ip_as_username = [

// Whether to verify IRC servers' SSL certificates against built-in well-known certificate authorities
conf.reject_unauthorised_certificates = false;

 * Reverse proxy settings
 * Reverse proxies that have been reported to work can be found at:

// Whitelisted HTTP proxies in CIDR format
conf.http_proxies = [""];

// Header that contains the real-ip from the HTTP proxy
conf.http_proxy_ip_header = "x-forwarded-for";

// Base HTTP path to the KIWI IRC client (eg. /kiwi)
conf.http_base_path = "/kiwi";

// Enabled transports for the browser to use
conf.transports = [

// Default quit message
conf.quit_message = " - A hand-crafted IRC client";

// Default settings for the client. These may be changed in the browser
conf.client = {
    server: '',
    port:    6697,
    ssl:     true,
    channel: '#kiwiirc',
    nick:    'kiwi_?'

// If set, the client may only connect to this 1 IRC server
//conf.restrict_server = "";
//conf.restrict_server_port = 6667;
//conf.restrict_server_ssl = false;
//conf.restrict_server_channel = "#kiwiirc";
//conf.restrict_server_password = "";
//conf.restrict_server_nick = "kiwi_";

 * Do not ammend the below lines unless you understand the changes!
module.exports.production = conf;
Tags : , , | add comments

Install IRSSI on CentOS

Posted by root on Wednesday Feb 27, 2013 Under Bash, Centos, IRC

Irssi is a terminal based IRC client for UNIX systems. It also supports SILC and ICB protocols via plugins.

To install irssi on CentOS:

   root# yum install irssi

Irssi 0.8 documentation –

Tags : | add comments

Install IRCd (server) in *Unix

Posted by root on Monday Jan 28, 2013 Under IRC, Linux

Unreal IRCd is an IRC chat server that you can run off a vps.

Remember, EVERYTHING is case sesitive. Meaning you can’t type tar zxvf unreal… you have to type tar zxvf Unreal…..

To start this login to your VPS with root credentials and update your vps by typing

yum update

Next we need to download gcc to compile the IRCd source, to do this type

yum install gcc

Then download UnrealIRCd by typing


After downloading this you need to unpack it. To do this type

tar zxvf Unreal3.2.8.1

Now we need to go to the Unreal3.2 directory, so type

cd Unreal3.2

Next we need to configure unreal so we type


You can read the TOS or w/e and then go through the config.

Now you need to compile this, so type


Next we need to configure the god pass and all of the options.

nano unrealircd.conf

Go through all of this changing what you want.
after that hit control + o which is write out (or save) then hit control + x which is exit.

Now we need to start Unreal, type

./unreal start


Tags : , , , | add comments