Skip to main content

A Flowmodoro Timer CLI for producitivity enthusiasts.

Project description


PyPI Version Build Status License Downloads
Issues Forks Stars

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

📦 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/session_id.so flomo/session_id.c

# For Windows Users:
gcc -shared -o flomo/session_id.dll flomo/session_id.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

Check our Kanban Board.

🤝 How to Contribute

Want to help? Great! Here's how:

  1. Fork this repo.
  2. Clone it to your local machine.
  3. Create a branch for your changes.
  4. Make your edits and test them.
  5. Commit and push your changes.
  6. Open a pull request to the main branch.

Note: if you're new to Git and Github, I suggest you read this Intro to Git and GitHub for Beginners.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flomodoro-1.2.1.tar.gz (61.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flomodoro-1.2.1-py3-none-any.whl (57.9 kB view details)

Uploaded Python 3

File details

Details for the file flomodoro-1.2.1.tar.gz.

File metadata

  • Download URL: flomodoro-1.2.1.tar.gz
  • Upload date:
  • Size: 61.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for flomodoro-1.2.1.tar.gz
Algorithm Hash digest
SHA256 58df308e5a6f35b2688d4a6f73d0aac622ed03134cebc23dff5c9403af005071
MD5 c77e669369816b6232498d2753c37ab6
BLAKE2b-256 fd4f94d5a81c9008aea5c48e75dc8793a701a72a4718bf65487c5ffc99a4d1fc

See more details on using hashes here.

File details

Details for the file flomodoro-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: flomodoro-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 57.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for flomodoro-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4689ca79d4e995834912ae17059614fea93e2e4aa181e9c5e08e9020cef071ec
MD5 107eed8e7395bafec19dc47e621f61dd
BLAKE2b-256 6929bc2c6f30e44867f9031ed3fab7277fd11b490b39f244e7492b78c829412d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page