https://github.com/jsdf/perv
A tool to watch your filesystem and display logged activity via a web interface. Originally created to assist with time tracking.
https://github.com/jsdf/perv
Last synced: 8 months ago
JSON representation
A tool to watch your filesystem and display logged activity via a web interface. Originally created to assist with time tracking.
- Host: GitHub
- URL: https://github.com/jsdf/perv
- Owner: jsdf
- Created: 2013-01-25T02:16:48.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2015-01-04T11:21:16.000Z (over 11 years ago)
- Last Synced: 2025-02-07T07:04:59.300Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 1.87 MB
- Stars: 5
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## perv
perv watches your project directories and logs events to help you keep track
of your time. data can be stored in a mysql or sqlite database. it relies on
inotify so it only works on linux.
to get started, run `npm install`. if using sqlite also run `npm install sqlite3`.
if using mysql create an empty database to use for storage. copy either
`default-mysql.config.json` or `default-sqlite.config.json` to `config.json`,
editing it to contain access details for your database, an array of [minimatch](https://github.com/isaacs/minimatch) path patterns for files and directories you want to watch, and also
the port you want the 'viewer' web app to run on.
to begin logging events, run 'node perv-watcher.js'. to view logged events,
run 'node perv-viewer.js' and point your web browser to the machine and port
you're running the viewer on. by default that would be [http://localhost:8080/](http://localhost:8080/)