Pomodoro Timer

by eatgrass
5
4
3
2
1
Score: 49/100

Description

Category: Productivity Tools

The Pomodoro Timer plugin integrates a customizable timer into Obsidian to enhance focus and productivity. It allows users to set personalized work and break intervals, receive audible alerts, and monitor progress through the status bar. This plugin also features daily note integration for automatic logging of sessions and task tracking to update Pomodoro counts directly on tasks. Users can utilize detailed logging formats or create custom log templates. With additional support for DataView scripts, the plugin provides options for visualizing session summaries and detailed logs within Obsidian, making it a versatile tool for time management and workflow tracking.

Reviews

No reviews yet.

Stats

231
stars
52,003
downloads
51
forks
873
days
688
days
709
days
29
total PRs
3
open PRs
7
closed PRs
19
merged PRs
60
total issues
36
open issues
24
closed issues
42
commits

Latest Version

2 years ago

Changelog

Fixed the issue where the clock could not be paused

README file from

Github

image

Introduction

This plugin integrates a customizable Pomodoro timer into your Obsidian workspace, helping you focus and manage your time effectively.

Features

  • Customizable Timer: Set your work and break intervals to suit your productivity style.
  • Audible Alerts: Stay on track with audio notifications signaling the end of each session.
  • Status Bar Display: Monitor your progress directly from Obsidian's status bar to keep focusing.
  • Daily Note Integration: Automatically log your sessions in your daily notes for better tracking.
  • Task Tracking: Automatically refresh the 'actual time' field for the task in focus.

Notification

Custom Notification Sound

  1. Put the audio file into your vault.
  2. Set its path ralative to the vault's root. For example: your audio file is in AudioFiles and named notification.mp3, your path would be AudioFiles/notification.mp3. Don't forget the file extension (like .mp3, .wav etc.).
  3. Click the play button next to the path to verify the audio

Task Tracking

To activate this feature, first enable it in the settings. Then add pomodoros inline-field after your task's text description as below. The pomodoro timer will then automatically update the actual count at the end of each work session.

Important: Ensure to add this inline-field before the Tasks plugin's fields. Placing it elsewhere may result in incorrect rendering within the Tasks Plugin.

-   [ ] Task with specified expected and actual pomodoros fields [🍅:: 3/10]
-   [ ] Task with only the actual pomodoros field [🍅:: 5]
-   [ ] With Task plugin enabled [🍅:: 5] ➕ 2023-12-29 📅 2024-01-10

Log

Log Format

