IIrcv - Generic Notify Server with dRuby


IIrcv.app

Imitation of Ircv. English Japanese

Summary

IIrcv.app is alternate software (but not few changes) with Ircv for Mac OS X.

Notification application, most famous is Growl. Growl is very good application but showing the messages is not chronical. For example, notifying IRC messages confuse you. IIrcv.app resolve this.

IIrcv.app don't not have any IRC client functions. How does notify messages? Yes, IIrcv.app works as dRuby server for show messages. Another scripts are connect that and call simple method.

screenshot

In default, IIrcv.app listens port 9876. So, the below is most simple script for showing message.

require 'drb/drb'

o = DRbObject.new_with_uri("druby://localhost:9876")
o.call("Hello!\n")

Run this script, and you see 'Hello!' on fadeined window of IIrcv.app.

Functions

IIrcv.app has..

Download

Latest release.

Compiled with Universal Binary rev510 and above, but I can't test with PowerPC.

Changes

Install

IIrcv.app requires Ruby/Cocoa. Download and install first.

And put IIrcv.app somewhere.

Samples

Including some samples.

ircv.rb
Show IRC messages to IIrcv.app
sample.rb
Simple sample.
iircvstdout.rb
Pipe stdout to IIrcv.app. tail -f /var/log/httpd/access_log | iircvstdout.rb

DRb Front Object

IIrcv.app provides IO#write compatibe proc object.

require 'drb/drb'

class OutIO < IO
	def initialize(write_proc)
		@proc = write_proc
	end

	def write(arg)
		@proc.call(arg)
	end
end

o = DRbObject.new_with_uri("druby://localhost:9876")
$stdout = OutIO.new(o)
puts "Hello!"

License

Creative-Commons by

Author
cho45(さとう) http://lowreal.net/