activitywatch.net
ActivityWatch is a free and open-source automated time tracker for Windows, macOS, Linux, and Android. It automatically tracks how time is spent on devices, including app and website usage, and keeps all data on the device rather than uploading it to the cloud.