Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
a simple, powerful syslog-like event broadcast daemon
tree: 1485b6150d

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example
lib
test
LICENSE-MIT
README.md
blode.js
config.js

README.md

Blode is a simple, powerful syslog-like event broadcast daemon

example visualization (sparkfun web servers): http://vimeo.com/30873952 example visualization (sparkfun mysql queries): http://vimeo.com/20752495

It works like this

  +--------+  +--------+  +--------+
  |  php   |  |  ruby  |  | syslog |    <-- event sources
  +--------+  +--------+  +--------+
       \           |          /
        \          |         /        
         \         |        /        
          \        |       /         
        +--------------------+          
        |    blode server    |          <-- event listener/broadcaster
        +--------------------+
                   |
                  / \
                 /   \
                /     \
               /       \
              /         \
      +---------+     +----------+
      | browser |     | database |       <-- event stream clients
      +---------+     +----------+

Events are pushed from any source via tcp/udp/http to the blode listener. Any event received by blode is then pushed out to any listening clients. Clients can obverve the broadcast via a websocket, tcp, or udp connection.

Requirements

node.js >= 0.4.12

npm (npmjs.org :: curl http://npmjs.org/install.sh | sudo sh)

Installation

git clone git://github.com/benlemasurier/blode.git
sudo npm install websocket-server

start blode daemon
------------------

$ cd blode $ nohup node blode.js


start logging test events
-------------------------

$ cd test $ ./ping


listen to events
----------------

(from another terminal)

$ cd ~/blode/test $ ./example_netcat_client.sh

Something went wrong with that request. Please try again.