DEV Community

Sepand Haghighi
Sepand Haghighi

Posted on

MyTimer: A Geeky Timer for Terminal Enthusiasts

Github Repo

Overview

MyTimer is a Python project that aims to provide a simple yet efficient timer for terminal users, particularly targeting the geek community. This project allows users to set timers directly from their command line interface, making it convenient for those who spend a significant amount of time working in the terminal! The main objective of MyTimer is to offer a minimalistic and distraction-free timer experience. It provides a clean and straightforward interface, ensuring that users can focus solely on tracking time without any unnecessary clutter or distractions.

Installation

Source Code

PyPI

Demo

Usage

⚠️ You can use mytimer or python -m mytimer to run this program

Version

mytimer --version
Enter fullscreen mode Exit fullscreen mode

Basic

⚠️ Press Ctrl + C to exit

mytimer
Enter fullscreen mode Exit fullscreen mode

Time Limit

mytimer --minute=7 --second=30
Enter fullscreen mode Exit fullscreen mode
mytimer --hour=2 --minute=20
Enter fullscreen mode Exit fullscreen mode

Timer Mode

⚠️ The default mode is count-up

mytimer --minute=7 --second=30 --countdown
Enter fullscreen mode Exit fullscreen mode
mytimer --minute=7 --second=30 --countup
Enter fullscreen mode Exit fullscreen mode

Alarm

⚠️ This mode may not be supported on all systems

mytimer --minute=7 --second=30 --alarm
Enter fullscreen mode Exit fullscreen mode

Alarm Repeat

⚠️ The default value is 1

mytimer --minute=7 --second=30 --alarm --alarm-repeat=5
Enter fullscreen mode Exit fullscreen mode

Tone

⚠️ The default tone is 1

mytimer --minute=7 --second=30 --alarm --tone=2
Enter fullscreen mode Exit fullscreen mode

Face

mytimer --minute=7 --second=30 --face=3
Enter fullscreen mode Exit fullscreen mode

Program

mytimer --program=black-tea
Enter fullscreen mode Exit fullscreen mode

Message

mytimer --minute=7 --second=30 --message="Test message"
Enter fullscreen mode Exit fullscreen mode

Show your support

Give a ⭐️ if this project helped you!

Top comments (0)