Home

Awesome

What?

Gitter A simple Hubot adapter for gitter.im

How?

TOKEN=<your Gitter Personal Access Token> ROOM="org/room1,org2/room3" ./bin/hubot -a gitter

You can let your bot join multiple rooms, each separates by comma (,)

{
  "scripts": {
    "start": "./bin/hubot --name tien -a gitter"
  }
}

Then you can start your bot with npm start. This is useful for deployment with Zeit (see below).

Deployment with Zeit

You can deploy your bot for free with Zeit. Assume that you are currently in your bot folder, the deploy command is:

now -e TOKEN=<your Gitter Personal Access Token> -e ROOM="org/room1,org2/room3" 

Zeit will automatically run npm start. Please note that Your code and logs will be made public. so be careful there.

It is possible that you would have multiple deployment with Zeit, resulting multiple instances of your bot joining the same rooms. To cure this, use now ls and now rm to delete old deployment.

Changelog

1.0.0

0.0.2

0.0.1