Spread the love on Twitter with #heartbot

Heartbot is a Hubot integration that can be plugged into Slack, Hipchat, IRC, or other clients. Once installed, type things like “ugh”, “:(“, or “kitty me” and Heartbot will bring a little love and joy into the room. If you want to extend Heartbot, the documentation is available on Github .

How to Install

First, you need to have NodeJS installed on your server:

Then, you will want to install Hubot. Start by installing the yo and generator-hubot packages globally:

Generate a Hubot instance:

You will be prompted for to choose a chat adapter. A list of chat adapters can be found here. For example, to install the Slack chat adapter, run the following command:

Then, create a Hubot service and copy the API token.

Next, install heartbot. While still in the heartbot directory, run:

To enable the Heartbot Hubot plugin, add hubot-heartbot to external-scripts.json:

Sign up for forecast.io and copy your API key.

Finally, start Heartbot: