Group-im-chat is a project mainly written in RUBY and JAVASCRIPT, it's free.
using Phono and Tropo
== Phono / Tropo Group IM Chat Example
This example code shows you how to build a group IM chat in a website using the Phono jQuery SDK (http://phono.com) and Tropo's (http://tropo.com) IM messaging API.
== Installation
http://christoffe.local/phonoim/chat.html?chatroom=nodester&user=chris
Note: I wrapped this static HTML file with Ruby/Sinatra so that I could host it on heroku for free demos