LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

termdown

Terminal countdown timer and stopwatch

TLDR

Countdown timer
$ termdown [5m]
copy
Countdown to time
$ termdown [14:30]
copy
With title displayed above the timer
$ termdown -T "[Break time]" [10m]
copy
Blink at end
$ termdown -b [5m]
copy
Spoken countdown using text-to-speech
$ termdown -v [Alex] [5m]
copy
Critical time warning (last N seconds in red)
$ termdown -c [10] [5m]
copy
Stopwatch mode (count up, no time argument)
$ termdown
copy
Use alternate colon-separated format
$ termdown -a [5m]
copy

SYNOPSIS

termdown [-t text] [-b] [-v voice] [options] time

DESCRIPTION

termdown displays countdown timers and stopwatches in the terminal using large figlet-style text for high visibility. It accepts time in various formats including seconds, minutes (e.g., 5m), hours (e.g., 1h30m), or a specific target time (e.g., 14:30).The timer can use text-to-speech (via espeak or macOS say) for spoken countdown, blink the display, and show a custom title. A critical threshold option changes the display color when time is running low. If no TIME is given, it operates in stopwatch mode and counts upward.

PARAMETERS

-t TEXT, --text TEXT

Text to display at end of countdown.
-b
Blink at zero.
-v VOICE, --voice VOICE
Spoken countdown using text-to-speech (requires espeak on Linux or say on macOS).
-c SEC, --critical SEC
Draw final N seconds in red and announce individually with --voice (defaults to 3).
-f FONT, --font FONT
Figlet font name or path to OTF/TTF file.
-s, --no-seconds
Don't show seconds until critical threshold.
-a, --alt-format
Use colon-separated time format.
-B, --no-bell
Don't ring terminal bell at end of countdown.
-T TITLE, --title TITLE
Text to display on top of countdown/stopwatch.
-q N, --quit-after N
Quit N seconds after countdown reaches zero.
-o PATH, --outfile PATH
File to write current remaining/elapsed time to.
--exec-cmd CMD
Run CMD every second during countdown.
--no-figlet
Don't use ASCII art for display.

CAVEATS

Terminal display only. Figlet fonts are optional but recommended for large visible text. The --voice option requires espeak on Linux or say on macOS.

HISTORY

termdown was created as a terminal countdown timer with large figlet-style display for visibility.

SEE ALSO

figlet(1), watch(1), sleep(1)

Copied to clipboard
Kai