Coder Social home page Coder Social logo

numbr5's Introduction

Number 5

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

Installation

gem install numbr5

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.

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).

Copyright

Copyright © 2009 Pat Allan, and released under an MIT License. Heavily inspired by Lachie Cox’s numbr5 bot for the #roro channel on irc.freenode.net. This new version was initially built at Rails Camp UK 2, October 2009.

numbr5's People

Contributors

pat avatar yob avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.