Timelog

by Eddie Blundell
5
4
3
2
1
Score: 50/100

Description

Category: Note Enhancements

The Timelog plugin streamlines lab style project logging by removing the friction of manual timestamps and navigation. It automatically prefixes bullet points with the current time as you type, letting you focus on capturing thoughts rather than formatting. You can start each work session with a dated heading that matches your daily note format and instantly jump back to the most recent section whenever you need to add new entries. The status bar shows when logging is active and reflects your configured interval. Settings let you control timestamp frequency, customize the time format using Moment.js syntax, and optionally restrict automatic timestamps to list items only.

Reviews

No reviews yet.

Stats

8
stars
482
downloads
2
forks
131
days
139
days
139
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
4
commits

README file from

Github

Timelog

Timelog is an Obsidian plugin designed for lab-style note taking. I keep a single markdown document per project (for example My Project Log), add a dated heading for each work session, and capture new thoughts as bullet points under that heading. Timelog removes the busywork of stamping times and jumping between sections so you can stay focused on the work itself.

The plugin uses your Daily Note settings (if enabled) to match your preferred date format; otherwise it falls back to ISO YYYY-MM-DD.

Core workflow

  • Create or open your running project log note.
  • Add a heading for the current day (use the Start log entry command to insert ## [[YYYY-MM-DD]]).
  • Capture entries as list items; Timelog can automatically prefix them with the current time.
  • Jump back to the latest dated section at any time with Jump to latest log header.

Example snippet:

## [[2024-05-11]] – Undocumented REST API

- **08:45**: Collected notes from the old Confluence page; spotted a missing auth header.
- **09:30**: Sent a `GET /customers/123` request with `X-Legacy-Token`; saved the 401 response.
    - **09:42**: Retried with `Authorization: Legacy token=...`; success, captured JSON body.
- **13:05**: Listed follow-up tests to map the remaining verbs.

Features

  • Time logging helper – Automatically inserts a bold time prefix (default HH:mm) at the cursor while you type bullet points.
  • Start-of-day shortcut – One command drops a new dated heading that matches your daily note format (falls back to ISO YYYY-MM-DD).
  • Latest section navigator – Instantly scrolls to the newest dated heading and positions the cursor on the line below it.
  • Context-aware status bar – Shows “Logging active …s” only when the current note contains a dated heading, and reflects your configured interval.

Commands

Command Description
Start log entry Inserts a new dated level-2 heading (## [[YYYY-MM-DD]]) and places the cursor beneath it.
Jump to latest log header Scrolls to the newest dated heading, ensures there is writing space, and focuses the cursor just below the heading.

Assign hotkeys to these commands in Obsidian’s settings for quick access.

Settings

Open Settings → Community Plugins → Timelog to configure:

  • Minimum log duration – Seconds between automatic timestamp insertions (prevents duplicate prefixes when you stay on one bullet).
  • Log format – Moment.js format string for the timestamp prefix (defaults to HH:mm).
  • Use lists only – Require log entries to be list items before adding timestamps (ideal for bullet-driven logs).

Changes update the status bar immediately so you always see the current interval.

Installation

  1. Clone or download this repository.
  2. Copy main.js and manifest.json into your vault at Vault/.obsidian/plugins/obsidian-time-log/.
  3. Reload Obsidian and enable Timelog from the Community Plugins panel.

Development

npm install
npm run dev

The dev script recompiles main.ts to main.js whenever you save. Symlink the project into your vault for hot reloading if you use a development plugin that supports it.

Example (adjust paths to your vault):

ln -s ~/src/obsidian-time-log ~/Documents/Obsidian/.obsidian/plugins/obsidian-time-log

Releasing new versions

This repo uses a GitHub Actions workflow that publishes artifacts whenever you push a version tag.

  1. Bump the version in manifest.json and package.json (the npm run version helper can update manifest.json and versions.json for you).

  2. Update versions.json with the new version → minimum Obsidian version mapping.

  3. Run npm run build.

  4. Commit your changes and tag the release:

    git tag -a 1.0.1 -m "1.0.1"
    git push origin 1.0.1
    

    The GitHub Action uploads manifest.json and main.js as release assets automatically.

License

MIT

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
TaskNotes
10 months ago by Callum Alpass
Task and time-tracking management with calendar integration for Obsidian
TimeStamper
4 years ago by Martin Eder
A plugin for Obsidian to quickly insert customized date- and time-stamps to the currently active note
Super Simple Time Tracker
4 years ago by Ellpeck
Multi-purpose time trackers for your notes!
Toggl Track
5 years ago by Maxime Cannoodt
A Toggl integration plugin for the popular knowledge base application Obsidian.
Flexible Pomodoro
4 years ago by grassbl8d
WakaTime
3 years ago by WakaTime
Obsidian.md plugin for automatic time tracking and metrics generated from your Obsidian usage activity.
Timekeep
2 years ago by Jacobtread
Obsidian task time tracking
Grandfather
5 years ago by Danny Hernandez
A simple Obsidian plugin to display the time and date on the status bar
Obsidian-compatible Watcher for ActivityWatch
3 years ago by Grimmauld
Obsidian plugin to track user activity with ActivityWatch
Stopwatch
5 years ago by Tokuhiro Matsuno
Time Things
2 years ago by Nick Winters
Show clock, track time spent editing a note, and track the last time a note has been edited.
Progress Clocks
2 years ago by Nathan Clark
Progress clocks and other useful widgets for https://obsidian.md/.
Checkbox Time Tracker
2 years ago by UD
Checkbox Time Tracker for Obsidian
Days Since
2 years ago by gndclouds
A plugin to show the number of days since a given date.
RescueTime
3 years ago by Tatsuya Hayashi
A RescueTime integration plugin to view your activity logs in Obsidian.
Focus Time
a year ago by AstraDev
Focus Time is a plugin that helps you track how much time you spend on each note.
ManicTime
2 years ago by Finkit d.o.o.
Countdown To
a year ago by Gui Cattani
A countdown/progress Obsidian widget using progressbar.js
Fastimer
2 years ago by vkostyanetsky
Intermittent fasting tracker plugin for Obsidian
Relative Timestamps
2 years ago by Charles Young
Chronotyper
a year ago by BambusControl
Obsidian plugin for tracking note edit time
Wakatime / Wakapi
a year ago by Kevin Woblick
Connect your Obsidian to Wakatime or Wakapi to track the time spent while browsing or writing notes.
Role Switch
2 months ago by Zafrem
Switch between different work roles (developer, writer, researcher, etc.) with intentional transitions and session tracking.
Lark Style CountDown Timer
5 months ago by Zhaoyang Yu
Tag Timer
4 months ago by quantavil
The Tag Timer is a versatile plugin for Obsidian that allows you to seamlessly track the time you spend on specific tasks or sections within your notes.
Fetch Prayer Times
a year ago by Ecys
Fetches times from Aladhan API and inserts into a table.
SolidTime Integration
a year ago by proniclabs
Obsidian SolidTime Integration Plugin