Skip to content

flamisz/pomodoro

Repository files navigation

Pomodoro?

The Pomodoro Technique is a time management method developed by Francesco Cirillo in the late 1980s.

There are six steps in the original technique:

  1. Decide on the task to be done.
  2. Set the pomodoro timer (traditionally to 25 minutes).
  3. Work on the task.
  4. End work when the timer rings and put a checkmark on a piece of paper.
  5. If you have fewer than four checkmarks, take a short break (3–5 minutes) and then return to step 2; otherwise continue to step 6.
  6. After four pomodoros, take a longer break (15–30 minutes), reset your checkmark count to zero, then go to step 1.

How to use it

This is a php app. Clone the repo, composer install and type: php pomodoro start. Other way to download the builds/pomodoro file and run it: ./pomodoro start.

Options

By default, there are 4 rounds, each 25 minutes and 5 minutes break between the rounds. You can customize these values with arguments:

--min[=MIN]        pomodoro timer in minutes (default: 25)
--break[=BREAK]    break between rounds (default: 5)
--rounds[=ROUNDS]  how many rounds (deafult: 4)

Run like this: php pomodoro start --rounds=3 --min=20 --break=4 or ./pomodoro start --rounds=3 --min=20 --break=4

Note for macos terminal

The app has os native notifications. If you want to make it "nicer" on macos, install terminal-notifier. You can do it with brew: brew install terminal-notifier.

License

Pomodoro is an open-source software licensed under the MIT license.

About

Pomodoro CLI app PHP

Resources

License

Stars

Watchers

Forks

Languages