Skip to content

πŸ… Tomato Clock is a straightforward command-line Pomodoro application. https://en.wikipedia.org/wiki/Pomodoro_Technique

License

Notifications You must be signed in to change notification settings

coolcode/tomato-clock-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ… Tomato Clock (Rust)

Test Release

Tomato Clock is a straightforward command-line Pomodoro application.

πŸ’‘ This source code was primarily generated by ChatGPT through a simple conversion from Python to Rust.

Installation

  • Install via source code:
git clone https://github.com/coolcode/tomato-clock-rs.git
cd tomato-clock-rs
cargo build --release
cd target/release
./tomato -t 

How to use

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

Terminal Output

πŸ… tomato 25 minutes. Ctrl+C to exit
 πŸ…πŸ…---------------------------------------------- [8%] 23:04 ⏰ 

Desktop Notification

notify-rust