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
backchat / README
100644 32 lines (18 sloc) 0.812 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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