ActivityWatch
Open source application that automatically tracks how you spend time on your devices.
· Website · Docs · GitHub ·
Data Model
Querying data
Query by window title keywords
events = flood(query_bucket(find_bucket("aw-watcher-window_")));
not_afk = flood(query_bucket(find_bucket("aw-watcher-afk_")));
not_afk = filter_keyvals(not_afk, "status", ["not-afk"]);
events = filter_period_intersect(events, not_afk);
events = merge_events_by_keys(events, ["app", "title"]);
events = filter_keyvals_regex(events, "title", "(?i)strong.*heart");
events = merge_events_by_keys(events, ["title"]);
RETURN = sort_by_duration(events);