▍ humdrum codex / ticktock v0.0.2
license AGPL-3.0
3.1 KB raw

tt — a Charm-native front-end for tock

tt makes it easy to review, edit, and backfill time tracked with the tock CLI. tock stays the source of truth; tt only reads and writes through it.

Install

make install            # builds bin/tt, symlinks it into ~/.local/bin

Once published to the tap:

brew install humdrum/tap/tt

Requirements

tt menu's full-screen actions (watch/list/analyze) hand the terminal over to tock.

Commands

In the add/edit form, project, description, and tags autocomplete from your tock history (Ctrl+E accepts a suggestion). Values stay free text. History comes from the tock sqlite DB when that backend is active, otherwise from tock last.

Config

~/.config/ticktock/config.json (all optional):

key default meaning
slot_minutes 30 grid row height in minutes (min 5)
grid_start 07:00 earliest grid hour (auto-expands to data)
grid_end 21:00 latest grid hour (auto-expands to data)
project "" default project for a new entry

Build & test

make build      # -> bin/tt
make test
make vet

Release

Releases ship through custard to the self-hosted Homebrew tap. Config lives in .custard.yaml (source build, depends_on "go"). Push main first, then from the repo root:

custard release v0.1.0

custard runs the CI checks, tags the commit, pushes it, and the forge renders Formula/tt.rb into the tap. Install requirements (tock, sqlite) live under Requirements — the auto-formula does not repeat them.

License

AGPL-3.0-or-later. See LICENSE.