public
Description: Your own personal hoodwink'd. Add commenting to any site.
Homepage:
Clone URL: git://github.com/lazyatom/backchat.git
lazyatom (author)
Sun May 04 03:56:29 -0700 2008
commit  3acd3e6ec1065b1bb44a1a6441bf282f5daefa8c
tree    0cd14d703a787ff7ba5be587a02adfb5ce0882f3
parent  c71ff0da14b56f881ee8d07c9224d1eb7eb94042
name age message
file README Loading commit data...
file backchat.rb
file test.html
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