Project

irckitten

0.0
No commit activity in last 3 years
No release in over 3 years
Send message to IRC via IRCCat, but without having to manually configure a server in your code. Just use DNS as RFC822 intended.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Ruby gem to do IRCCat based on SRV records. No longer do you have to configure shit, that's what DNS is for.

So in your code, just do this:

require 'irckitten'

IrcKitten::msg 'Thing broke... that is bad.'

And it will look up your IRCCat server, via '_irccat._tcp.yourdomain.example.org.' (and port), and try and send the message to there.

Kind of ignores DNS search order and just chops chunks off your hostname and searches there.

On 1.8.7 will try and use system_timer to do network timeouts. If it isn't there, or you're on 1.9, then it just uses timeout.