I replaced a paid pomodoro app with a 300-line Python script
Описание и применение
Автор заменил платное приложение Pomodoro на 300‑строчный скрипт на Python, который хранит данные в CSV, поддерживает календарь Джалали и Григорианский, и предоставляет команды для начала, окончания, статуса и агрегации сессий.
Задача
Paid pomodoro apps restrict historical data and lack support for the Persian (Jalali) calendar, preventing long-term time analysis and custom calendar usage.
Результат
The author achieved full control over Pomodoro logging, unlimited historical data, and calendar flexibility with a simple CLI script, eliminating the need for a paid app.
Рабочий процесс
- 1. Install the script from GitHub.
- 2. Run
pomo start <task>to begin a session; a new CSV row is created with start time. - 3. Run
pomo endto finish the session; the same row is updated with end time and duration. - 4. Run
pomo statusto see if a session is currently running. - 5. Run
pomo aggto aggregate and analyze session data over time. - 6. Optionally set
POMODORO_CALENDAR=gregorianto use the Gregorian calendar instead of the default Jalali.
Доказательства
I replaced a paid pomodoro app with a 300-line Python script
Each session is one row in a CSV: uuid, date, weekday, task, start_hour, start_minute, end_hour, end_minute, mins
- Дата записи: 2026-09-12T20:00:57.856Z