GitXplorerGitXplorer
t

wheres-waldo

public
118 stars
3 forks
0 issues

Commits

List of commits on branch master.
Unverified
29fdbebad961df8176d591a24a3c520f30ae149d

restructure waldo api server so it can be a pleasant fab neighbor

ttechnoweenie committed 15 years ago
Unverified
986c96e643abfbd73fd69aa3602cc483c10813e2

use fab for serving api requests

ttechnoweenie committed 15 years ago
Unverified
03547ded1e5eb533bdf6055a1e9de5471ba24667

update readme

ttechnoweenie committed 15 years ago
Unverified
94ebbd8bdc15fe01e9c1b306823b04562620de08

do not return early for the /track api request. an immediate /list or /locate request should show the updated results

ttechnoweenie committed 15 years ago
Unverified
229e823557b69b4cab1cc9696c534e1656ac0dde

add example file with some event listeners

ttechnoweenie committed 15 years ago
Unverified
2c59320268b2e34915dd42d7de13ee7bc17460cf

respond early with track requests

ttechnoweenie committed 15 years ago

README

The README file for this repository.

wheres-waldo

Track what users are on which pages with redis.

Installation

Depends on fab, ntest, redisclient, and underscore.

There's no packaging system for node.js yet, so I've just been creating symlinks in my ~/.node_libraries path.

$ ln -s /path/to/fab              ~/.node_libraries/fab
$ ln -s /path/to/redisclient      ~/.node_libraries/redisclient
$ ln -s /path/to/underscore       ~/.node_libraries/underscore
$ ln -s /path/to/wheres-waldo/lib ~/.node_libraries/wheres-waldo

$ ln -s /path/to/redisclient/redisclient.js   ~/.node_libraries/redisclient/index.js
$ ln -s /path/to/underscore/underscore-min.js ~/.node_libraries/underscore/index.js

Usage

Display a list of users that are visiting a certain page. Using a snippet of javascript at the bottom of your site, you can end up with something like this:

screenshot of user list

TODO

  • HMAC URL authentication
  • Ability to store json data per user instead of just a name or ID

Copyright

Copyright (c) 2010 rick. See LICENSE for details.