I replaced a paid pomodoro app with a 300-line Python script
说明与用途
作者用一段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