A flowmodoro timer CLI for productivity enthusiasts
flomo is a crossplatform TUI/CLI for using the Flowtime Technique, also known as the Flowmodoro Technique. It's a task execution helper, or in other words, a productivity booster! π
flomo allows you to work on tasks in a flow state, manage your work/break time, and track your sessions.
Built with: rich & blessed (TUI), click (CLI), notify-send for Linux notifications, playsound (Windows & Mac sound), paplay (Linux sound), sqlite3 (database).
β¨ Features
- Cross-Platform π
- Stopwatch for Flow and Timer for Breaks β±οΈ
- Session tracker (date, duration, tag, and session) ποΈ
- Session manager: easily manipulate the sessions via CLI βοΈ
- Customizable, Clean UI π¨
- Notifications (Linux only, for now) π
- Fairly easy-to-use, I suppose π€
- (Potential) productivity booster π₯
π Background
flomo started as a Hackathon (livestream) on June 6, 2024, with @Jonak-Adipta-Kalita and @AnubhavSC. We aimed to create a small project that was fun and could potentially help others. We're all productivity fanatics, and this project is heavily inspired by pomo.
However, two hours in, we realized it was harder than expected. We spent a lot of time debugging and refactoring. Here are our learnings from the Hackathon.
π Flow and Flowtime Technique
Mihaly Csikszentmihalyi was known for his work on Flow Theory. He describes "flow" as:
"A state of being in which people become so immersed in the joy of their work or activity 'that nothing else seems to matter.'"
As developers, creators, and romantics, we often experience that state of "flow." This "flow" can vary, sometimes increasing or decreasing.
This can be visualized with a graph:
We can take advantage of this by identifying the right time to take a breakβwhen the "flow" is depleting. This is the Flowtime technique.
It works like this: If you work for x minutes, take a break for x/5 minutes. Then, repeat. β³
This requires a good deal of discipline, meaning you need at least some natural focus. If not, check out the Pomodoro Technique! π
π οΈ Installation
π Pre-requisites
- π Python β₯ 3.12
- π¦ pip
- π οΈ GCC Compiler if installing from source.
π¦ Instructions
Using PyPi package
pip install flomodoro
Note: If you're on Linux, ensure /home/user/.local/bin is in your PATH. More info for Linux newbies_
Installing from source
git clone https://github.com/moiSentineL/flomo.git
cd flomo
pip install -r requirements.txt
For Linux Users:
gcc -fPIC -shared -o flomo/sessionid.so flomo/sessionid.c
For Windows Users:
gcc -shared -o flomo/sessionid.dll flomo/sessionid.c
pip install -e .
π Getting Started
Initialize flomo by:
flomo init
Start a flow by:
flomo s
Start a flow with the tag work and the session name math:
flomo s -t work -n math
Check the wiki for more info π
π€οΈ Roadmap
- β Add sound on timer/stopwatch start
- β Notification (only Linux for now)
- β Configure colors
- β Track sessions
- β Configure colors
- β Skipping Break
- π§ Chart Generation / Statistics
π€ How to Contribute
Want to help? Great! Here's how:
- Fork this repo.
- Clone it to your local machine.
- Create a branch for your changes.
- Make your edits and test them.
- Commit and push your changes.
- Open a pull request to the
mainbranch.
Let's collaborate! π
[^1]: Csikszentmihalyi, M. (1990). Flow: The Psychology of Optimal Experience. New York: Harper and Row. p. 15 ISBN>) 0-06-092043-2.