Simple terminal time tracking for macOS using AppKit
provided by Apple.
No need install.
If you are using python3, you may have to install pyobjc
by using pip3
pip3 install -U pyobjc
python time_tracker.py
Or if you are using python 3
python3 time_tracker.py
Application time tracking
+--+--------------------+---------------+--------+
| #| Application| Using time| Percent|
+--+--------------------+---------------+--------+
| 1| Google Chrome| 0:01:03| 42.9|
| 2| IntelliJ IDEA| 0:00:46| 31.3|
| 3| iTerm2| 0:00:27| 18.4|
| 4| Notes| 0:00:06| 4.1|
| 5| Finder| 0:00:05| 3.4|
+--+--------------------+---------------+--------+