SHARE
TWEET

kiwi_config

Misteralex007 Jul 7th, 2017 149 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var conf = {};
  2.  
  3. // Run the Kiwi server under a different user/group
  4. conf.user = "";
  5. conf.group = "";
  6.  
  7.  
  8. // Log file location
  9. conf.log = "kiwi.log";
  10.  
  11. /*
  12.  * Server listen blocks
  13.  */
  14.  
  15. conf.servers = [];
  16.  
  17. conf.servers.push({
  18.     port:   7778,
  19.     address: "0.0.0.0"
  20. });
  21.  
  22. conf.outgoing_address = {
  23.     IPv4: '0.0.0.0'
  24.     //IPv6: '::'
  25. };
  26.  
  27. conf.identd = {
  28.     enabled: false,
  29.     port: 113,
  30.     address: "0.0.0.0"
  31. };
  32.  
  33. conf.public_http = "client/";
  34.  
  35. conf.max_client_conns = 5;
  36.  
  37. conf.max_server_conns = 0;
  38.  
  39. conf.default_encoding = 'utf8';
  40.  
  41. conf.default_gecos = '%n is using a Web IRC client';
  42.  
  43. conf.default_ident = '%i';
  44.  
  45. conf.quit_message = 'http://www.kiwiirc.com/ - A hand-crafted IRC client';
  46.  
  47. conf.ircd_reconnect = true;
  48.  
  49. conf.client_plugins = [
  50.     // "http://server.com/kiwi/plugins/myplugin.html"
  51. ];
  52.  
  53. // WebIRC password enabled for this server
  54. conf.webirc_pass = "2edc8XXXXX";
  55.  
  56. conf.reject_unauthorised_certificates = false;
  57.  
  58. conf.http_proxies = ["127.0.0.1/32"];
  59.  
  60. conf.http_proxy_ip_header = "x-forwarded-for";
  61.  
  62. conf.http_base_path = "/kiwi";
  63.  
  64. conf.socks_proxy = {};
  65.  
  66. conf.socks_proxy.enabled = false;
  67.  
  68. conf.socks_proxy.all = false;
  69.  
  70. conf.socks_proxy.proxy_hosts = [
  71.     "irc.example.com"
  72. ];
  73.  
  74. conf.socks_proxy.address = '127.0.0.1';
  75. conf.socks_proxy.port = 1080;
  76.  
  77. conf.socks_proxy.user = null;
  78. conf.socks_proxy.pass = null;
  79.  
  80.  
  81.  
  82. conf.client = {
  83.     server: '217.182.XXX.XXX',
  84.     port:    6697,
  85.     ssl:     true,
  86.     channel: '#coffe_machine',
  87.     channel_key: '',
  88.     nick:    'stagiaire_?',
  89.     settings: {
  90.         theme: 'relaxed',
  91.         text_theme: 'default',
  92.         channel_list_style: 'tabs',
  93.         scrollback: 250,
  94.         show_joins_parts: true,
  95.         show_timestamps: false,
  96.         use_24_hour_timestamps: true,
  97.         mute_sounds: false,
  98.         show_emoticons: true,
  99.         ignore_new_queries: false,
  100.         count_all_activity: false,
  101.         show_autocomplete_slideout: true,
  102.         locale: null // null = use the browser locale settings
  103.     },
  104.     window_title: 'IRC'
  105. };
  106.  
  107. conf.client_themes = [
  108.     'relaxed',
  109.     'mini',
  110.     'cli',
  111.     'basic'
  112. ];
  113.  
  114.  
  115. // If set, the client may only connect to this 1 IRC server
  116. conf.restrict_server = "217.182.XXX.XXX";
  117. conf.restrict_server_port = 6697;
  118. conf.restrict_server_ssl = true;
  119. //conf.restrict_server_password = "";
  120.  
  121. //conf.client.kiwi_server = '';
  122.  
  123. module.exports.production = conf;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top