Skip to content
Live web feed of your logs from Jog.
JavaScript
Latest commit 291610e Apr 15, 2012 @hughsk version bump
Failed to load latest commit information.
lib removed connect require call Apr 15, 2012
public first commit Apr 15, 2012
template fix change in log object Apr 15, 2012
.gitignore first commit Apr 15, 2012
README.md first commit Apr 15, 2012
index.js first commit Apr 15, 2012
package.json version bump Apr 15, 2012
server.js first commit Apr 15, 2012

README.md

jog-watcher

Watches Jog stores for changes and presents them in a clean real-time web interface.

Installation

npm install jog-watcher

Usage

Jog Watcher is essentially a preloaded HTTP server, so you can treat it as so.

var jog = require('jog'),
    store = jog(new jog.FileStore(__dirname + '/log')),
    watcher = require('jog-watcher');

watcher(store).listen(80);

You can specify the maximum amount of logs that appear at once using the size option:

watcher(store, {
    size: 100
}).listen(80);

The design of the page is borrowing heavily from orderedlist's Minimal Github Pages theme, and all credit goes to visionmedia for creating the original module.

Something went wrong with that request. Please try again.