Skip to content

Instantly share code, notes, and snippets.

@bru
Last active August 29, 2015 13:57
Show Gist options
  • Save bru/9549438 to your computer and use it in GitHub Desktop.
Save bru/9549438 to your computer and use it in GitHub Desktop.
["redis-brain.coffee", "shipit.coffee", "clojure.coffee", "xkcd.coffee", "applause.coffee",
"brb.coffee", "conversation.coffee", "rimshot.coffee", "hangout.coffee", "google.coffee",
"flip.coffee", "dice.coffee"]

How to install Kixibot

Kixibot is yet another hubot instance. Detailed informations about hubot can be found on github

To quickly set up the kixibot instance, follow these steps:

0. Prerequisites

  • A working node.js environment
  • A running redis instance

1. Install hubot (and coffee-script)

% npm install -g hubot coffee-script

2. Create your hubot instance

% hubot --create kixibot

3. Install the IRC adapter

% cd hubot
% npm install hubot-irc --save

4. Install the 'flip' library

Because we can't live without flipping things in rage

% npm install flip --save

5. Setup the scripts to be used

Edit the hubot-scripts.json and add the desired scripts (see the attached file for what we currently have there).

6. Create a convenience startup script

See the attached start.sh for the current one.

#! /bin/sh
export HUBOT_IRC_SERVER=chat.freenode.net
export HUBOT_IRC_ROOMS="#kixi"
export HUBOT_IRC_NICK="kixibot"
export HUBOT_IRC_UNFLOOD=200
export HUBOT_IRC_DEBUG="true"
export HUBOT_NAME=kixibot
export HUBOT_LOG_LEVEL="debug"
bin/hubot -a irc --name $HUBOT_NAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment