A small and simple terminal timer written in Go.
Perfect for Pomodoro sessions, quick countdowns, or reminders – right from your shell.
- Start countdown timers with flexible durations (
25m,90s,1h5m, …) - Millisecond precision display (optional)
- Terminal bell and desktop notification when time is up
- Show the current time (
nowcommand) - Cancel timers anytime with
CTRL+C
git clone https://github.com/0hlov3/timerctl.git
cd timerctl
go build -o timerctl .timerctl nowExample output:
Friday, 03-Oct-25 21:44:39 CESTtimerctl set 25mtimerctl set 90s --no-mstimerctl set 10s --tick 200ms --beep| Flag | Description | Default |
|---|---|---|
--tick |
Update interval (100ms, 1s, …) |
100ms |
--no-ms |
Do not display milliseconds | false |
--beep |
Ring terminal bell & show desktop notify | false |
When --beep is enabled, timerctl:
- Rings the terminal bell
- Sends a system notification (via beeep)
go test ./...The CLI is built with Cobra.
nix build .#defaultnix run . -- set 10s --beepnix develop
go test ./...
go run . stopwatch --max 5s --bar