https://github.com/leafo/selfwatch
inspired by selfspy
https://github.com/leafo/selfwatch
Last synced: about 1 month ago
JSON representation
inspired by selfspy
- Host: GitHub
- URL: https://github.com/leafo/selfwatch
- Owner: leafo
- License: mit
- Created: 2015-02-16T09:00:37.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-10-22T04:55:51.000Z (8 months ago)
- Last Synced: 2024-10-23T07:10:33.448Z (8 months ago)
- Language: Go
- Size: 1.41 MB
- Stars: 8
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# selfwatch
Selfwatch is a program that monitors how you use your computer. It's inspired by
[selfspy](https://github.com/gurgeh/selfspy).This project is in it's very early stages, currently it only tracks number of
keys pressed over time, and only runs on Linux. In the future it will collect
more detailed information about applications used and the things typed.It supports sending key counts to a remote server, which can be used to create
a graph of your activity:## Usage
```
> selfwatch --helpUsage of selfwatch:
-config string
Path to json config file (default "selfwatch.json")
```## Config
The following options can be specified in the configuration json file:
* `DbName` - The name of the sqlite database to load to store data (default: `"selfwatch.json"`)
* `RemoteUrl` - A URL to flush key press counts to every `RemoteFlushDelay` seconds. Data is encoded as JSON and sent as a post request. It's formatted as an array of arrays: `[id, "YYYY:DD:MM HH:MM:SS", count]`
* `RemoteFlushDelay` - How long to wait between flushing key counts to remote server, default 60
* `SyncDelay` - How long to buffer key counts in memory before flushing to database (application switches will trigger immediate flush)## About
Author: Leaf Corcoran (leafo) ([@moonscript](http://twitter.com/moonscript))
Email: [email protected]
Homepage:
License: MIT, Copyright (C) 2017 by Leaf Corcoran