An open API service indexing awesome lists of open source software.

https://github.com/coolcode/tomato-clock-rs

🍅 Tomato Clock is a straightforward command-line Pomodoro application. https://en.wikipedia.org/wiki/Pomodoro_Technique
https://github.com/coolcode/tomato-clock-rs

pomodoro pomodoro-timer rust terminal terminal-app tomato tomato-timer

Last synced: 6 months ago
JSON representation

🍅 Tomato Clock is a straightforward command-line Pomodoro application. https://en.wikipedia.org/wiki/Pomodoro_Technique

Awesome Lists containing this project

README

          

# 🍅 Tomato Clock (Rust)

[![Test](https://github.com/coolcode/tomato-clock-rs/actions/workflows/test.yml/badge.svg)](https://github.com/coolcode/tomato-clock-rs/actions/workflows/test.yml)
[![Release](https://github.com/coolcode/tomato-clock-rs/actions/workflows/release.yml/badge.svg)](https://github.com/coolcode/tomato-clock-rs/actions/workflows/release.yml)

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.**

- [Pomodoro Technique](https://en.wikipedia.org/wiki/Pomodoro_Technique)
- [į•ŠčŒ„å·Ĩä―œæģ•](https://zh.wikipedia.org/zh-cn/%E7%95%AA%E8%8C%84%E5%B7%A5%E4%BD%9C%E6%B3%95)
- [Tomato Clock (Python)](https://github.com/coolcode/tomato-clock)

## Installation

- Install via source code:

```sh
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

```sh
tomato # start a 25 minutes tomato clock + 5 minutes break
tomato -t # start a 25 minutes tomato clock
tomato -t # start a minutes tomato clock
tomato -b # take a 5 minutes break
tomato -b # take a minutes break
tomato -h # help
```

## Terminal Output

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

## Desktop Notification

[notify-rust](https://github.com/hoodie/notify-rust)