A productivity analytics tool that monitors periods of inactivity and activity based on the presence or absence of user input.
Installation is currently quite simple.
- Clone this repository to a local directory on your machine.
- Navigate to the cloned project's root directory via command terminal.
- Run the "npm install" command.
- Run the "npm start" command.
This should launch the application.
Activity tracker collects and displays data about your activity and inactivity on the system based on the presence or absence of inputs from your keyboard and/or mouse. Activity monitoring and data collection begins when the "Begin Recording" button is pressed, and ends when the "Stop Recording" button is pressed. Pressing the "Stop Recording" button will produce a pie chart showing how much time (in milliseconds) was recorded as inactive and how much time (in milliseconds) was reported as active.
The project is currently in an unfinished state. Known issues are listed below:
- Activity is only recorded when the application window is in focus. This is a result of JavaScript limiting scope to the application window for security reasons. This can be circumvented with hooks (i.e. iohook) but difficulties were encountered while attempting this implementation. This will hopefully be fixed in a future update.
- Attempting to start a new recording session after having already started and stopped a recording session will not work. I would like to fix this in a future update.
- Multiple data display options that can be enabled and disabled by the user at will.
- Option to record and display applications used and time spent on each.