tomato-clock

Tomato Clock is a straightforward command-line Pomodoro application.


Keywords
pomodoro, tomato, tomato-timer, terminal, terminal-app, pomodoro-timer, python
License
MIT
Install
pip install tomato-clock==0.1.2

Documentation

🍅 Tomato Clock

Publish to PyPI PyPI tomato-clock

Tomato Clock is a straightforward command-line Pomodoro application.

Installation

Install python

  • Install via pip:
pip install tomato-clock
  • Install via source code:
git clone https://github.com/coolcode/tomato-clock.git
cd tomato-clock
chmod +x tomato.py 

How to use

  • if you install via pip
tomato         # start a 25 minutes tomato clock + 5 minutes break
tomato -t      # start a 25 minutes tomato clock
tomato -t <n>  # start a <n> minutes tomato clock
tomato -b      # take a 5 minutes break
tomato -b <n>  # take a <n> minutes break
tomato -h      # help
  • if you install via source code
./tomato.py         # start a 25 minutes tomato clock + 5 minutes break
./tomato.py -t      # start a 25 minutes tomato clock
./tomato.py -t <n>  # start a <n> minutes tomato clock
./tomato.py -b      # take a 5 minutes break
./tomato.py -b <n>  # take a <n> minutes break
./tomato.py -h      # help

Terminal Output

🍅 tomato 25 minutes. Ctrl+C to exit
 🍅🍅---------------------------------------------- [8%] 23:04 ⏰ 

Desktop Notification

  • MacOS
brew install terminal-notifier 

terminal-notifier actually is a cross-platform desktop notifier, please refer to ➜ terminal-notifier

terminal-notifier

  • Ubuntu

notify-send

ubuntu-notification

Voice Notifications

Tomato Clock uses say(text-to-speech) for voice notifications.

  • MacOS

MacOS already has say. see here or more detail

  • Ubuntu

See this link: say

sudo apt-get install gnustep-gui-runtime
  • Windows

Check this one: https://github.com/SeanBracksDev/tomato-clock