Skip to content

About

Automatic, encrypted window time tracker for Linux (GNOME/Wayland): see which window was focused and which were open in the background, minute by minute, in a calendar. Local-only, password-protected.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Window Tracker logo

Window Tracker

Automatic, encrypted time tracking of every window on Linux.
See which window was focused and which windows were open in the background, minute by minute.

Latest release Platform License: MIT

Day view: one cell per minute, coloured by app, with the window titles of the selected hour

Window Tracker runs from login on and records the focused window (app and title), the windows open in the background, and your AFK time. It shows them in a day and week calendar. The history is stored encrypted on your machine and can only be read with your password. There is no account and no cloud, and nothing leaves your computer.

Features

  • Automatic tracking. Records the focused app and window title every 2 s. AFK is detected after 1 min without input. Suspend is handled.
  • Background windows. Records every open window, including minimized ones, so you can see what was open next to what you were doing.
  • Calendar.
    • The day view shows a cell for every minute. Zoom to 60, 30, 15 or 5 minutes per row.
    • The week view shows the week hour by hour.
    • Click any minute, row or block to see the titles, AFK time and background windows for that range.
  • Several windows of the same app. Terminals, browser windows and so on each get their own shade of the app's colour. Numbered tiles show which shade is which window.
  • Encrypted history.
    • Records are sealed with X25519 + AES-256-GCM, and your password unlocks the key (scrypt).
    • The tracker keeps writing while the history is locked, but it can't read anything back.
  • Locking. The history auto-locks after 5 min, and on every screen lock, suspend or window close. An optional session PIN unlocks it quickly again.
  • Privacy rules.
    • Exclude apps or titles, with redact or drop modes. The defaults cover password managers and private browsing windows.
    • Set a retention period after which old days are deleted.
  • Configurable. Every setting is in the Settings screen, along with app aliases and colours and a light or dark theme. A tray icon has pause and lock.

Week view: blocks per hour coloured by app, with week totals per app

Download

Package
.deb Ubuntu / Debian, recommended: sudo apt install ./Window-Tracker-amd64.deb
AppImage Portable: chmod +x Window-Tracker-x86_64.AppImage and run it
.tar.gz Unpack anywhere and run ./window-tracker
GNOME extension Required, see below

On GNOME's Wayland session, window titles are only available to Shell extensions, so you also need the small read-only extension from this repo:

gnome-extensions install window-tracker-gnome-extension.zip
# log out and back in, then:
gnome-extensions enable window-list-dbus@window-tracker.local

The extension has a single D-Bus method that lists the open windows. It has no signals and can't act on windows. Start the app; on the first run it asks for a password. You can turn on start at login in Settings → Startup.

Requirements: Linux with GNOME Shell 50 or newer, tested on Ubuntu 26.04 (Wayland). The tray icon needs the AppIndicator extension, which Ubuntu ships by default. On Ubuntu 24.04 and newer, AppArmor blocks the Electron sandbox inside AppImages, so use the .deb there.

Windows and macOS support is coming.

Build from source

npm install
npm start          # run from the checkout
npm test           # unit tests
npm run dist       # AppImage, .deb and .tar.gz in dist/

The design is described in ARCHITECTURE.md and the threat model in SECURITY.md.

License

MIT

About

Automatic, encrypted window time tracker for Linux (GNOME/Wayland): see which window was focused and which were open in the background, minute by minute, in a calendar. Local-only, password-protected.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages