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.
- Host: GitHub
- URL: https://github.com/feross/cctv.js
- Owner: feross
- Created: 2013-01-13T00:29:14.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2018-02-23T01:45:13.000Z (almost 8 years ago)
- Last Synced: 2025-01-03T02:52:59.564Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 23.2 MB
- Stars: 48
- Watchers: 8
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)
```