Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Your own personal hoodwink'd. Add commenting to any site.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 README.markdown
Octocat-spinner-32 backchat.rb
Octocat-spinner-32 test.html
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
Something went wrong with that request. Please try again.