The standard log formats are as follows For those requiring more detailed logging, consider setting up a custom [log template](#Custom Log Template) as described below.

Simple

**WORK(25m)**: 20:16 - 20:17
**BREAK(25m)**: 20:16 - 20:17

Verbose

- 🍅 (pomodoro::WORK) (duration:: 25m) (begin:: 2023-12-20 15:57) - (end:: 2023-12-20 15:58)
- 🥤 (pomodoro::BREAK) (duration:: 25m) (begin:: 2023-12-20 16:06) - (end:: 2023-12-20 16:07)

Custom Log Template (Optional)

  1. Install the Templater plugin.
  2. Compose your log template script using the log object, which stores session information.
// TimerLog
{
    duration: number,  // duratin in minutes
    session: number,   // session length
    finished: boolean, // if the session is finished?
    mode: string,      // 'WORK' or 'BREAK'
    begin: Moment,     // start time
    end: Moment,       // end time
    task: TaskItem,    // focused task
}

// TaskItem
{
    path: string,         // task file path
    fileName: string,     // task file name
    text: string,         // the full text of the task
    name: string,         // editable task name (default: task description)
    status: string,       // task checkbox symbol
    blockLink: string,    // block link id of the task
    checked: boolean,     // if the task's checkbox checked
    done: string,         // done date
    due: string,          // due date
    created: string,      // created date
    cancelled: string,    // cancelled date
    scheduled: string,    // scheduled date
    start: string,        // start date
    description: string,  // task description
    priority: string,     // task priority
    recurrence: string,   // task recurrence rule
    tags: string[],       // task tags
	expected: number,     // expected pomodoros
	actual: number        // actual pomodoros
}

here is an example

<%*
if (log.mode == "WORK") {
  if (!log.finished) {
    tR = `🟡 Focused ${log.task.name} ${log.duration} / ${log.session} minutes`;
  } else {
    tR = `🍅 Focused ${log.task.name} ${log.duration} minutes`;
  }
} else {
  tR = `☕️ Took a break from ${log.begin.format("HH:mm")} to ${log.end.format(
    "HH:mm"
  )}`;
}
%>

Examples of Using with DataView

Log Table

This DataView script generates a table showing Pomodoro sessions with their durations, start, and end times.

image

Summary View

This DataView script presents a summary of Pomodoro sessions, categorized by date.

image

CSS Variables

Variable Default
--pomodoro-timer-color var(--text-faint)
--pomodoro-timer-elapsed-color var(--color-green)
--pomodoro-timer-text-color var(--text-normal)
--pomodoro-timer-dot-color var(--color-ted)

FAQ

  1. How to Switch the Session

To switch sessions, simply click on the Work/Break label displayed on the timer.

  1. How to completely disable Break sessions

You can adjust the break interval setting to 0, this will turn off Break sessions.


Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Task Genius
4 years ago by Boninall
Comprehensive task management plugin for Obsidian
Status Bar Pomodoro Timer
5 years ago by kzhovn
A status bar pomodoro timer plugin for Obsidian.
Day Planner (OG)
3 years ago by James Lynch (continued by Erin Schnabel)
An Obsidian plugin for day planning and managing pomodoro timers from a markdown task list.
Word Sprint
4 years ago by Andrew Lombardi
Obsidian Word Sprint plugin
Pomodoro
5 years ago by Tokuhiro Matsuno
Flexible Pomodoro
4 years ago by grassbl8d
Timer
3 years ago by Marius Wörfel
Obsidian plugin, which allows you to measure time.
Pomodoro Widget
2 years ago by bitegw
A plugin for ObsidianMD that adds a pomodoro timer widget. Get it from the Community plugins tab.
Multi State CheckBox Switcher
2 years ago by KubaMiszcz
Text Block Timer
10 months ago by frankthwang
Kanban Status Updater
a year ago by Ankit Kapur
Obsidian plugin that automatically updates the note property when card is moved to a column.
Book Smith
a year ago by Yeban
一个用于在Obsidian上进行书籍管理及长文创作的Obsidian插件
PomoBar
a year ago by Miguel Pimentel
PomoBar is a minimalist Pomodoro timer that lives in your Obsidian status bar with optional audio notifications to keep you on track
Checklist Progress
2 years ago by acidghost
Plugin to automatically fill progress (as fraction or percentage) of check-lists
Daily Routine
a year ago by sechan100
new version of daily-routine obsidian plugin
Pomodoro Planner
2 years ago by Onur Nesvat
Minidoro
4 months ago by Shakti Sampad Swain
Minidoro is a minimalist Pomodoro timer that lives right in your Obsidian header. It's designed to be simple, unobtrusive, and fully customizable.
HTML checkboxes
a year ago by Anareaty
White Noise
a year ago by Zhou Hua
Timesheet
2 years ago by vkostyanetsky
Timesheet generator plugin for Obsidian
Open with Natural Language Dates
2 years ago by Charlie Chao
Quickly open a daily note using natural language. Requires "Natural Language Dates" plugin to work.
doing
2 years ago by rooyca
What was I doing?
Daily Task Auto Generator
a year ago by maigamo
📝 Obsidian Daily Task Auto Generator | Automated Daily Notes • Multilingual Support • Custom Templates | A powerful plugin designed for Obsidian users to automatically generate structured daily task notes, helping you maintain a consistent and focused workflow with minimal effort.
Lark Style CountDown Timer
5 months ago by Zhaoyang Yu
Future Dates
2 years ago by Dmitry Manannikov
T4: Task Tree Time Totaler
10 months ago by Evan Story