A fast, beautiful terminal UI for tracking time — built with Bubble Tea, Lip Gloss, and a pure-Go SQLite backend.
Track time entries, manage clients and projects, set billing rates, mark work as invoiced/paid, and generate income reports — all without leaving your terminal.
- Timer tracking — start/stop timers on tasks, see the live elapsed time in the tab bar on every tab
- Clients & Projects — full CRUD on one tab: the clients with this month's hours, earnings and unbilled, and the selected client's projects beside them
- Billing rates — set an hourly rate per client; earnings calculated automatically
- Invoice & payment tracking — mark entries as invoiced and/or paid
- Reports — hours, earned, outstanding and unbilled for any range, hours by day, each client with its projects, and CSV export
- Pure Go — no CGo, no C compiler needed; cross-compiles trivially
- Single binary — one file, zero runtime dependencies
curl -fsSL https://raw.githubusercontent.com/aliasproject/notch/main/install.sh | shDownloads the latest release for your OS/arch and installs it to /usr/local/bin (or ~/.local/bin if that isn't writable).
git clone https://github.com/aliasproject/notch
cd notch
go build -o notch .
sudo mv notch /usr/local/bin/- Go 1.26+
notch -v # print the installed version
notch version --json # version, commit, date, Go version, and build source
notch upgrade --check # see whether a newer release exists
notch upgrade # download and install it in placeupgrade fetches the latest GitHub release for your OS/arch, verifies it against the release's checksums.txt, and swaps the running binary for it. If notch lives somewhere you can't write to (e.g. /usr/local/bin), run sudo notch upgrade. A binary built from source reports dev and is left alone unless you pass --force. notch update still works as an alias.
notchThe database is stored at ~/.local/share/notch/notch.db by default.
Override with the NOTCH_DB environment variable:
NOTCH_DB=/path/to/custom.db notchnotch status prints the currently-running timer (or nothing, if idle) to stdout and exits — no daemon required, it just reads the same database the TUI uses (respecting NOTCH_DB), so it works whether or not the TUI is currently open. Useful for piping into a shell prompt, status bar, or any script that wants to know what's running right now.
notch status # plain text
notch status -json # JSONPlain text looks like ⏱ Build feature · 1:23:45 when a timer is running, and is empty when idle.
Beyond status, notch has a few more one-shot subcommands for driving it from scripts or a status-bar plugin without opening the TUI. Like status, none of them start a daemon — they just open the database, do one thing, and exit.
notch clients # list all clients, one per line: "<id>\t<name>"
notch clients -json # same, as JSON: [{"id":1,"name":"Acme","hourlyRate":85,"monthSeconds":36000,"monthEarned":850,"unbilled":1240}, ...]
notch clients add --name "Acme Co" [--rate 85] [-json] # add a client (rate defaults to 0)
notch clients edit --id <n> [--name "Acme Inc"] [--rate 92.50] [-json]
notch clients delete --id <n> [--yes] [-json] # with its projects and their entries
notch projects # list all projects, one per line: "<id>\t<client> › <project>\t<total>"
notch projects -json # same, as JSON: [{"id":1,"name":"Website","clientId":1,"clientName":"Acme","totalSeconds":123,"monthSeconds":36000,"monthEarned":850,"unbilled":1240}, ...]
notch projects add --client <id> --name "Website" [-json]
notch projects edit --id <n> [--name "Site"] [--client <id>] [-json] # --client moves it, entries and all
notch projects delete --id <n> [--yes] [-json] # with its entries
notch tasks # list recently-used (project, task) pairings, most recent first
notch tasks -json # same, as JSON: [{"projectId":1,"projectName":"Website","clientName":"Acme","task":"Meeting","totalSeconds":123,"entryCount":4,"invoicedCount":1,"paidCount":0}, ...]
notch entries --project <id> --task "Meeting" [-json] [--limit 20] # one task's sessions, newest first, with invoiced/paid
notch entries [--from 2026-12-01] [--to 2026-12-07] [--query "login"] [--project <id>] [-json] [--limit n] # a date range, newest first
notch entries -json # entries as JSON: [{"id":3,"projectId":2,"projectName":"API","clientId":2,"clientName":"Globex","task":"Rate limits","startTime":"…","endTime":"…","durationSeconds":1800,"hourlyRate":120,"earned":60,"invoiced":false,"paid":false}, ...]
notch summary # time tracked today and this week (Monday start): "today\t<total>\nweek\t<total>"
notch summary -json # same, as JSON, with money: {"todaySeconds":5400,"weekSeconds":28800,"earnedToday":127.5,"earnedWeek":680,"unbilled":1240,"outstanding":360}
notch report [--range today|week|month|year|all] [--from 2026-12-01] [--to 2026-12-07] # a range's totals, then each client and project (default: this month)
notch report -json # same, as JSON: {"from":"2026-12-01","to":"2026-12-03","seconds":22200,"entries":3,"invoiced":1,"paid":0,"earned":480,"averageRate":77.84,"outstanding":300,"unbilled":180,"unbilledEntries":2,"days":[{"date":"2026-12-01","seconds":9000}, ...],"clients":[{"id":1,"name":"Harbor & Pine","hourlyRate":120,"seconds":14400,"entries":2,"invoiced":1,"paid":0,"earned":480,"projects":[{"id":2,"name":"Booking app","seconds":5400,...}, ...]}, ...]}
notch report --csv # one row per entry, oldest first, for invoicing: date,start,end,duration,hours,client,project,task,notes,hourly_rate,earned,invoiced,paid
notch start --project <id> [--task "description"] [--notes "notes"] # stop whatever's running, start a new timer
notch start --task "Logo explorations @Fieldnote Studio/Brand refresh" # place it as you type: @client or @client/project
notch start --task "Kickoff call @Acme" --start "2026-12-03 09:00" --end "2026-12-03 10:30" # log time after the fact
notch stop # stop whatever's running (no-op if idle)
notch edit [--id <n>] [--task "t"] [--client-name c] [--project-name p] [--notes "n"] [--start t] [--end t] # one entry (default: the running one)
notch edit --from-project <id> --from-task "t" [--task "new"] [--client-name c] [--project-name p] # every entry of one task
notch edit --id <n> --invoiced [--paid] [-json] # mark one entry invoiced (and paid); -json prints the entry
notch edit --from-project <id> --from-task "t" --paid [-json] # mark a whole task paid; -json prints its entries
notch delete # discard the running entry
notch delete --id <n> # delete one entry
notch delete --project <id> --task "t" # delete every entry of one task, the running one includedIn clients -json and projects -json, monthSeconds and monthEarned are this calendar month's finished time and its value at the client's current rate, clipped to the 1st at local midnight like summary's totals; unbilled is every finished entry not yet invoiced, from any date, the same as summary's. All three leave out the running timer, and a client's are its projects' added up, rounded to cents once. --rate takes a plain number from 0 to 1,000,000 (85, 92.50; not $85). Client names are unique, and so are project names within a client: a clash is an error, not a merge. Names can't be empty or contain tabs or line breaks. delete refuses, saying how many entries would go (and whether the running timer is one of them), when a client or project has tracked entries, unless you pass --yes; with none it deletes straight away, a client's empty projects included. -json on add and edit prints the result in the list's shape; on delete, {"id":1,"projects":2,"entries":14}.
report covers the entries that started on the range's local dates, like entries --from/--to, so a timer that runs past midnight counts on its start day; it leaves out the running timer until it stops. --range presets end today (week starts on Monday); all, or leaving out --from or --to, opens that side. -json's outstanding is the range's invoiced-but-unpaid earnings and unbilled its not-yet-invoiced ones (unlike summary's, which cover every date), and averageRate is earned over the hours. days lists every date of the range, 0 for a day with no time; an open side starts or ends at the first or last entry instead, and a span longer than a year lists only the dates from the first entry to the last. Times are in seconds, like the other commands' JSON. The TUI's Reports tab uses the same code, so for the same range its cards, bars and table show the numbers report -json prints. Money is at each client's current rate, rounded to cents once per row, so a client's earned can differ by a cent from adding up its projects'. In --csv, start and end are local date and time (an entry can end the next day), hours is rounded to two places, and a cell that a spreadsheet would read as a formula (starting, after any spaces, with =, +, -, @, a tab or a carriage return) gets a leading apostrophe, which stays in the text if you import the file elsewhere.
Without --task, entries lists every entry whose local start date falls in --from…--to (either side optional; neither means all time), like the TUI's Timers list, so a late-night timer counts on the day it started; --query keeps tasks containing the text, ignoring case. earned is the entry's time at its client's current hourly rate, rounded to cents, and counts the running entry's time so far, which summary's totals leave out (add it yourself, as with the seconds). summary counts finished entries only, clipped to local day and week boundaries, so a status bar can add the running entry's elapsed time itself and tick locally (clipping it to local midnight and to Monday if it started before them). Its earnedToday and earnedWeek are clipped the same way; unbilled is every finished entry not yet invoiced and outstanding every one invoiced but not paid, from any date (the TUI's Reports card "Outstanding" is both together). Totals are rounded to cents once, so show these rather than adding up each entry's earned, which can differ by a cent. The plain-text summary is unchanged. edit --start/--end take RFC3339 or local YYYY-MM-DD HH:MM, with the same rules as the TUI's edit form (the end can't be before the start), and neither can be in the future; --notes "" clears notes. A whole-task edit renames and/or moves the task, merging it into an existing one if the result matches. --invoiced and --paid take =true or =false (write the =: --invoiced false is rejected) and follow the TUI's rules: an entry is paid only once it's invoiced, so --paid on an uninvoiced entry fails unless you pass --invoiced too; --invoiced=false also clears paid; and a running timer can't be invoiced or paid unless the same edit gives it an --end. A rejected edit changes nothing, on one entry or a whole task. The one exception is a timer that another process starts in the task mid-edit, which can leave behind a client or project created by --client-name or --project-name. A whole-task edit -json lists every entry of the resulting task, including any it merged into. delete doesn't prompt: callers confirm first. Edits and deletes that match nothing exit non-zero.
Starting a timer stops any running one in the same write, the same as the TUI does: only one timer runs at a time. A task ending in @client or @client/project goes there, finding the client and project by name (ignoring case) or creating them, like --client-name and --project-name; @client alone uses the client's name for the project too. The placement goes last and runs to the end of the text. An @ inside a word (bob@example.com) or followed by a space stays in the task, and a client whose name holds a / needs --client-name. With --project, --client-name or --project-name, the task is kept exactly as typed.
--start logs time after the fact. On its own it starts a timer that began then, and the running timer stops at that time, so no time is counted twice; a start before the running timer's own start is refused. With --end it records a finished entry and leaves any running timer alone. Both take edit's formats and rules: neither can be in the future, and the end can't be before the start. A start refused for its times creates nothing, not even the client its task names. Like the other commands, start rejects a stray argument, so quote a task with spaces. --notes is saved with the entry. (The TUI's new-timer form doesn't save notes for a brand-new entry yet.)
One exception to the "one-shot, exits immediately" rule above: notch watch runs until killed, printing a line to stdout each time another process writes to the database. It exists for a consumer with no way to hold its own SQLite connection open and check for changes cheaply (e.g. a status-bar widget) — see internal/db/watch.go's doc comment for why a bare filesystem watch on the WAL files can't tell a real write apart from another process just reading, and self-triggers if you try.
On aliasOS, Notch follows the desktop theme: it reads the active theme's colors.toml from $XDG_STATE_HOME/aliasos/current/theme/ (~/.local/state/aliasos/current/theme/ if XDG_STATE_HOME isn't set), or from ~/.config/aliasos/current/theme/ on older aliasOS installs, and recolors itself live when you switch themes. Shades a theme sets too dark to read on its background are lifted to WCAG AA contrast (4.5:1 for text on both the background and the selected-row background, 3:1 for borders). Without aliasOS, Notch uses the built-in palette below.
Either way, a config file overrides any color, and it always wins.
Create theme.conf in your config directory — $XDG_CONFIG_HOME/notch/theme.conf, or ~/.config/notch/theme.conf if XDG_CONFIG_HOME isn't set:
# theme.conf — any line omitted keeps the built-in default
primary = #91B0DE
accent = #9DC6E9
success = #99C2ED
warning = #A4CBF7
danger = #C79EA9
text = #C2D9E9
dim = #B7D2E5
subtle = #899EAC
bg = #0D171F
bg_alt = #252E35
border = #5F6468
highlight = #AFCFFF
backdrop = #3E464C
- Colors must be 6-digit hex (
#RRGGBB). Unknown keys and invalid values are ignored; anything you don't set comes from the desktop theme, or the default shown above. - Lines starting with
#are comments; blank lines are ignored. - Changes are picked up automatically while Notch is running — no restart needed. Deleting the file reverts to the desktop theme, or the built-in default without one.
Notch's built-in colours, layout sizes and glyphs live in one file, design/tokens.json. Each token has a name, a value and a usage note, in lists by family (color, spacing, glyph and so on). No colour is hard-coded anywhere else, and CI checks that. The status glyphs (○ ◐ ● ▶) are set for the TUI redesign and aren't drawn yet. To change a token, edit the file and regenerate:
go run ./design/build
That rewrites the generated files (marked as generated; never edit them by hand): internal/theme/tokens_gen.go, internal/ui/layout_gen.go, landing/tokens.js, landing/tokens.css, and the theme.conf samples in this README and on the landing page.
go run ./design/build -check, which CI runs, fails if a generated file is out of date, if a text and background pair listed under contrast in the token file misses WCAG 2.2 AA (4.5:1 for text, 3:1 for borders), or if a colour is hard-coded in the Go code or the landing page's own files.
- Press 2 to go to the Clients tab → press n to create a client and set a billing rate
- Press a to add a project to the selected client
- Press 1 to go to the Timers tab → press n to start a new timer
- Press space to stop/restart a timer
- Press 3 to view Reports
| Key | Action |
|---|---|
1 |
Switch to Timers tab |
2 |
Switch to Clients tab |
3 |
Switch to Reports tab |
? |
Show every key |
q / ctrl+c |
Quit |
| Key | Action |
|---|---|
↑ / k |
Move cursor up |
↓ / j |
Move cursor down |
n |
New timer (opens form, starts immediately on save) |
e |
Edit selected entry |
d |
Delete selected entry (prompts confirmation) |
space |
Start / stop selected entry's timer |
i |
Toggle invoiced status |
p |
Toggle paid status (entry must be invoiced first) |
r |
Resume: start the selected entry's task again |
t / w / m / a |
Range: today, this week, this month, all time |
y |
Range: yesterday |
f |
Range: custom dates |
enter |
Compact layout (under 120 columns, or under 23 rows): open the selected entry's details |
esc |
Cancel / back |
| Key | Action |
|---|---|
tab / shift+tab |
Move between fields |
↑ / ↓ |
Cycle through projects (when Project field is focused) |
enter |
Confirm field / save form |
esc |
Cancel |
The clients, each with its rate and this month's hours, earned and unbilled (unbilled counts every month), beside the selected client's projects, its rate, start date, all-time totals and unbilled. Below 120 columns the list takes the whole width, and → opens the projects in its place.
| Key | Action |
|---|---|
↑ / k, ↓ / j |
Move through the clients, or the projects in the projects pane |
n |
New client (name and hourly rate) |
a |
Add a project to the selected client |
e |
Edit the selected client, or in the projects pane the selected project (rename, or move to another client) |
d |
Delete the selected client (with its projects and entries), or in the projects pane the selected project (with its entries); both ask first |
→ / enter |
Into the selected client's projects |
enter |
In the projects pane: edit the project, or add one on "+ Add project" |
← / esc |
Back to the clients |
| Key | Action |
|---|---|
tab / shift+tab |
Move between fields and buttons |
↑ / ↓ |
Suggestions (when the project form's Client field has focus) |
enter |
Save |
esc |
Cancel |
| Key | Action |
|---|---|
↑ / k |
Move cursor up |
↓ / j |
Move cursor down |
t / w / m / y / a |
Range: today, this week, this month, this year, all time |
f |
Range: custom dates (opens a form; blank leaves a side open) |
e |
Export the range's entries as CSV to your downloads folder |
enter |
Show the entries behind the selected client or project |
In the entries list, e edits the selected entry and esc goes back.
| Key | Action |
|---|---|
tab / shift+tab |
Move between From, To and the buttons |
enter |
Apply |
esc |
Cancel |
| Entity | Fields |
|---|---|
| Client | Name, Hourly Rate ($/hr) |
| Project | Name, Client |
| Entry | Task, Project, Start time, End time, Notes, Invoiced, Paid |
Deleting a client cascades to all its projects and time entries.
Deleting a project cascades to all its time entries.
The TUI, the CLI, notch watch and the bar panel can all have the database open at once. SQLite lets one of them write at a time, so a write waits up to 5 seconds for another to finish rather than failing with database is locked.
The Reports tab covers the finished entries that started in the chosen range (this month when it opens), with the same code as notch report, so the numbers match notch report -json for the same range. The running timer counts once it stops. It shows:
- Stat cards — the range's hours and entries, what they earned (and the average rate), what's outstanding (invoiced, not paid) and what's unbilled (not invoiced yet)
- By day — hours as bars, each with its hours written under it; a range with more days than fit shows a bar per week, month or year instead
- By client and project — each client, with its projects under it: hours, how many entries are invoiced and paid, and earned (hours × the client's current rate)
e exports the range's entries as CSV, the same rows as notch report --csv, to your downloads folder (XDG_DOWNLOAD_DIR, else ~/Downloads, else your home folder, skipping one it can't write to). Only you can read the file, since it holds earnings and notes. It is named for the range, such as notch-2026-11-30-to-2026-12-03.csv; if that name is taken, the export gets (2), (3) and so on, so it never overwrites a file. The status line shows where it went.
notch/
├── main.go # Entrypoint, DB init, program launch, `status` subcommand
├── design/
│ ├── tokens.json # Design tokens: the only source for colours, sizes, glyphs
│ └── build/ # `go run ./design/build` writes the generated files below
├── landing/
│ ├── index.html # Landing page (GitHub Pages)
│ └── tokens.js, tokens.css # Generated from design/tokens.json
└── internal/
├── model/
│ └── model.go # Domain types: Client, Project, Entry, ReportRow
├── db/
│ └── db.go # SQLite persistence (modernc.org/sqlite, pure Go)
├── theme/
│ ├── theme.go # Palette type, desktop theme and theme.conf loading, live reload
│ └── tokens_gen.go # Generated: the built-in palette, glyphs and TUI layout sizes
├── status/
│ └── status.go # `notch status` output formatting (text/JSON)
└── ui/
├── app.go # Root Bubble Tea model, tab router, tab bar and hotkey line
├── styles.go # Layout helpers (content width and padding)
├── layout_gen.go # Generated: layout constants (max width, chrome rows)
└── views/
├── common.go # Shared types, messages, styles, key maps, helpers
├── timers.go # Timers tab — list, start/stop, edit, invoice/pay
├── timers_view.go # Timers list screen: hero, range chips, day groups, detail pane
├── clients.go # Clients tab — clients with their totals beside the selected client's projects
├── projects.go # Project form and delete confirm, opened from the Clients tab
├── reports.go # Reports tab — ranges, custom range form, entries behind a row
├── reports_view.go # Reports screen: range chips, stat cards, hours bars, client table
├── reports_export.go # Reports CSV export to the downloads folder
└── money.go # Fitting amounts to a column without cutting them
| Package | Purpose |
|---|---|
github.com/charmbracelet/bubbletea |
TUI framework (Elm architecture) |
github.com/charmbracelet/bubbles |
Ready-made components (textinput, etc.) |
github.com/charmbracelet/lipgloss |
Terminal styling and layout |
modernc.org/sqlite |
Pure-Go SQLite (no CGo) |
MIT
Every push and pull request runs the ci workflow: gofmt -l, go vet, and go test. Releases are cut by pushing a version tag. The release GitHub Actions workflow runs GoReleaser, which builds linux/darwin/windows × amd64/arm64 binaries, stamps the version into notch -v, and publishes the archives, checksums.txt, and a changelog to a GitHub release. install.sh and notch upgrade both pull from those assets.
git tag v0.8.0
git push origin v0.8.0