| Crates.io | whatawhat |
| lib.rs | whatawhat |
| version | 0.2.3 |
| created_at | 2025-03-17 19:16:13.096763+00 |
| updated_at | 2025-03-28 13:11:49.392731+00 |
| description | Application for monitoring user activity |
| homepage | |
| repository | https://github.com/Anoromi/whatawhat |
| max_upload_size | |
| id | 1595824 |
| size | 9,880,731 |
A tool for monitoring activity on the computer throughout the day.
https://github.com/user-attachments/assets/d0bbfadb-eacb-4889-91ba-b97ed6b63646
Because it's hard to remember what you've been doing 3 hours ago, let alone 1 week ago.
Because having no idea where your time goes will worsen your self-esteem.
Because knowing how much you spend on games might help you cope with addictions.
A simple cli/daemon for monitoring your activity.
No runtime required. No python, no node. The application is a single executable that takes up 1MB during execution.
Cli friendly. Very easy to use with tools like grep and less.
Everything is local. You control your data. your data does not leave your computer, not used by advertisers, not leaked by corporations.
cargo install -F win whatawhat
To compile and run the application you need xcb and xscreensaver. Some distros (like Manjaro) will have them preinstalled.
To get utilities on Ubuntu you can simply run:
sudo apt-get install libxcb1-dev
sudo apt-get install xscreensaver
Then use cargo install to build the program:
cargo install -F x11 whatawhat
When you're first starting out it's recommended to run whatawhat restart. This will start the daemon for the current session.
Now you can use the whatawhat timeline to get different data about your activity.
For details on how to run the deamon on boot refer to Autostart
Get application usage for this week:
whatawhat timeline -d 1 -o days --start "last monday"
View the timeline for last 8 hours:
whatawhat timeline -d 30 -o minutes --start "8 hours ago"
Whatawhat also works well with common cli utils like grep
View when you started and ended your day with head/tail (assuming you weren't working at night):
whatawhat timeline -d 1 -o minutes --start "yesterday" --end "yesterday" --days | tail
or
whatawhat timeline -d 1 -o minutes --start "yesterday" --end "yesterday" --days | head
View what YouTube videos you've been watching with grep:
whatawhat timeline -d 1 -o minutes --start "today" --days | grep YouTube
Whatawhat doesn't run startup by default. This needs to be configured yourself.
For Windows you can refer to this:
On Linux it's best to use autostart utilities provided by Gnome, KDE Plasma, etc.:
/home/username/.cargo/bin/whatawhat-daemon).Dates are formatted using chrono-english. The supported formats are:
--date-style us flag).By default whatawhat timeline will trim items which have less than 1% of the total time of usage. You can set --percentage 0% to change this.
If you want to go through entire days, you can use --days flag. For example if you want to get data for yesterday you can use --start "yesterday" --end "yesterday" --days. This will show data from start of "yesterday" to the end of "yesterday".
whatawhat timeline should be configurable.