Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pat/numbr5

Thank-you bot for IRC (and maybe more)
https://github.com/pat/numbr5

Last synced: 13 days ago
JSON representation

Thank-you bot for IRC (and maybe more)

Awesome Lists containing this project

README

        

h1. Number 5

A wary IRC bot, tracking people thanking other people, and tallying those thanks as beers owed.

h2. Installation

gem install numbr5

h2. Usage

Specify a channel name without the hash suffix.

numbr5 railscamp

In the channel, if you thank someone (using emotes/actions) for something, then you have a beer logged from you to that person.

/me thanks ben_a for running rails camps

Currently, the order must be "/me thanks [username] [reason]". If you can figure out a way to make this flexible and smart, please fork.

You'll also need the website running as well, otherwise there'll be no API around to use.

h2. Limitations

Currently hard-coded to irc.freenode.net on port 6667, and only accepts one channel. I'd like it to support multiple channels, and specify the server, so multiple bots can be running for different servers.

It's also expecting the corresponding website to be hosted locally and running on port 3000. This is far from ideal - a patch to make the bot understand the concepts of environments would be fantastic.

What also would be cool is the concept of a source for each thank-you - ie: IRC/channel. This way, the service could be extended beyond just IRC (although there's already a few Twitter-equivalents out there).

h2. Copyright

Copyright (c) 2009 Pat Allan, and released under an MIT License. Heavily inspired by "Lachie Cox's":http://smartbomb.com.au/ "numbr5 bot":http://github.com/lachie/numbr5 for the #roro channel on irc.freenode.net. This new version was initially built at "Rails Camp UK 2":http://railscamps.com, October 2009.