Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A hubot adapter for clubot

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 config.xml
Octocat-spinner-32 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.