Skip to content

threkk/tomate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

tomate

GoDoc Go Report Card GitHub license Twitter

Simple pomodoro πŸ…

Features

Simple pomodoro timer whith a few useful functions:

  • Duration: Duration can be changed to any time wished instead of the standard 25 minutes.
  • Repeat: Enables the automatic restart of the timer once it finishes.
  • Messages: Prints a message at the end of the timer.
  • Quiet mode: Does not display any type of interface, useful for scripting.
  • Stop/pause/resume: Stop with Ctrl+C, pause/resume with Ctrl+Z.

Install

go get github.com/threkk/tomate/cmd/tomate

Usage

A duration is a optionally signed sequence of decimal numbers followed by an unit. A unit is h for hours, m for minutes and s for seconds.

Examples

  • Start a timer of 25 minutes.
$ tomate
  • Start a timer of 4 minutes and 30 seconds and repeat.
$ tomate -duration 4m30s -quiet
  • Start a timer of 1 minute in quite mode.
$ tomate -duration 1m -quiet
  • Start a timer of 1 hour with a message.
$ tomate -duration 1h -message "πŸ…"

Maintainer

Alberto Mtnz (@threkk)

Contribute

Did you find a problem? Check the issues!

License

BSD-3. See LICENSE for more information.