Daily Notes Extended

unlisted

by Lenore

Replacement or alternative to Obsidian's Daily Note plugin with many additional features, like copying content from previous day's note, scheduling repeating tasks, and automatic archival of previous daily notes.

Updated 2mo agoMIT
View on GitHub

Daily Notes Extended

Daily Notes Extended is a plugin for Obsidian with many additional features over the core Daily Notes plugin. Can be used as an alternative or parallel to it.

Demonstration of the original Obligator Plugin by Newbrict

Features over Obsidian's "Daily Notes" plugin

  • When the new daily note is created, content from the previous daily note can be copied over automatically (fully or only a specific part of it).
    • Copy tasks in the note only if they are not marked as completed yet.
    • Preserve the structure of a todo list by only deleting sub-tasks once the parent and all its sub-tasks are completed.
  • Set up future or repeating tasks that automatically appear in certain daily notes by using a simplyfied crontab syntax in the task descriptions.
  • Keep your vault clean by automatically moving previous daily notes into an archive folder. Nested folder structures like YYYY/MM-MMMM/YYYY-MM-DD are possible.

Important notice for use with sync plugins

If you use a sync plugin with "newer version survives" conflict handling (the default setting in the popular Remotely Save plugin), you will encounter the following correct but likely unexpected behavior!

If a daily note is created before the sync is finished, the local daily note will always be newer than one in the remote files. If the sync plugin is set to only check which file is newer, it will discard the remote file in favor of the local one. With bi-directional sync, the next sync will then sync this new file back to the remote system and now both systems have the new note. Changes made on the remote system would be overwritten.

To make sure that this won't happen, please set your sync plugin to any other algorithm than "newer version survives" (or use a sync solution that features smart conflict handling by default). In "Remotely Save", this can be found in the plugin settings under "Action For Conflict".

Attribution and Thanks

Daily Notes Extended is a continuation and spiritual successor to the seemingly abandoned "Obsidian Obligator" Plugin. Many thanks to the original author Newbrict for the idea and initial codebase. Another thank you to artinflight for a fork that fixes issue #49.

Installation

Daily Notes Extended is not yet available in Obsidian's official plugin repository. Here are two options to install it:

  1. Use BRAT to install this plugin directly from Github.
  2. Manual installation:
    1. Open your plugin folder in YOUR VAULT FOLDER/.obsidian/plugins and make a new subfolder named daily-notes-extended.
    2. Go to the releases page and download the 3 plugin files main.js, manifest.json, and styles.css. Put these into the folder created in step 1.
    3. Open the "Community Plugins" page in your Obsidian settings and activate Daily Notes Extended.
    4. Don't forget: Open the plugin settings for Daily Notes Extended and make sure everything is set up to your liking.

Building from source

  • Clone this Github repository.
  • Make sure your version of NodeJS is at least v16 (node --version).
  • Use npm i or yarn to install dependencies.
  • npm run dev starts the compilation in watch mode.

Tip: If the local folder for the clone of this repository is YOUR VAULT FOLDER/.obsidian/plugins/daily-notes-extended (make sure the plugin folder is named exactly like this), obsidian can directly use the compiled file without the need to manually copy files to the plugin folder.

Documentation

Full documentation will follow in on of the next versions. For now, please refer to the README file of the old Obligator Plugin at github.com/Newbrict/obsidian-obligator.

Initial version: Current changes from the "Obsidian Obligator" code base

The first version of this plugin is a fork of the original Obsidian Obligator with some additional bugfixes. From the next version on, the source code will get fully restructured and updated. New features will be added once the first restructuring is done. Current bugfixes:

  • Fix for issue #49, a broken archive function when using nested date folders. Uses fixes from a fork by artinflight. Thank you for these.
  • Fixes two bugs that crash the plugin when the daily note is in the vault's root folder "/".

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.