An open API service indexing awesome lists of open source software.

https://github.com/feross/cctv.js

Watch live visitors using your website.
https://github.com/feross/cctv.js

Last synced: 4 months ago
JSON representation

Watch live visitors using your website.

Awesome Lists containing this project

README

          

# CCTV.js

Watch live visitors using your website.

Copyright (c) 2012 [Feross Aboukhadijeh](http://feross.org) and John Hiesey. All rights reserved. No free software license (for now).

Built in 12 hours for the Stanford ACM Hackathon.

## Usage

### Run as standalone demo

```
node server.js
```

Visit `http://localhost:4000/admin.html` and `http://localhost:4000/sample`.

### Integrate into a node app as a module

```
var cctv = require('./node_modules/cctv')
, http = require('http')
, express = require('express')
, app = express()
, server = http.createServer(app)

cctv.listen(app, server)
```