Plan your day around your vault folders and see where your focus time went.
Install · Quick start · User guide · Development · Report an issue

Requires Obsidian Desktop 1.9.10 or later.
main.js, manifest.json, and styles.css from the latest release..obsidian/plugins/open-pomodoro/ inside your vault. Create the plugin folder if needed. If your vault has a custom configuration directory, use it in place of .obsidian.[!NOTE] A running timer resumes on the same device after a restart. Completed sessions and saved plans live in the vault. Use one device at a time for planning.
| In Daily Plan | What you can do |
|---|---|
| Plan | Set a focus target for each folder or standalone task. Save a default plan to reuse tomorrow. |
| Timer | Choose a 25–60 minute session and optionally link a file or subfolder to it. |
| Timeline | Review focus and breaks, fill gaps, and compare the day with your goal or previous best. |
| Later | Capture thoughts while focusing. Mark them done, remove them, or undo the last change. |
A new vault starts with an empty plan. Add folders under Settings → OpenPomodoro → Task modules. In the plan editor, add each folder you want to work on or add Other for a named task. You can add several Other tasks, each with its own target. Reorder rows using their drag handles or the arrow keys. Choose Save plan to apply today's changes or Cancel to discard them.
Choose Save as default plan to reuse the rows, order, and targets on future days. You can also edit the template under Settings → OpenPomodoro → Default plan. Folder modules start each day with empty task details. Other rows keep their names. Save an empty default to clear the template.
The timer and record editors offer the plan's tasks in order. Selecting a row overrides the suggested next task. After 90 minutes on one module, another unfinished module takes priority when available. A zero-minute target allows manual selection. Each focus record counts as one Pomodoro, including manual entries. A check mark appears when recorded focus reaches the target.
Use Link task to associate a file or subfolder with a folder session. Once you have focused for 15 minutes, you can finish early and keep the elapsed time. At the bell, you can record overtime or take a break. By default, three consecutive Pomodoros earn a 15-minute break. A rest shorter than 10 minutes keeps the long break due.
Set Today's deadline under Settings → OpenPomodoro → Day. Choose Same day or Next day. Early morning times initially select Next day. You can change or clear a deadline until it passes. Only timers that fit before the deadline can start. Moving the deadline earlier can settle a running timer. Once the deadline passes, the plan and its records become read-only. Each new planner day starts without a deadline.
To log an activity that just ended, open Add record at the bottom of the timeline and select NOW beside the end time. The duration updates immediately. Select Save to add the record.
Use the date control to browse earlier days. Drag a record endpoint or edit its time fields. For Focus, choose a task from the plan for the record's start date. Expand a focus row to see tasks and remarks. You can attach links and record several tasks in one session. The session counts once. Break accepts a remark. Other covers activities such as sleep and wash-up.
Timers store exact timestamps. The timeline displays ranges and durations at minute boundaries, with seconds shown for intervals shorter than one minute. Reports sum elapsed time before formatting and assign overlapping time to the earlier interval. When a manual edit crosses a neighboring endpoint by less than a minute, it snaps to that endpoint. Larger or contained conflicts need a manual correction. Ending a timer before a full minute clears it. Older timer sessions under a minute remain in storage and are excluded from the timeline, totals, and overlap checks.
Gaps shorter than five minutes count toward an adjacent break or waking non-focus activity. The preceding activity takes priority when both qualify. If focus ends at 09:25 and a break starts at 09:27, the timeline shows the break beginning at 09:25. Opening its editor shows the recorded 09:27 start. Sleep keeps its recorded bedtime and wake time.
If focus ends at 10:25 and the next focus starts at 10:28, the timeline shows 10:25–10:28 · Unrecorded. Every gap between confirmed boundaries that remains after automatic merging appears here and in the day's unrecorded total, including gaps under one minute. On an editable day, use the row to log time or merge it into an available neighbor. Saving a partial entry recalculates the gaps on both sides. Locked days show the same intervals for review. On a day without records, unrecorded time is unknown.
Each record belongs to one plan day (planDay). Sleep belongs to its wake date and the first sleep ending that day appears at the top of the timeline, with a slot to fill when missing. Other activities belong to the plan active when they start. A next-day deadline keeps that plan active after midnight until the deadline. Otherwise the calendar date applies. Reports count the whole session once.
Back up plugins/open-pomodoro/data.json inside your vault's configuration directory before updating or uninstalling. It contains dated plans, default plans, settings, Later notes, and completed records. The active timer uses separate, vault-scoped storage on the current device.
Use Node.js 22.18 or later and a test vault that you have opened in Obsidian Desktop. From the repository root, run the following commands.
npm ci
npm run build
npm run deploy -- "/path/to/test-vault"
Enable OpenPomodoro in Settings → Community plugins. For a custom vault configuration directory, pass its name as the second argument to the deploy command.
| Command | Coverage |
|---|---|
npm test |
All unit tests, the build, and desktop layout checks |
npm run test:unit |
Planner model, device timer storage, and note index |
npm run test:layout |
Desktop layout and interaction in a temporary profile and vault |
The layout suite requires a graphical desktop session. For a nonstandard installation, set OBSIDIAN_BINARY to the Obsidian executable. The suite checks English and Chinese at widths of 360, 480, 640, 768, 1024, and 1512 CSS pixels. Across timer states, deadlines, and completed targets, it checks that the timer, plan, toolbar, chart, records list origin, and status bar stay within one CSS pixel of the ready layout. The records list can grow as entries are added.
To verify delayed-save focus for a release, download its main.js, manifest.json, and styles.css into one directory. Run the following from the repository root. The tests install those files in temporary vaults and exercise typing, selection, keyboard focus handoff, and switching between the main window and a popout. Record the release tag, Obsidian Desktop version, and results in issue #26.
OPENPOMODORO_ASSET_DIR=/path/to/release-assets node --test --test-name-pattern='delayed Later|pending plan' tests/layout/stability.test.mjs
When changing activity labels or icons, keep their storage IDs in src/catalog.ts. Set offered to false to retire an activity from the picker and keep its registry entry for historical display. Unrecognized activity IDs remain readable and editable.
manifest.json and run npm version X.Y.Z --no-git-tag-version with the same version to update package.json and package-lock.json. Run npm test on a desktop and merge the tested changes into main.X.Y.Z, without a v prefix) and push the tag. The Draft release workflow checks the version, runs unit tests, builds the plugin, and attests the three release files.main.js, manifest.json, and styles.css are attached before choosing Publish release. To verify a downloaded file's provenance, run gh attestation verify main.js --repo daniellaah/OpenPomodoro with the appropriate filename.The plugin and its original tomato artwork are available under the MIT License.