README.md
April 23, 2026 · View on GitHub
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.
| PyPI Counter | |
| Github Stars |
| Branch | main | dev |
| CI |
| Code Quality |
Installation
Source Code
- Download Version 2.6 or Latest Source
pip install .
PyPI
- Check Python Packaging User Guide
pip install mytimer==2.6
Usage
ℹ️ You can use mytimer or python -m mytimer to run this program
Version
mytimer --version
Info
mytimer --info
Basic
ℹ️ Press Ctrl + C to exit
mytimer
Time Limit
mytimer --minute=7 --second=30
mytimer --hour=2 --minute=20
Timer Mode
ℹ️ The default mode is countdown
mytimer --minute=7 --second=30 --countdown
mytimer --minute=7 --second=30 --countup
Repeat
ℹ️ The default value is 1
mytimer --repeat=3 --second=4
- Use
--repeat=-1for infinite loop
Alarm
⚠️ This mode may not be supported on all systems
mytimer --minute=7 --second=30 --alarm
Alarm Repeat
ℹ️ The default value is 1
mytimer --minute=7 --second=30 --alarm --alarm-repeat=5
Tone
ℹ️ The default tone is 1
mytimer --minute=7 --second=30 --alarm --tone=2
- Use
--tone=-1for random mode - Use
--test-tonefor test - Tones List
Face
mytimer --minute=7 --second=30 --face=3
- Use
--face=-1for random mode - Faces List
mytimer --faces-list
Vertical/Horizontal Shift
ℹ️ The vertical and horizontal shift both have default values of 0
mytimer --v-shift=20 --h-shift=30
Timer Sign
ℹ️ Valid choices: ["", "+", "-"]
mytimer --sign="+"
Keep on
In this mode, the timer will continue running after it times out
mytimer --minute=5 --keep-on
Hide Second
In this mode, the timer seconds counter will not be shown
mytimer --minute=6 --hide-second
Hide Date/Time
In this mode, the date/time will not be shown
mytimer --minute=20 --hide-datetime
Date System
ℹ️ Valid choices: [gregorian, jalali]
ℹ️ The default date system is gregorian
mytimer --minute=20 --date-system=jalali
Vertical Mode
mytimer --minute=5 --vertical
Set on
⚠️ Local time
In this mode, the timer sets on the given time. For example, here we set a timer for 15:05:
mytimer --hour=15 --minute=5 --set-on
Program
mytimer --program=black-tea
- Programs List
mytimer --programs-list
Message
mytimer --minute=7 --second=30 --message="Test message"
Color
⚠️ This mode may not be supported on all systems
ℹ️ Valid choices: [black, red, green, yellow, blue, magenta, cyan, white, lightblack, lightred, lightgreen, lightyellow, lightblue, lightmagenta, lightcyan, lightwhite, random]
ℹ️ The default color is white
mytimer --minute=7 --second=30 --color="red"
Background Color
⚠️ This mode may not be supported on all systems
ℹ️ Valid choices: [black, red, green, yellow, blue, magenta, cyan, white, lightblack, lightred, lightgreen, lightyellow, lightblue, lightmagenta, lightcyan, lightwhite, random]
ℹ️ The default background color is black
mytimer --minute=7 --second=30 --bg-color="blue"
Intensity
⚠️ This mode may not be supported on all systems
ℹ️ Valid choices: [normal, bright, dim, random]
ℹ️ The default intensity is normal
mytimer --minute=7 --second=30 --intensity="bright"
Screen Record
Issues & Bug Reports
Just fill an issue and describe it. We'll check it ASAP!
- Please complete the issue template
References
1- Mixkit Free Alarm Sound Effects
2- Online Timer
3- Media College
4- Pomodoro Technique
5- The Rule of 52 and 17: It's Random, But it Ups Your Productivity
6- Desktime’s Productivity Research: An Overview of Our Finds Throughout the Years
7- AnimeDoro Timer
8- Know Your Tea: Your Guide to Tea Steeping Time
9- How Long to Steep Tea: A Complete Guide
10- How Long to Steep French Press: Mastering the Perfect Brew
11- Freesound
12- Online Timer with Alarm and Sound
Show Your Support
Star This Repo
Give a ⭐️ if this project helped you!
Donate to Our Project
Bitcoin
1KtNLEEeUbTEK9PdN6Ya3ZAKXaqoKUuxCyEthereum
0xcD4Db18B6664A9662123D4307B074aE968535388Litecoin
Ldnz5gMcEeV8BAdsyf8FstWDC6uyYR6pgZDoge
DDUnKpFQbBqLpFVZ9DfuVysBdr249HxVDhTron
TCZxzPZLcJHr2qR3uPUB1tXB6L3FDSSAx7Ripple
rN7ZuRG7HDGHR5nof8nu5LrsbmSB61V1qqBinance Coin
bnb1zglwcf0ac3d0s2f6ck5kgwvcru4tlctt4p5qefTether
0xcD4Db18B6664A9662123D4307B074aE968535388Dash
Xd3Yn2qZJ7VE8nbKw2fS98aLxR5M6WUU3sStellar
GALPOLPISRHIYHLQER2TLJRGUSZH52RYDK6C3HIU4PSMNAV65Q36EGNLZilliqa
zil1knmz8zj88cf0exr2ry7nav9elehxfcgqu3c5e5Coffeete