Skip to content

About

Do time tracking for your task without cloud

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

TaskTracker

TaskTracker is a small desktop time tracker for Linux, Windows and macOS. Start a timer, sort the time into projects and categories, and turn it into reports with your rates and PDF exports. Your data stays in local JSON files: no account, no cloud server.

A native Kotlin Android companion lives in android/ in this repository. Pair it with the desktop over LAN or Tailscale to sync completed time entries and projects securely, with offline edits and conflict review.

Website: https://tasktracker.foreachdeveloper.com (source in site/, see site/README.md).

Features

  • Time Tracking: Start, pause and stop tasks; the tray menu keeps the timer within reach while the window is closed.
  • Projects and Categories: Give projects a colour and description; tag tasks with comma-separated categories (the first one is the primary).
  • Reports: Daily, weekly, monthly or custom-range views with search and project/category filters.
    • Grouping: Group by day, week or project, with automatic subtotals.
    • Billing: An hourly rate, the monthly hours at that rate and a price for extra hours give each report its total cost.
    • PDF Export: Save the current view, with its filters and grouping, as a PDF report.
  • Idle Detection: When you've been away longer than the threshold, decide what to do with that time.
  • Data Persistence: Tasks are saved as JSON files in a data folder you choose.
  • Appearance and Language: Follow the system theme or pick light or dark; the interface is in English and Spanish.
  • Signed Updates: Checks for new releases daily and verifies them before installing.

Download

Get the latest release from the download page or the GitHub releases:

Platform File Notes
Linux x86-64 / ARM64 tasktracker-linux-amd64.tar.xz / tasktracker-linux-arm64.tar.xz A single binary; needs GTK 3.
Linux (Flatpak build) tasktracker-linux-*-flatpak.tar.xz Uses desktop portals inside a sandbox.
Windows x86-64 / ARM64 tasktracker-windows-amd64.zip / tasktracker-windows-arm64.zip A portable .exe; no installer.
macOS (Apple silicon) tasktracker-darwin-arm64.zip A .app bundle; move it to Applications.

Building the application

To build the application, make sure you have Go installed and then run the following command in the project's root directory:

go build -o tasktracker ./cmd/tasktracker

On Linux the build needs the GTK 3 and OpenGL development packages (on Debian/Ubuntu: libgl1-mesa-dev xorg-dev libxkbcommon-dev libgtk-3-dev).

Running the application

After building, you can run the application from the project root:

./tasktracker

Usage

Tracker

  • Enter a task description, optionally pick a project and add categories, and click Start (Play icon) to begin tracking.
  • Use Pause to temporarily stop the timer, and press it again to resume.
  • Stop finishes the task and saves it to history. Tasks in the list can be edited or deleted afterwards.
  • Closing the window keeps TaskTracker in the system tray, whose menu can show the window, pause or resume, stop the task and quit.

Projects

  • The Projects tab lists your projects with their entries and total time. New Project creates one with a name, description and colour.

Reports

  • Navigate to the Reports tab to view your history.
  • Select Daily, Weekly, Monthly, or Custom Range.
  • Use the Group By dropdown to organize tasks by day, week or project, and the filters to narrow the view by category or project.
  • Click the Export PDF button (floppy disk icon) to save the current report as a PDF file.

Configuration

  • Data folder: where the task JSON files are saved.
  • Hourly Rate, Max Hours at Standard Rate (Monthly) and Extra Hour Price: the rates reports use for the total cost.
  • Idle Detection and Idle Threshold (minutes).
  • Settings are saved in tasktracker.yml, in ~/.config/tasktracker/ on Linux and macOS (or $XDG_CONFIG_HOME/tasktracker/) and in %APPDATA%\tasktracker\ on Windows.

Appearance

  • Choose Follow system, Light or Dark under Configuration → Appearance. The choice applies immediately and is saved in the config file (theme).

Updates

  • Task Tracker checks for a new release once a day and offers it with its release notes: Install and Restart, Later or Skip This Version. A running timer keeps counting through the restart.
  • Configuration → Updates shows the current and latest versions, checks again on demand and turns the automatic check off.
  • Updates are signed and verified before they are installed. Copies installed with Flatpak or a package manager, or in a folder you can't write to, are told about new releases but updated by those means.

Releases and self-updates (maintainers)

Pushing a v* tag builds every package and creates the GitHub release (.github/workflows/release.yml). For stable tags the release job also runs tools/updater, which signs each update bundle (Linux .tar.xz, Windows and macOS .zip; not the Flatpak tarballs) with minisign and publishes latest.json in Tauri's updater format. The app reads it from releases/latest/download/latest.json (internal/update), the same scheme as pvflasher.

  • Signing key: the minisign private key is the UPDATER_PRIVATE_KEY repository secret (base64-encoded key file, like Tauri). The matching public key is compiled into internal/update/pubkey.go. Keep a backup of the private key: without it, installed copies can't receive updates. The release job fails if the secret is missing or doesn't match pubkey.go, so no build ships with a key nobody holds.
  • Creating the key (once, before the first release with this updater):
    1. make updater-key writes the private key to ~/.tasktracker-updater/updater.key (UPDATER_KEY_DIR=… to choose another folder; an existing key is never overwritten) and puts the public key in internal/update/pubkey.go.
    2. Commit internal/update/pubkey.go.
    3. Add the contents of updater.key as the UPDATER_PRIVATE_KEY repository secret (Settings → Secrets and variables → Actions), and back the file up somewhere safe.
  • Downgrade protection: each signature's trusted comment carries file: and version:, and the app refuses a bundle whose signed file name or version doesn't match the manifest.
  • Asset names: keep tasktracker-<os>-<arch>.tar.xz / .zip. Releases up to v0.1.4 update themselves by picking assets by name, which is how they move to this updater; that is also why the .sig files are not published.
  • Testing a release: point a build at another manifest with TASKTRACKER_UPDATE_MANIFEST=http://…/latest.json; bundles must still be signed with the release key. Development builds (versions that aren't a plain tag) never update.
  • Wait for a release's workflow to finish before tagging the next one, so releases/latest points at the newest version.

Screenshots

Tracker Reports Projects

About

Do time tracking for your task without cloud

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages