Skip to content
Real time web analytics using node.js and web sockets http://mnutt.github.com/hummingbird
JavaScript Ruby
Find file
Pull request Compare This branch is 21 commits ahead, 147 commits behind mnutt:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
client
config
deps
images
lib
log
private
public
scripts
spec
views
.gitignore
.gitmodules
Capfile
LICENSE.md
README.md
monitor.js
server.js

README.md

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.94
  • mongodb

Installation

git clone git://github.com/mnutt/hummingbird.git
cd hummingbird
git submodule update --init

# 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

  • To run the UI locally but stream data from your production server, use the url http://localhost:8088/?ws_server=your-host.com&ws_port=12345

Contributors

License

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

Something went wrong with that request. Please try again.