Skip to content

Latest commit

 

History

29 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Countdown


Countdown Demo

Install

brew install countdown
go install github.com/antonmedv/countdown@latest

Or download prebuilt binary from releases.

Usage

Specify duration in Go format 1h2m3s or a target time: 02:15pm, 14:15.

countdown 25s
countdown 11:32

Add a command with && to run after the countdown.

countdown 1m30s && say "Hello, world"

Count from up from the zero.

countdown -up 30s

Announce (via macOS say command) last 10 seconds.

countdown -say 10s

Display a title below the countdown timer.

countdown -title "Hello, world" 30s

Key binding

  • Space: Pause/Resume the countdown.
  • Esc or Ctrl+C: Stop the countdown without running the next command.

Related

  • fx – terminal JSON viewer
  • walk – terminal file manager
  • howto – terminal command LLM helper

License

MIT

About

Terminal countdown timer

Resources

Stars

1.3k stars

Watchers

16 watching

Forks

Releases

Used by

Contributors

Languages