Skip to content

Added the Countdown time CLI program#583

Open
sraghav42 wants to merge 1 commit into
josharsh:masterfrom
sraghav42:feat--Add-Countdown-Timer-CLI
Open

Added the Countdown time CLI program#583
sraghav42 wants to merge 1 commit into
josharsh:masterfrom
sraghav42:feat--Add-Countdown-Timer-CLI

Conversation

@sraghav42

Copy link
Copy Markdown

Add Countdown Timer CLI

Adds a lightweight, pure Python Countdown Timer CLI in under 100 lines (67 lines total). Perfect for focus sessions and Pomodoro timers directly from the terminal.

Features:
- Zero dependencies: Uses only the standard library (sys, time, re).
- Flexible inputs: Supports pure seconds (120), MM:SS (2:30), and
shorthand (5m, 45s).
- Live UI: Uses carriage returns (\r) for in-place terminal updates.
- Clean exit: Gracefully handles Ctrl+C and rings the terminal bell
(\a) when time is up.

Files Added:
- Countdown Timer CLI/main.py
- Countdown Timer CLI/README.md

@github-actions github-actions Bot added documentation Improvements or additions to documentation python Pull requests that update Python code labels Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant