Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Simple jQuery PHPillow CouchDB chat room
JavaScript PHP
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
chat.php
documents.php
index.php
jquery.timeago.js
jquery.timers-1.2.js.txt
pillowchat.css
pillowchat.js
settings.php
views.php

README.md

PillowChat

A simple chat room built in an effort to learn CouchDB and PHPillow.

Architecture Overview

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.

Special features

PillowChat supports tripcodes for simple authentication, but these would not likely stand up to an attack by a determined adversary.

Install

  • 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
Something went wrong with that request. Please try again.