Skip to content
A hubot adapter for clubot
CoffeeScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
src
.gitignore
README.md
config.xml
package.json

README.md

hubot-shaky: A clubot bridge to hubot.

Description

Shaky is an adapter for hubot that interfaces with clubot to proxy messages from IRC over 0mq to hubot.

Installtion

Shaky requires a custom version of hubot right now. Please use my fork of hubot

Download hubot-shaky.

In the hubot directory:

Make sure the correct hubot version is being used.

Change the version for hubot from 2.1.0 to 2.1.2 in package.json then do the following:

$ npm uninstall hubot
$ npm install /path/to/hubot-fork
$ npm install /path/to/hubot-shaky

Configuration

You configure shaky through environment variables.

  • HUBOT_SHAKY_SUB_ADDRESS - The 0MQ subscription address.
  • HUBOT_SHAKY_DEALER_ADDRESS - The 0MQ dealer address.
  • HUBOT_SHAKY_FILTERS - A comma delimited list filters to subscribe to.

An example configuration

$ export HUBOT_SHAKY_SUB_ADDRESS="tcp://localhost:14532"
$ export HUBOT_SHAKY_DEALER_ADDRESS="tcp://localhost:14533"
$ export HUBOT_SHAKY_FILTERS=":PRIVMSG,:PART,:JOIN,:INVITE"

Usage

To start hubot with the shaky adpater:

$ ./bin/hubot -a shaky -w

Contribute

Just fork the project and submit a pull request.

Something went wrong with that request. Please try again.