Tracking Every Minute of My Day With This Open Source Tool
In this article
- What Is ActivityWatch and Why Use It?
- How ActivityWatch Works
- Setting Up ActivityWatch for the First Time
- Reading the Data: What Did I Learn?
- Common Problems and How to Fix Them
- ActivityWatch vs. Other Time Trackers
- Is ActivityWatch Private and Safe?
- How to Get the Most Out of ActivityWatch
- Frequently Asked Questions
Yes, I tracked every minute of my day with the open source tool ActivityWatch, and it gave me a clear, private, and surprisingly honest picture of where my time actually goes. Unlike commercial time trackers that rely on manual timers or cloud storage, ActivityWatch runs locally on your device, automatically records which apps and websites you use, and lets you analyze the data without sending it anywhere. This article explains what ActivityWatch is, how to set it up, what the data shows, and how to get the most out of it.
What Is ActivityWatch and Why Use It?
ActivityWatch is a free, open source, cross-platform time tracking application that automatically logs your digital activity. It runs in the background on Windows, macOS, Linux, and Android, and it records things like the active window title, the app name, and the URL of the website you are viewing. Because it is open source, anyone can inspect the code, and all data stays on your own machine by default. That privacy is a major reason people choose it over cloud-based trackers like RescueTime or Toggl.
The project started as a personal tool by its developers and has grown into a community-maintained project with a web-based dashboard. It is not a commercial product, so there is no paid tier, no account, and no data selling. You install it, run it, and it starts collecting data immediately.
How ActivityWatch Works
ActivityWatch is built around two core components: watchers and the server. Watchers are small programs that run on each device and capture raw activity. The server aggregates that data and displays it in a dashboard you open in your browser.
- Watchers – On desktop, the aw-watcher-window records the active window title and app name. On Android, aw-watcher-android tracks foreground apps and screen on/off state. There is also a browser extension for Firefox and Chrome that records the URL of the active tab.
- Server – The aw-server stores all events in a local database (SQLite by default) and serves a web UI at
localhost:5600. You can view timelines, bar charts, and category breakdowns.
When you open the dashboard, you see a timeline of your day, with each app or website colored differently. You can zoom into any hour or day, and you can manually edit events to correct mistakes (for example, if you left a video playing while you went to lunch).
Setting Up ActivityWatch for the First Time
Installation is straightforward, but there are a few steps to get the most accurate data.
- Download the appropriate installer from the official ActivityWatch website or your package manager (e.g.,
brew install activitywatchon macOS, or the AUR package on Arch Linux). - Run the application. On first launch, it starts the server and opens your browser to the dashboard.
- Install the browser extension for Chrome or Firefox if you want to track website URLs. The extension connects to the local server automatically.
- On Android, install the app from F-Droid or the Google Play Store (if available) and grant it the “Usage Access” permission.
- Leave the watchers running. They are designed to be lightweight and use minimal battery or CPU.
One common issue is that the dashboard shows no data after installation. This usually happens because the watcher is not running or because the server is not connected. Check the system tray for the ActivityWatch icon, and verify that the server is listening on port 5600. If you use a firewall, allow local connections.
Reading the Data: What Did I Learn?
After a week of tracking, the dashboard revealed patterns I did not expect. The biggest surprise was the amount of time spent in my email client—nearly an hour a day on average, mostly in short bursts. The timeline view made it obvious that I was checking email every 15–20 minutes, breaking focus. Another finding was that my browser usage was split between work-related research and social media, and the category breakdown showed that “News” took up more time than I thought.
ActivityWatch lets you create custom categories based on rules. For example, you can define that any window containing “YouTube” is “Entertainment” and any URL containing “stackoverflow.com” is “Work”. The dashboard then aggregates your day into those categories, giving you a high-level view. This is far more useful than raw app names because it maps to your actual goals.
One limitation is that it only tracks digital activity. Time spent away from the screen (meetings, phone calls, reading physical books) is not captured. You can manually add events to fill those gaps, but it is not automatic. For a complete picture, you would need to combine ActivityWatch with a manual tracker or a calendar.
Common Problems and How to Fix Them
Like any tool, ActivityWatch has quirks. Here are the most frequent issues and their solutions.
- No data on the dashboard – Restart the server. On Windows, right-click the tray icon and choose “Restart”. On Linux, run
systemctl --user restart activitywatchif you installed it as a service. - Browser extension not connecting – Make sure the server is running and that you are using the same localhost port. Sometimes the extension needs to be re-enabled after a browser update.
- Android battery drain – The watcher uses more battery if you have many apps. You can reduce logging frequency in the app settings, or use the “Doze” mode to pause tracking when the screen is off.
- Data missing after sleep/wake – ActivityWatch does not always resume correctly after a laptop sleeps. A restart of the watcher usually fixes it.
- High CPU usage – This is rare but can happen if you have many windows open. Updating to the latest version often resolves it.
If you encounter a bug, the project has an active GitHub repository where you can file an issue. Since it is open source, you can also contribute a fix yourself.
ActivityWatch vs. Other Time Trackers
ActivityWatch is not the only automatic time tracker. Here is how it compares to the most common alternatives.
- RescueTime – Commercial, cloud-based, with a free tier and premium features. It automatically categorizes apps and websites, but your data is sent to their servers. ActivityWatch is fully local and free.
- WakaTime – Focused on programmers, it tracks time in code editors and IDEs. It has a cloud component, though it also offers a self-hosted option. ActivityWatch is broader, covering all apps.
- Manually with Toggl or Clockify – These require you to start and stop timers. They are accurate for intentional tracking but miss the background time. ActivityWatch captures everything without effort.
For most people, the choice comes down to privacy vs. convenience. If you want automatic tracking with no cloud dependency, ActivityWatch is the best open source option. If you need detailed project billing, a manual timer might be better.
Is ActivityWatch Private and Safe?
Yes, by default all data stays on your device. The server binds to localhost, meaning only your computer can access the dashboard. The browser extension communicates only with your local server. There is no account, no telemetry, and no cloud sync. You can even disable network access entirely and still use it.
However, be aware that if you share your computer with others, they could open the dashboard and see your activity. You can set a password for the web UI in the settings. Also, the raw data files are stored in plain text (SQLite database), so anyone with file access to your user folder could read them. If you are concerned, you can encrypt your home directory.
One thing to note: ActivityWatch does not track keystrokes or take screenshots. It only records window titles and URLs. That means it cannot capture what you type in a password field or a private message. This is a deliberate design choice to respect your privacy.
How to Get the Most Out of ActivityWatch
To turn raw data into actionable insights, follow these practices.
- Define categories early – Set up rules for “Work”, “Leisure”, “Communication”, and “Distraction” so the dashboard is meaningful from day one.
- Review weekly, not daily – Daily fluctuations are noisy. Look at the weekly view to see patterns.
- Export your data – ActivityWatch lets you export your events as JSON or CSV. You can then analyze them in a spreadsheet or with a custom script.
- Use the API – For advanced users, the REST API allows you to pull data into other tools like Grafana or a personal dashboard.
One misconception is that automatic tracking is only for people with poor time management. In reality, even disciplined workers benefit from seeing the gap between their perceived and actual time use. The tool is not about judgment; it is about awareness.
Frequently Asked Questions
Does ActivityWatch work on my phone?
Yes, there is an Android app that tracks foreground apps and screen time. It requires the “Usage Access” permission, which Android restricts for privacy. The app is available on F-Droid and the Google Play Store, though the Play version may lag behind the F-Droid one. There is no official iOS app because Apple does not allow background activity tracking in the same way, but you can use the browser extension on iOS Safari.
Can I track time on multiple computers?
Yes, but each computer runs its own ActivityWatch instance. You can view each machine’s data separately, but there is no built-in sync between them. You could export data from one and import it into another, or use the API to aggregate data into a central database.
Is ActivityWatch really free?
Yes, it is completely free and open source (MPL-2.0 license). There is no paid version, no premium features, and no donations required. The project is maintained by volunteers and funded by community donations, but all features are available to everyone.
Will ActivityWatch slow down my computer?
Typically no. The watchers are lightweight and use very little CPU or memory. On modern hardware, the impact is negligible. If you notice slowdowns, check that you are running the latest version and that you do not have multiple watchers running for the same device.
Can I delete or edit specific events?
Yes. In the dashboard, you can click on any event and edit its start/end time or change the app name. You can also delete events entirely. This is useful for correcting false data, like when you left a video playing while you were away.
How accurate is the tracking?
It is accurate to the second for window changes, but there are edge cases. For example, if you switch windows rapidly, it may miss short bursts. Also, if you leave a full-screen video playing, it records that as continuous activity even if you are not watching. For most purposes, the accuracy is more than sufficient.