An open-source automatic time-tracker
npm install vrem
npm i -g vrem
`
Note that if you update the package, its auto-tracking process stops, and
you have to relaunch it manually via vrem on.
Usage
Vrem adds one global executable vrem. It has the following commands:
- vrem help - show all available commands.
- vrem on - start the auto-tracking process.
- vrem off - stop the auto-tracking process.
- vrem ui - start the UI server if required and open the UI in the browser.
- vrem server on - start the UI server.
- vrem server off - stop the UI server.
- vrem start - start a manual task.
- vrem stop - stop the current manual task.
- vrem report - show the statistics of apps usage (general and within each
manual task). Without arguments it shows the statistics for today. But you can
specify the dates:
- vrem report 2020-09-01 - to show the report for a specific date
- vrem report --from 2020-09-01 --to 2020-09-10 - to show the report for a
period.
- vrem status - check the current task and wether server and tracker processes
are running.
Also, you can get help message for each command, e.g. vrem help report.
Once you installed Vrem, run vrem on.
Then open different windows (focus on each window not less than 1 second).
Then run vrem report to see the statistics.
There is so called "idle time" in the report. The period of idleness begins
after 90 seconds since the last mouse movement or key press.
It's up to you how to add Vrem to system startup.
Vrem keeps all its logs in the folder C:\Users\, or you can
get the exact path via
`cmd
node -e "console.log(require('path').resolve(require('os').userInfo().homedir, '.vrem'))"
``