An attempt at creating a chat server using CouchDB as transport