App/Window Activity Monitoring This tracker can be used in TypeScript or JavaScript applications (e.g. using Electron) to receive changes of the user's currently active window/app, including the process name, window title, and (on macOS only) the url of the browser. The tracker supports Windows and macOS. This page describes how to leverage the WindowsActivityTracker.
App/Window Activity Mapping
The app/window is then mapped to an activity, such as Development, Generative AI, Social Media, and so on (see all categories).
The algorithm can be found here and the keyword-mappings here.
Parent Project This tracker is maintained by the Human Aspects of Software Engineering Lab (HASEL) at the University of Zurich. It is part of the PersonalAnalytics project; there you can also see how it's leveraged in action for study-related data collection and actual apps.