<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Reza Ghorbanmeyabadi</title>
    <description>The latest articles on DEV Community by Reza Ghorbanmeyabadi (@rezaghm).</description>
    <link>https://dev.to/rezaghm</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4112080%2F1c9ea340-ff11-4fb3-bd91-2ae68a94625a.png</url>
      <title>DEV Community: Reza Ghorbanmeyabadi</title>
      <link>https://dev.to/rezaghm</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rezaghm"/>
    <language>en</language>
    <item>
      <title>I replaced a paid pomodoro app with a 300-line Python script</title>
      <dc:creator>Reza Ghorbanmeyabadi</dc:creator>
      <pubDate>Sun, 06 Sep 2026 10:26:11 +0000</pubDate>
      <link>https://dev.to/rezaghm/i-replaced-a-paid-pomodoro-app-with-a-300-line-python-script-42n6</link>
      <guid>https://dev.to/rezaghm/i-replaced-a-paid-pomodoro-app-with-a-300-line-python-script-42n6</guid>
      <description>&lt;p&gt;Most pomodoro apps gate your own history behind a paywall. Marinara and Focus To-Do (among others) only keep a month of data on the free tier. I wanted to actually analyze months of tracked time, not lose it after four weeks. On top of that, I track dates on the Persian (Jalali) calendar, which none of the existing tools support at all.&lt;br&gt;
So I wrote my own. First pass was a function in a Jupyter notebook logging start/end events to a CSV. It worked, but running a notebook cell every time I wanted to log a task wasn't exactly frictionless for something meant to fire dozens of times a day.&lt;br&gt;
v2 turned it into a real CLI:&lt;br&gt;
pomo start coding&lt;br&gt;
pomo status&lt;br&gt;
pomo end&lt;br&gt;
pomo agg&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvh6gkj6tacjqju19flwf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvh6gkj6tacjqju19flwf.png" alt=" " width="800" height="313"&gt;&lt;/a&gt;&lt;br&gt;
Each session is one row in a CSV:&lt;br&gt;
uuid, date, weekday, task, start_hour, start_minute, end_hour, end_minute, mins&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn4f0w2l7m6igkvdvyrtp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn4f0w2l7m6igkvdvyrtp.png" alt=" " width="796" height="47"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;start appends a row with the end fields blank; end fills them in on that same row. No state kept in memory between commands, since a CLI invocation is a fresh process every time, so the CSV itself is the source of truth for "is anything currently running."&lt;br&gt;
v3 added a calendar toggle, since the Jalali dependency was the whole reason I built this but also the thing that made it useless to most people:&lt;br&gt;
export POMODORO_CALENDAR=gregorian   # defaults to jalali&lt;/p&gt;

&lt;p&gt;Everything else (data model, commands, aggregation) stays identical regardless of which calendar is active.&lt;br&gt;
Repo's here: &lt;a href="https://github.com/rgmey/pomodoro" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>cli</category>
      <category>opensource</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
