public
Fork of lazyatom/backchat
Description: Your own personal hoodwink'd. Add commenting to any site.
Clone URL: git://github.com/sr/backchat.git
name age message
file README.markdown Sun May 04 08:00:45 -0700 2008 Fix README formatting [sr]
file backchat.rb Sun May 04 07:38:27 -0700 2008 require rubygems and merb-core [sr]
file test.html Sat May 03 13:45:38 -0700 2008 Add a flag to control sending the CSS [lazyatom]
README.markdown
Backchat
========

Basically a simple server to embed comments on other websites. Like, say, Trac. You can think of it a bit like 
Hoodwink'd, except these comments can be private, and therefore contain sensitive information.

Usage
-----

You'll need a few gems first:

    $ gem install merb-core BlueCloth markaby activerecord

Run the server:

    $ cd backchat
    $ merb -I backchat.rb


Then embed the javascript in a page or template:

  `<script type="text/javascript" src="http://your-server:4000/<reference>.js"></script>`

Where `<reference>` is something unique, like a trac changeset number.


TODO
----

* A better way of embedding the HTML than document.write might be nice - the way I'm doing it right now is incredibly 
flaky
* Determine the reference automatically from the URL
* Some kind of bookmarklet