Now that we’ve released Kandan 1.1 we spent a little time focusing on getting a Hubot Adapter for Kandan up and running. After a week or so we now feel comfortable announcing the 1.0 release of the Kandan Hubot Adapter.

A lot of you aren’t going to be familiar with Hubot so here’s a brief primer.

What is Hubot?

GitHub, Inc., wrote the first version of Hubot to automate their company chat room.Hubot is open source, written in CoffeeScript on Node.js, and easily deployed on platforms like Heroku. More importantly, Hubot is a standardized way to share scripts between everyone’s robots.

What can Hubot do?

Hubot ships with a small group of core scripts: things like posting images, translating languages, and integrating with Google Maps.

The real fun happens when you add your own scripts. Github maintains a repository of community Hubot scripts that you can add to your own robot.

Kandan Hubot Adapter Demo

You can demo the Kandan Hubot Adapter in action over on our Demo Server. Here is a full list of the commands available to it:

  • hubot <keyword> tweet - Returns a link to a tweet about
  • hubot convert me <expression> to <units> - Convert expression to given units.
  • hubot help - Displays all of the help commands that Hubot knows about.
  • hubot help <query> - Displays all help commands that match .
  • hubot image me <query> - The Original. Queries Google Images for and returns a random top result.
  • hubot map me <query> - Returns a map view of the area returned by .
  • hubot math me <expression> - Calculate the given expression.
  • hubot mustache me <query> - Searches Google Images for the specified query and mustaches it.
  • hubot ping - Reply with pong
  • hubot pug me - Receive a pug
  • hubot show me <user/repo> pulls [with <regular expression>] - Shows open pull requests for that project by filtering pull request’s title.
  • hubot the rules - Make sure hubot still knows the rules.
  • hubot time - Reply with current time
  • hubot translate me <phrase> - Searches for a translation for the and then prints that bad boy out.
  • hubot translate me from <source> into <target> <phrase> - Translates from into . Both and are optional
  • hubot travis me <user>/<repo> - Returns the build status of https://github.com//
  • hubot youtube me <query> - Searches YouTube for the query and returns the video embed link.
  • ship it - Display a motivation squirrel

You can head over to Github Repo to download and test out on your own Kandan installation. The Installation instructions aren’t perfect but they do in fact work.

Contributing

Contributions are welcome. To get your work considered please do the following:

  • Fork this project
  • Create a feature/bug fix branch
  • Hack away, committing often and frequently
  • Push your branch up to your fork
  • Submit a pull request