Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Live web feed of your logs from Jog.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 public
Octocat-spinner-32 template
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 index.js
Octocat-spinner-32 package.json
Octocat-spinner-32 server.js
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.