RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

mini: eventmachine clone of the last.fm irc bot they use at last.fm (in 140 lines)

Grab mini on github. check out a writeup from the last.fm founder: how we use irc at last.fm. mini uses sinatra for webhooks and the eventmachine LineText2 protocol to connect to irc. you can pipe stuff over netcat and get the bot to say it:

echo "Ilovethistuffs yes .. i .. do. " | nc localhost 12345 vmstat | nc localhost 12345 echo "#musicteam,#legal,@alice New album uploaded: ..." | nc somemachine 12345 tail -f /var/log/important.log | nc somemachine 12345

Grab mini on github, or install with gem install purzelrakete-mini --source=http://gems.github.com.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in