Daily Notes Organiser

Does anyone know why I am getting this error in the Canvas? I am running a clean install of Obsidian with all default settings and no addons.

Notes links in Canvas are hard coded to a specific location (there is no way to make them dynamic). Daily notes must be located in daily folder.

If you want different location, you will need to open canvas file in any text editor and replace file paths.

I opened the folder with no modifications; everything was in the “daily” folder.

Was the daily folder put into the top level? It can’t live in any other folder. I had my vault folder / journal folder / daily notes folder. But, for all this to work, I had to put the /daily folder from the zip in to the main vault folder by itself. Then everything works.

1 Like

Yes, the daily notes folder is in the root of the vault.

This is a really great concept Antulik

Task management isn’t fun at the best of times in Obsidian

Great work!

For those that use the TASKS plugin, turn on the “Dates from file names” setting along with the folder you have your 2025 notes in to let you query those based on the daily note they are in.

Then you can add tasks to your Daily notes without due dates and you can use “happens” or “scheduled” to list tasks in the daily notes. Put this in a TASKS code block to show any task with an explicit due date from tomorrow and a month from now or any task listed in a daily note with a date between that time frame.

not done
happens after today
happens before in one month
3 Likes

thanks

1 Like

I successfully moved it to a different folder without breaking the links in my canvases or disrupting the links in 2025 Calendar file’s table. To do this, I used Finder/Explorer and the Obsidian move function. First, I placed the daily folder in the desired location within my vault. Then, I deleted all the files except for the 2025 Calendar. After that, I added the daily folder again to the root section of the vault and moved the remaining files to the desired location using obsidian functionality.


1 Like

Antulik - Have you shared the ruby script that generates the markdown files automatically ?

Its not clear why you did that

Hello Antulik, i’ve been playing with your 365 files. Here’s my thought. Your Ruby script which generates these files does a fine job at generating a hyperlinkable frame which builds jumps from week to week and month to month and allows for a mega canvas menu for all weeks of all months for the whole year. However, here is the gotcha, I’m surprised to see there is no intgration of code blocks which attempt to pick up the tasks of a prior day and roll them over in weekly summaries in they very list for a weekly review. So as we go along, on each day, and we start adding tasks that originate from a particular day, it’d be nice to see the weekly and monthly summaries be able to list all tasks ‘up to the day’ using the tasks plugin codeblocks. So this is why I think that the script which generates these files should be opened such that it would be possible to add the code to do the tasks plugin queries. So I’ve created a filed called Append.txt in the ‘daily folder’ containing:

# All tasks:

```tasks
hide backlink
hide id
hide due date
hide created date
hide scheduled date
hide priority
not done
```

Then I create the shell script:

#!/bin/bash
# Define the directory where the markdown files are located (change if needed)
TARGET_DIR="."

# Loop through weeks 1 to 52
for week in {1..52}; do
    # Zero-pad the week number to ensure format 01, 02, ..., 52
    week_padded=$(printf "%02d" $week)

    # Define the filename pattern
    FILE="${TARGET_DIR}/2025-W${week_padded}.md"

    # Check if the file exists
    if [[ -f "$FILE" ]]; then
        # Append the contents of append.txt to the matching file
        cat append.txt >> "$FILE"
        echo "Appended to $FILE"
    fi
done

echo "Done processing files."

Then I ran the shell script to get each of the 52 weekly files to also be appended with the above code block.

So this way, at least all of the weekly displays, pick up a list of all pending tasks from all of the daily entries.

What do you think ?

The script which generates 365 days of daily files plus 52 weeks of weekly files, plus 12 months of monthly files, and hyperlinks everything to everything, is something worth contributing so that people can modify it. I’m willing to help as I would like to use this and want to make sure I do not fall flat footed in 2026 if you’re not there to generate all files :wink:

3 Likes

The forum screws up the code block. Here are the scripts.
add-tasks-to-weeklies.zip (759 Bytes)

I’ll edit your post.

You can surround a 3-tick code block with a 4-tick code block. And I’m showing it with 5-ticks:

```` extra ticks here
```
your code here
```
````
1 Like

Thank you for explaining your approach.

There are many approaches for notes and tasks management in obsidian. The approach you took is exactly what I would recommend and follow my self. My personal daily notes are built on top of the generic templates I published.

Instead of people writing scripts for each use case, I prefer to provide a generic plain markdown templates with placeholders, so people can modify them later themselves.

I’m considering to add special placeholders in notes, so you can “find & replace” those placeholders directly in obsidian without any scripts.

2 Likes

Thanks a lot for making your system available. I came across it yesterday and was very impressed. It is a great system.

1 Like

Thanks for this.. #rockstar

1 Like

I built a template generator so you can customise your own templates. Check it out here

Currently it only does 2025, but I’ll change that later. Let me know what you think.

2 Likes

Waiting for 2026 :drooling_face:

Thanks for letting me know. It’s now exporting 2026 :woman_dancing:

2 Likes