I was asked to submit the small plugin that I created for rbot so that we can do fun stuff like this in #pdx.rb (irc.freenode.net).
21:42 < robbyonrails> ?help rubyurl
21:42 < pdxrbot> rubyurl <your long url>
21:43 < robbyonrails> ?rubyurl http://www.google.com/
21:43 < pdxrbot> Your RubyURL: http://rubyurl.com/hbGjx
It’s nothing complex and uses the plugin example as a foundation. I just popped in my ShortURL requires and modified what it replies with.
We’re almost at 2,000 unique URLs in RubyURL. :-)
You can pick up the plugin here in the trac for rbot. I don’t know if it will be accepted in the default plugins or not, but you can download the file there and start using it today!
Have fun!