Skip to content
RickCalegPublic

About

A manual, local-first time tracker built with Tauri and React.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

75 Commits

Folders and files

Repository files navigation

Chronos

A manual time tracker for people who just want to press play, work, and press stop — 100% local, offline, and open source. Built as a lightweight alternative to Clockify for people who don't need a team dashboard, just an honest log of their own time.

CI License: MIT Platform

Chronos screenshot

Features

  • Manual timer — description, optional task number, project, play/stop. Nothing automatic, nothing guessed.
  • Edit time freely — change the start time while the timer is running, or the start, end, and/or total duration after it's stopped. Editing duration keeps the start fixed and recalculates the end (and vice versa), matching the convention most time-tracking tools use.
  • Plain-text date/time editing — no calendar widgets. Type 2026-01-31 14:30:00, or just 14:30 to change the time and keep the same day.
  • Projects with color and a short code — give a project a code (e.g. MRK) and it shows as MRK - Project Name everywhere.
  • One field for task + description — type #1234 fix login bug and it's split live into task number and description as you type. Paste the fuller #1234 - MRK - Fix login bug (e.g. from an old Clockify description) and it also picks out the project by code. The same rule applies when importing CSVs, and autocomplete on this field recalls the project a task was last used with too.
  • Group similar entries — entries with the same task, description, and project on the same day collapse into one row with a total, expandable to see each session.
  • Import / export — full JSON backup, CSV export/import, and a dedicated Clockify CSV importer (matches Clockify's pt-BR export columns and applies the same paste-autofill rule to fill in task/project when they're embedded in the description).
  • Tags — a second, cross-cutting label on top of projects (e.g. bug, meeting, client-x), editable in the entry editor with autocomplete and create-on-the-fly.
  • A real CLI (chronos-cli) — start/stop/list/edit entries, manage projects, export/import, and automate backups from a script, cron job, or a window-manager status bar widget. Reads and writes the same database as the GUI.
  • System tray + global shortcut — closing the window minimizes to the tray instead of quitting; a configurable global keyboard shortcut (default Ctrl+Alt+Space) starts/stops the timer from anywhere, even with Chronos unfocused.
  • Start with your system — an optional Settings toggle launches Chronos on login, minimized to the tray.
  • Command palette — Ctrl+K opens a searchable list of actions (start/stop the timer, switch views, export/import a backup, check for updates).
  • Automatic backups — an optional, fully configurable schedule (hourly to weekly) that writes a JSON backup to a folder of your choice, with configurable retention.
  • Fully keyboard-driven — Ctrl+Enter starts/stops the timer, Ctrl+K opens the command palette, Alt+1/2/3 switches tabs, Enter saves in editors, Esc closes popovers, arrow keys navigate autocomplete.
  • Bilingual — English and Portuguese (pt-BR), switchable in Settings.
  • Theme-aware — light, dark, follows the OS, or (on Linux) follows your Omarchy theme live.
  • Native by platform — native title bar on Windows, native GTK decorations on Linux desktop environments, no title bar at all under a standalone window manager (Hyprland, sway, i3, ...).
  • Your data stays yours — a local SQLite database, no telemetry, no account. The only two deliberate network exceptions are the self-updater below and the optional ProofHub integration, both off unless you turn them on.
  • Self-updating — checks GitHub Releases for a newer version on launch, plus a manual "Check for updates" button in Settings. Updates are cryptographically signed and verified before installing.
  • Web version too — the same app runs in a browser, with all data kept locally in that browser, self-hostable with one docker compose up -d. See docs/WEB.md.
  • Optional ProofHub integration — install a signed companion plugin from Settings to push logged hours into ProofHub projects and timesheets, with optional task-level linking. Nothing related to it — no code, no credentials, no network calls — touches your machine until you click Install. See docs/proofhub-integration.md for the full design.

Tech stack

Tauri 2 (Rust) · React 19 + TypeScript · Tailwind CSS 4 · SQLite · Zustand · i18next

Installing

  • Arch Linux: not yet on the AUR (registrations are temporarily closed there), but packaging/aur/PKGBUILD builds the same package AUR would host:

    git clone https://github.com/RickCaleg/chronos.git
    cd chronos/packaging/aur
    makepkg -si

    This installs chronos and chronos-cli via pacman, with a proper .desktop entry and icons. Once AUR registration reopens we'll publish it there too.

    Always get the PKGBUILD this way (a fresh clone of master), not from inside a downloaded release archive/zip — packaging fixes ship as plain commits to packaging/aur/ without a new app release, so a PKGBUILD frozen inside an old release's source archive can be missing them.

  • Other Linux (AppImage): packaging/appimage/install.sh downloads the AppImage, gives it a .desktop entry + icon so it shows up in your app launcher, and is the only Linux build the in-app updater can actually self-update (.deb/.rpm/AUR installs can't — see Auto-updates):

    curl -fsSL https://raw.githubusercontent.com/RickCaleg/chronos/master/packaging/appimage/install.sh | bash

    Review the script before piping it to a shell, as always — or clone the repo and run packaging/appimage/install.sh directly. Pass a version to install something other than the latest (install.sh 0.5.0); safe to re-run to reinstall/update.

  • Web (self-hosted, Docker): see docs/WEB.md. Runs in any recent browser. Your data stays in that browser, the server never sees it.

  • Other Linux (.deb/.rpm) / Windows: grab an installer from the latest release (.deb, .rpm, or .msi/.exe).

Getting started

Prerequisites

  • Node.js 20+
  • Rust (stable toolchain)
  • The platform dependencies for Tauri 2 (on Linux, this is mainly webkit2gtk and friends — the linked page has the exact package names per distro)

Development

npm install
npm run tauri dev

Building a release binary

npm run tauri build

The installer/binary is produced under src-tauri/target/release/bundle/.

This repo is a Cargo workspace with two Rust crates: src-tauri (the desktop app) and cli (the chronos-cli companion). Build just the CLI with:

cargo build --release -p chronos-cli

Publishing a release

Pushing a tag matching v* (e.g. v0.1.0) triggers the release workflow, which builds installers for Linux and Windows and attaches them to a draft GitHub release for review before publishing:

git tag v0.1.0
git push origin v0.1.0

The workflow also signs the build (using the TAURI_SIGNING_PRIVATE_KEY/TAURI_SIGNING_PRIVATE_KEY_PASSWORD repo secrets) and publishes a latest.json manifest, which is what lets already-installed copies of Chronos find and verify this release automatically. Only versions from 0.3.0 onward ship the updater itself, so 0.1.0/0.2.0 installs can't auto-update — people on those need to grab a new installer once, manually, after which auto-update takes over.

Auto-updates

Chronos checks github.com/RickCaleg/chronos/releases/latest on launch and whenever you click Check for updates in Settings. Updates are downloaded and verified against a public key baked into the app before being installed — see CONTRIBUTING.md if you're maintaining a fork and need to re-key this.

On Linux, self-updating only works for the AppImage build (packaging/appimage/install.sh) — Tauri's updater has no way to replace a .deb/.rpm/AUR-installed binary in place, since there's no single file it can overwrite the way an AppImage lets it. On those installs, Settings shows a link to the releases page instead of a broken "Download and install" button. Windows and macOS aren't affected.

Data & backups

Everything lives in a local SQLite database (in the OS's standard app-data directory — nothing is ever synced or uploaded). Use Settings → Data to:

  • Export a full JSON backup (and import it back on any machine)
  • Export/import entries as CSV
  • Import directly from a Clockify CSV export
  • Erase everything and start fresh

All of this is also available from the terminal — see docs/CLI.md for the full chronos-cli reference, including automating backups with cron and wiring Chronos into a window-manager/Omarchy status bar.

Contributing

Contributions are welcome — see CONTRIBUTING.md for how to set up the project and what to keep in mind before opening a PR. Planned/candidate features live in TODO.md.

License

MIT

About

A manual, local-first time tracker built with Tauri and React.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages