/hummingbird

Real time web analytics using node.js and web sockets

Primary LanguageJavaScriptMIT LicenseMIT

HUMMINGBIRD

Site tracking and analytics storage

Description

Hummingbird serves a 1x1 tracking pixel to users. In the browser's GET request it sends back tracking data generated by javascript.

Requirements

  • node.js v0.1.96
  • mongodb

Installation

git clone git://github.com/mnutt/hummingbird.git
cd hummingbird

# Update submodules
git submodule update --init
# If you are running an older version of git, you may have to run the following instead:
# git submodule init . && git submodule update .

# Initialize the express submodules
cd deps/express; git submodule update --init; cd ../..

# Copy the default configuration file
cp config/app.json.sample config/app.json

Running Hummingbird

To start the analytics server, run the following:

mongod &   (or start mongo some other way)
node server.js

To start the web monitor, run:

node monitor.js

Specs

sudo gem install jspec
jspec run --node

Tips

Contributors

License

Hummingbird is licensed under the MIT License. (See LICENSE)