Time Tracker
unlistedby Silso
Track work sessions per project directly in your notes.
Time Tracker
Track work sessions per note with start/stop timing and automatic parent rollup.
[!WARNING] This plugin is provided as-is for personal use. The repository is public for anyone who wants to fork and adapt it. Please do not open issues for support or feature requests.
Features
ā±ļø Per-note time tracking ā Start/stop sessions directly in any note
š Session history ā View all recorded sessions with timestamps and durations
š Hierarchical rollup ā Child notes automatically sum into parent's timelogged property
āļø Inline storage ā Data lives in a code block within your note (no external database)
š Live sync ā Manual edits to the block automatically update frontmatter
How It Works
flowchart TD
A[Note with time-tracker block] -->|Start/Stop| B[Sessions stored in block]
B --> C[Total ā timelogged property]
C -->|If parent property exists| D[Parent note]
D --> E[Parent sums children's timelogged]
Usage
Add a code block to any note:
```time-tracker
```
The plugin renders interactive Start/Stop controls. Sessions are stored as JSON inside the block:
{
"entries": [
{ "start": "2024-01-15T09:00:00Z", "end": "2024-01-15T10:30:00Z" },
{ "start": "2024-01-15T14:00:00Z", "end": "2024-01-15T15:45:00Z" }
],
"activeStart": null
}
Hierarchical Time Rollup
If a note has a parent property linking to another note, the parent's timelogged automatically includes all children:
Project A (timelogged: 5h 30m)
āāā Task 1 (timelogged: 2h 15m)
āāā Task 2 (timelogged: 3h 15m)
The parent property can use wiki-link syntax:
parent: "[[Project A]]"
Frontmatter
The plugin writes a timelogged property to each note:
| Property | Description |
|---|---|
timelogged | Total time (self + children), e.g. 2h 15m or 45 min |
Installation
Manual
- Download
main.jsandmanifest.jsonfrom the Releases page - Create
.obsidian/plugins/time-tracker/in your vault - Place the files in that folder
- Enable the plugin in Settings ā Community plugins
BRAT
- Install Obsidian42 - BRAT
- Run
BRAT: Add a beta plugin for testing - Enter this repository URL
Images
License
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.