Skip to content
pace-rsPublic

About

Mindful Time Tracking: Simplify Your Focus and Boost Productivity Effortlessly.

Topics

Resources

Stars

24 stars

Watchers

1 watching

Forks

Repository files navigation

Mindful time tracking on the command line.

About

pace shows you where your time goes. You track as you work, with the breaks and interruptions on the way. pace sorts the time by the roles you hold, your projects and your clients. Tasks and goals say what the time is for, and the day's list says what you take on today. At the end of a day or a week, pace reflect looks back with you. At the end of a month, pace bill writes the bill.

pace works right after installing: pace begin needs no setup. Your data stays in plain TOML files on your own machines. Each device writes its own log, so any file sync shares the data between computers without conflicts.

Note: 0.16.0 is the first release of the restarted pace. Commands and files can still change between releases. The release notes say how.

A day with pace

The day starts in ~/code/shop, which pace project init made a project of the client ACME Ltd in the role Work. pace takes the project from the directory.

$ pace begin Write offer
Began b2e4 "Write offer" at 09:00.
$ pace hold --outer --reason "phone call"
Held b2e4 at 10:00, interrupted from outside: phone call.
$ pace resume
Resumed b2e4 at 10:20 after 20m held.
$ pace pause --lunch
Paused b2e4 at 12:00 for lunch.
$ pace resume
Resumed b2e4 at 12:45 after 45m paused.
$ pace begin Review checkout --by-others
Ended b2e4 "Write offer" at 14:30 after 4h 25m (5h 30m in all, held 20m, paused 45m).
Began accc "Review checkout" at 14:30.
$ pace end
Ended accc "Review checkout" at 16:00 after 1h 30m.
$ pace begin Run --role health
Began b18d "Run" in the role Health at 18:00.
$ pace end
Ended b18d "Run" at 19:00 after 1h.
$ pace reflect today
Today: Thu 2026-10-01, Europe/Berlin
Tracked 6h 55m, untracked 12h 35m.

Time per role
  Work    5h 55m   86%  ████████████████████████████████████████
  Health      1h   14%  ██████▊

Time per project
  shop        5h 55m   86%  ████████████████████████████████████████
  No project      1h   14%  ██████▊

Target vs. actual
  Work  5h 55m  of 5h 42m  104%

Revenue
  ACME Ltd  5h 55m  562.08 EUR
    shop    5h 55m  562.08 EUR
  Total             562.08 EUR

Interruptions
  1 hold, 20m: inner 0, outer 1 (20m), unknown 0.
  Most frequent reasons: phone call 1.

Pauses and catches
  Pauses: lunch 1 (45m).

Who decided
  By me           –
  By others  1h 30m   22%  ███████████
  Unmarked   5h 25m   78%  ████████████████████████████████████████

The output leaves out the lines that say where the project came from.

What pace does

  • Tracking without setup: begin, hold, pause, resume, catch and end. now shows what runs, also as JSON. --at takes times such as 09:30, -15m or "yesterday 17:00", and every moment keeps its time zone.
  • Corrections you can take back: adjust, log, edit in your editor, and undo. forget removes an entry for good.
  • Structure in plain TOML files: roles for the lasting responsibilities your time goes to, clients with their rates and rounding, and projects. pace project init makes a directory a project and asks only what it cannot guess. pace setup walks you through all of it.
  • Tasks: pace task add gives a project its tasks, each in a TOML file of its own, with a status from the project's status set. task list --by sorts them by a method such as the Eisenhower matrix, and pace method explain says how a method works. pace begin --task tracks time on a task, or takes it from the git branch. Past the WIP limit of tasks in doing, pace warns.
  • The day's list: pace today shows the tasks you chose for the day. today add, drop and order change it. Open tasks carry over to the next day.
  • Goals: pace goal add sets a goal for a horizon, with a target of time or a condition for done, linked to roles, projects or tasks. goal list and goal show draw the progress.
  • Reflection: pace reflect looks back on any period. It shows the time per role, project, group of a method and day, targets and budgets, goals, revenue, breaks, interruptions and who decided. --compare sets the previous period beside it. It writes a table, JSON, CSV, text, Markdown, HTML or your own Tera template.
  • Billing: pace bill writes a client's bill, --mark-billed freezes it on an invoice, and --invoice shows the invoice again. pace protects billed entries against changes.
  • Your data stays yours: each device writes an append-only TOML log, which any editor can read. pace export writes entries as JSON or CSV, or into a SQLite file for SQL tools. pace doctor checks pace's files and data, and says how to fix each problem. pace config show --origin names where each setting comes from.
  • Two backends: a computer keeps its events in TOML files, the default, or in the SQLite database pace.sqlite, whose report tables serve SQL tools. pace store migrate --to sqlite moves the log into the database, and --to files moves it back. Each copies, checks every event, and only then switches. A database belongs to the computer that writes it, and a sync shares none of its events. After a restore onto another computer, pace store adopt hands the database over.
  • A log for bug reports: -v makes pace log a summary of each command to the standard error, -vv the decisions and reads, -vvv each file. The standard output stays as it is. A log never holds a note, a title or an amount.

From a project to its bill

$ pace client add acme --name "ACME Ltd" --currency EUR --rate 95 --rounding-step 15m
Added the client `acme` (ACME Ltd) in EUR at 95.00 an hour from 2026-10-01, rounding up to 15m per entry.
$ cd ~/code/shop && pace project init --client acme
Added the project `shop` (shop) for the client `acme`, billable.
Wrote the manifest .pace.toml, which links this directory to the project.
$ pace begin Write offer
Began 0d71 "Write offer" at 09:00.
$ pace end
Ended 0d71 "Write offer" at 11:10 after 2h 10m.
$ pace bill --month 2026-10
Bill for ACME Ltd: October 2026, Europe/Berlin

shop
  Date        Note          Hours       Rate      Amount
  2026-10-01  Write offer  2h 15m  95.00 EUR  213.75 EUR
  Total                    2h 15m             213.75 EUR

Total: 2h 15m billed of 2h 10m net, 213.75 EUR.
Hold time: 0s of 2h 10m (0%).
$ pace bill --month 2026-10 --mark-billed 2026-0042
Billed 1 entry on invoice 2026-0042: 2h 15m for 213.75 EUR.

The output leaves out the lines that name the defaults pace took and where the project came from.

Installation

With Homebrew on macOS and Linux:

brew install pace-rs/tap/pace-rs

With the shell installer on macOS and Linux:

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/pace-rs/pace/releases/latest/download/pace-rs-installer.sh | sh

With the PowerShell installer on Windows:

powershell -ExecutionPolicy Bypass -c "irm https://github.com/pace-rs/pace/releases/latest/download/pace-rs-installer.ps1 | iex"

The installation guide also covers the Windows installer package, updates, cargo-binstall, the archives and building from source.

Documentation

Contact

Ask questions in the Discussions or on Discord.

Contact Where?
Issue Tracker GitHub Issues
Discord pace on Discord
Discussions GitHub Discussions

Contributing

Found a bug? Open an issue, and attach the log of pace -vv (see troubleshooting). Got an idea for an improvement? Start a discussion, or send a pull request.

To work on pace, read the developer guide's getting started. In short:

  • just check runs formatting, clippy with warnings as errors, the tests and codegate's quality gates (.config/codegate.toml). just lists the other tasks (bench, cov, deny, hack).
  • After cloning, codegate setup installs the git hooks: pre-commit runs the fast gates, pre-push all of them.
  • pace's conventions are the project guide in .guides/pace/. Every source folder has a README.
  • Building pace needs Rust 1.100 or newer.
Crate Directory Content
pace-rs src/ the pace binary: commands, settings, project discovery, setup, output
pace_core crates/pace-core the domain without I/O: entries, rules, structure, tasks, goals, reports, bills
pace_store crates/pace-store the event store and its files and sqlite backends, the catalog's, task and goal files
pace_time crates/pace-time time frames, the --at grammar and durations, on jiff
pace_error crates/pace-error errors with fix hints and exit codes

A tag such as pace-rs-v0.16.0 releases pace. The developer guide's release process has the steps.

Code of Conduct

When you take part in this project, please follow the Rust Code of Conduct.

Acknowledgements

Some of pace's ideas come from these projects:

License

AGPL-3.0-or-later; see LICENSE.

About

Mindful Time Tracking: Simplify Your Focus and Boost Productivity Effortlessly.

Topics

Resources

Stars

24 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages