Skip to content

Latest commit

Β 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 

Repository files navigation

🧠 Flowmodoro CLI

Flowmodoro is a minimalist command-line productivity tool based on the flowmodoro technique β€” a flexible alternative to the traditional Pomodoro method.

This tool helps you manage your work and break cycles dynamically, calculating personalized break times based on how long you've been working.


πŸš€ Features

  • πŸ•’ Start and track focused work sessions
  • πŸ’€ Automatically calculate break durations (20% of time worked)
  • πŸ“Š Check your current session status anytime
  • πŸ’Ύ Session persistence across terminal sessions
  • βœ… Minimal, fast, and dependency-free

πŸ“¦ Installation

1. Clone and install manually

git clone https://github.com/LuisFerRodVar/flowmodoro-cli.git
cd flowmodoro-cli
chmod +x flowmodoro.py
sudo mv flowmodoro.py /usr/local/bin/flowmodoro

Now you can use it as a global command:

flowmodoro start

🧰 Usage

Start a work session

flowmodoro start

Take a break (after working)

flowmodoro break

Break time will be calculated as 20% of the time worked (minimum 1 minute).

Check session status

flowmodoro status

Outputs:

  • Current mode: work or break
  • Time worked or remaining break time in seconds and HH:MM:SS format

πŸ“‚ How it works

  • Stores session state in /tmp/flowmodoro_state.json
  • Uses time.time() to calculate elapsed time
  • Keeps no history β€” designed to be simple and ephemeral

πŸ› οΈ Example

$ flowmodoro start
Work session started.

# ... after a while

$ flowmodoro break
Work session ended. Duration: 42 minutes
Starting break for 8 minutes.

$ flowmodoro status
mode=break
remaining_seconds=392
remaining_hms=00:06:32

πŸ“„ License

MIT License Β© 2025 Luis RodVar

About

Minimal CLI tool to manage focused work sessions with adaptive breaks

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages