public
Description: Your own personal hoodwink'd. Add commenting to any site.
Homepage:
Clone URL: git://github.com/lazyatom/backchat.git
name age message
file README Sat May 03 14:35:02 -0700 2008 Updated the README to show gem dependencies, an... [lazyatom]
file backchat.rb Sun May 04 03:56:29 -0700 2008 Don't die if they didn't leave their name [lazyatom]
file test.html Sat May 03 13:45:38 -0700 2008 Add a flag to control sending the CSS [lazyatom]
README
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