Summary
I'd love a simple, shareable "work hours report" export in the Activity view — aimed at people who use ActivityWatch to track their working hours and need to hand a clean summary to an employer or client.
Problem
The Activity view is great for exploring data, but the only exports today are raw JSON buckets. For the common "send my boss my hours" use case, that's both too detailed (window titles) and not consumable by non-technical recipients.
Proposed feature
An "Export report" button on the Activity view that produces a self-contained HTML (and/or CSV) file for a selected period, containing:
- One row per day: date, first activity ("started"), last activity ("finished"), total active time (from the AFK watcher, idle time excluded)
- A period total
- Optionally, top N applications by time — easy to omit for privacy
Because it's generated client-side from the existing /api/0/buckets endpoints, no server changes are needed.
Prototype
I have a working prototype as a small standalone script injected into the web UI (~100 lines, no dependencies): it fetches the AFK + window buckets, aggregates per day, and downloads a styled, self-contained work-hours-report.html. Happy to share the code or rework it into a proper PR against aw-webui if maintainers are interested in the direction.
Motivation
This would make ActivityWatch a viable drop-in replacement for commercial "AI time tracker" apps (Rize, Timing) for the freelancer/employee timesheet use case, using data it already collects.
Fable
Summary
I'd love a simple, shareable "work hours report" export in the Activity view — aimed at people who use ActivityWatch to track their working hours and need to hand a clean summary to an employer or client.
Problem
The Activity view is great for exploring data, but the only exports today are raw JSON buckets. For the common "send my boss my hours" use case, that's both too detailed (window titles) and not consumable by non-technical recipients.
Proposed feature
An "Export report" button on the Activity view that produces a self-contained HTML (and/or CSV) file for a selected period, containing:
Because it's generated client-side from the existing
/api/0/bucketsendpoints, no server changes are needed.Prototype
I have a working prototype as a small standalone script injected into the web UI (~100 lines, no dependencies): it fetches the AFK + window buckets, aggregates per day, and downloads a styled, self-contained
work-hours-report.html. Happy to share the code or rework it into a proper PR against aw-webui if maintainers are interested in the direction.Motivation
This would make ActivityWatch a viable drop-in replacement for commercial "AI time tracker" apps (Rize, Timing) for the freelancer/employee timesheet use case, using data it already collects.
Fable