Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Monitoring tool for the Babel routing daemon

This branch is 0 commits ahead and 0 commits behind develop

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

Babelweb -- Monitoring tool for the Babel routing daemon

Quick start (from search.npmjs.org)

Install and start the latest babelweb release:

npm install -g babelweb
babeld -g 33123 ... &
babelweb

Browse http://localhost:8080/.

Detailed instructions (from git repository or archive)

You'll need nodejs (>= 0.6.0) and npm (>=1.0). If you don't have them installed yet, follow the installation instructions for your platform.

Clone the repository if you haven't already, and cd into it:

git clone git://kerneis.info/babelweb
cd babelweb

You have then two options to install babelweb:

  1. Install babelweb globally (in /usr/local by default), with its dependencies:

    make install
    
  2. Keep babelweb in the current directory, install dependencies locally, and add a global symlink (in /usr/local by default):

    make link
    

If you want to install it once and forget about it, I recommend method 1; if you want to track development easily, method 2. If you change your mind, run make uninstall (for any of the methods).

Then, start Babel on your local host:

babeld -g 33123 ... &

or create a tunnel if it is running on a remote host:

ssh -N -L[::1]:33123:[::1]:33123 username@babel.host

And finally start babelweb:

babelweb

By default, the babelweb interface is located at: http://localhost:8080/

Options

See the man page for a list of options (also available in the doc/ directory):

man babelweb

You can specify options directly on the command-line:

sudo env PATH=$PATH babelweb serverPort=80 serverAddress=127.0.0.1 user=www-data

Alternatively, you can manage babelweb options through npm:

npm config set babelweb:serverPort 80

In that case, you must start babelweb through npm too (and cannot use command-line options):

npm start -g babelweb

See man npm-config for more details.

Security

Babelweb works better when started as root, and will drop privileges as soon as possible. See the man page for more details.

Browser support

Babelweb needs a browser supporting javascript (to fetch remote data) and SVG (to display the network graph). If Adobe Flash is installed, it might be used to establish a more reliable connection (but websockets are prefered if your browser supports them).

Babelweb has been tested and found to work with recent versions of Firefox (with some minor refreshing glitches), Chrome, Safari and Opera (except for some visual bells and whistles).

Please, do not hesitate to send reports of working and broken browsers.

Gabriel Kerneis kerneis@pps.univ-paris-diderot.fr

Something went wrong with that request. Please try again.