Awesome automatic time tracker for Linux.
It is a local NodeJS web server.
It uses xdotool on Linux (but also could be adopted to windows and mac os) to collect the history and the duration of currently active window on a desktop.
The NodeJS process calls xdotool
periodically and stores collected statistics to a SQLite DB.
It also provide Web based UI (and API in the future) for an analise.
Install xdotool
sudo apt install xdotool
Install NodeJS dependency (tested on NodeJS 12)
npm install
Start server
npm start