This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
backchat /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Tue May 20 06:48:54 -0700 2008 | [lukeredpath] |
| |
README.markdown | Tue May 20 07:04:20 -0700 2008 | [lukeredpath] |
| |
backchat.rb | Tue May 20 06:52:10 -0700 2008 | [lukeredpath] |
| |
test.html | Sat May 03 13:45:38 -0700 2008 | [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
You'll also need the RubyRSS gem, which unfortunately isn't available on RubyForge.
$ curl -O http://rubyurl.com/C9Fl
$ gem install rubyrss-1.1.gem
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



