Skip to content

udus122/checkbox-time-tracker

Repository files navigation

Checkbox Time Tracker

Overview

Insert timestamp when you check off the checkbox. Examples are below.

The default timestamp format is HH:mm and if you want to include the end time, use HH:mm-HH:mm You can also insert date, like: YYYY-MM-DD HH:mm

For more information, see Settings.

Screenshots

Click the checkbox to insert the current time.

demo_todo_done

By enabling Doing Status, you can also insert start and end times.

demo_todo_doing_done

Installation

Installation from Obsidian's community plugins:

  • Open Settings > community plugins
  • Turn off 'Safe mode'
  • Click 'Browse' button to browse plugins
  • Search for 'Checkbot Time Tracker'
  • Click 'Install' button

or via this url

Install the plugin using BRAT

  1. Install the BRAT plugin
    1. Open Settings -> Community Plugins
    2. Disable safe mode, if enabled
    3. Browse, and search for "BRAT"
    4. Install the latest version of Obsidian 42 - BRAT
  2. Open BRAT settings (Settings -> Obsidian 42 - BRAT)
    1. Scroll to the Beta Plugin List section
    2. Add Beta Plugin
    3. Specify this repository: udus122/checkbox-time-tracker
  3. Enable the Checkbox Time Tracker plugin (Settings -> Community Plugins)

Usage

  1. Add the checkbox-time-tracker(default, can be changed by setting) class to the cssclasses property of the page on which you want to enable time tracking
  2. Then, when you check the checkbox on that page, the timestamp will be inserted.

Settings

You can insert the date in addition to the time, and enable the doing status to record the start and end time.

Here are some examples:

Default

This setting inserts the date as follows: - [x] 12:00 ...

setting_default

Display start and end dates including the day of the week

This setting inserts the date as follows: - [x] 2024/01/01(Mon) 12:00 - 2024/01/01 13:00 ...

setting_start_end_weekend

Display the start and end dates with links to daily notes

This setting inserts the date as follows: - [x] [[2024-01-01]] 12:00 ...

setting_daily_note

Omit end date if the start and end date are the same to avoid duplication

This setting inserts the date as follows: - [x] 2024-01-01 12:00 - 13:00 ...

setting_omit_end_date

Doing status style

This plugin does not include styling for the Doing status (- [/]). Please refer to the following CSS snippet to install it.

About

Checkbox Time Tracker for Obsidian

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •