A simple chat room built in an effort to learn CouchDB and PHPillow.
The front end is a typical chat window with a view of recent messages, an input box, and a list of users present. The front end relies heavily upon jQuery which communicates with PHP on the server using JSON POST requests. All chat messages are stored as documents.
PillowChat supports tripcodes for simple authentication, but these would not likely stand up to an attack by a determined adversary.
- Install CouchDB
- Install PHPillow using PEAR
- Create a database in CouchDB's Futon interface
- Copy PillowChat files to your web server
- Set your database details in settings.php