Dead Simple CLI Timer (dstimer)
A dead-simple, cross-platform CLI countdown timer with color-changing progress bar and optional audio playback on finish.
Written in Rust for maximum efficiency and portability.

Features
- Centered, full-width progress bar that shifts green → yellow → red as time runs out
- Fullscreen (default) or inline mode
- Interactive time entry (HH:MM:SS)
- Optional audio file playback when the timer completes
Usage
Fullscreen mode
| Flag | Short | Description |
|---|---|---|
--time |
-t |
Duration in HH:MM:SS, MM:SS, or SS format |
--seconds |
-s |
Duration in seconds |
--audio |
-a |
Path to audio file to play on finish |
--inline |
-i |
Inline mode (see below) |
--silent |
Suppress desktop notifications |

Interactive mode (no arguments):
You'll be prompted to enter a duration and an optional audio file path.

Inline mode (--inline / -i):
Renders the timer on the current terminal line instead of taking over the full screen. Useful for scripts, split panes, or when you want the rest of your terminal history visible.

Install
macOS / Linux:
|
Windows (PowerShell):
irm https://raw.githubusercontent.com/madLinux7/dead-simple-cli-timer/main/install.ps1 | iex
Via Cargo (requires Rust):
Supported Audio Formats
MP3, FLAC, WAV, OGG, and anything else supported by Symphonia.
Build from Source
Requires Rust 1.70+.
Contributing
Contributions are always welcome! If you want to help, here's the workflow:
- Fork the repo and create a feature branch
cargo clippyandcargo fmtbefore opening a PR- Follow the existing commit style:
feat:,fix:,chore:,refactor:
No formal issue template — just open one if you want to discuss an idea first.
✨ Acknowledgements ✨
dstimer couldn't be dead simple without the efforts of some great open-source projects:
- clap — CLI argument parsing
- crossterm — cross-platform terminal manipulation
- rodio — audio playback
- Symphonia — audio decoding (MP3, FLAC, WAV, OGG, ...)
- ctrlc — Ctrl+C signal handling
- notify-rust — desktop notifications on Linux & Windows
- winresource — embedding the app icon on Windows
And a special shoutout to VHS by Charm for making it dead simple to record bootyful terminal GIFs straight from a script ♥️
Support Me
If you like using dstimer in your daily routine, consider buying me a coffee or sending a tip:
Ko-fi · Bitcoin · Monero · Ethereum · Solana · Litecoin · Cardano · XRP
Made with ♥️ by Linus Grolmes