GitHub open sources Hubot (chat bot)
github.com
github.com
Looking forward to the future.
And dumb question here probably, but was I wrong in thinking that it was originally written in Ruby?
We're still in the process of porting a lot of stuff over from old-hubot, so we'll be making a lot more contributions ourselves yet.
Hope you guys / gals are ready for a pull-request torrent this week!
You can't really have CI monitoring or automation without somewhere to store the login info, at the very least.
... It's pretty great how short and sweet these are.
Congrats on creating such an eminently readable language - it just melted away into the background while I was enjoying the actual logic and functionality described in the code.
https://github.com/markolson/linkbot
edit: for comparison, our google image plugin: https://github.com/markolson/linkbot/blob/master/plugins/ima...
vs. theirs: https://github.com/github/hubot/blob/master/src/hubot/script...
Ours can even receive web hooks. For example, it tell us when someone makes a commit on one of our Github repos: https://github.com/abachman/pat-the-campfire-bot/blob/master...
Pat has done a lot for our morale.
In the spirit of sharing, here's our campfire bot developed in Ruby on top of the Scamp (https://github.com/wjessop/Scamp) framework: https://github.com/josephruscio/twke
May not have started it if the hubbers hadn't taken so long with hubot ;-).
https://github.com/titanous/hubot/commit/6fc90ecd9b47cbb9714...
Also, you'll probably be restarting a bunch to get hubot up, but seems pretty stable after that.
Nice work Github! Took me about a 1/2 hour to get it up and running.
http://productblog.37signals.com/products/2011/04/hubot-gith...
He also posts great stuff on his own site FWIW here: http://zachholman.com/
We depend on having a nice, customizable native Campfire client. We keep a custom js script in DropBox that Propane (http://propaneapp.com/) loads on startup. We've been able to modify the UI to show avatars, highlight successful/failed builds in Git push notifications, etc.
CF also gives us a few other nice features, like offline transcripts with search, and STARS.
Surely, you can do all this with IRC... and there are other chat apps that people like too. We're hoping that people add support for them to Hubot.
https://github.com/github/hubot/blob/master/src/hubot/irc.co...
It has some web-oriented features like auto-linkification, condensing long responses, embedding of images, tweets, videos...
It's better to think of Campfire as a client than a protocol; there's nothing it doesn't do that a sufficiently advanced IRC client + logging bot combo can't replicate. I prefer the latter, myself, but I can see the value it adds for many.
Mine was XMPP but also supported other async protocols (Redis PubSub, Spread).
http://github.com/grifo/florinda
Looking at it, it's very possible that hubot's scripts are interchangeable with ours with a small translation layer.
Shameless plug, but I could use some help fleshing out useful plugins.
http://github.com/joshwand/campfire-bot
In the process of gemifying the bot and the plugins separately to make maintenance easier.
$ sudo curl http://npmjs.org/install.sh | sh
$ wget https://github.com/downloads/github/hubot/hubot-1.0.0.tar.gz
$ tar zxvf hubot-1.0.0.tar.gz
$ cd hubot
$ npm install
$ ./bin/hubot
Mine had some path issues that showed up as
env: coffee: No such file or directory
but manually setting the path to the .bin directory in hubot's generated node_modules seemed to do the trick.