Skip to content

Rust script for the Templater Obsidian plugin to carryover uncompleted To-dos from my vault's daily notes.

License

Notifications You must be signed in to change notification settings

v-rogg/obsidian-carryover-todos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Carryover Script for Obsidian Daily Notes To-Dos

Rust script for the Templater Obsidian plugin to carryover uncompleted To-dos from my vault's daily notes.

My Daily notes have a section looking like this when filled:

---
filename: 2023-08-31.md
---

## 📌 Today's Goals
 
**Subsection A**
- [x] Completed To-do
- [>] To-do saved for tomorrow

**Subsection B**
- [/] To-do half-completed
- [-] To-do canceled
- [ ] To-do uncompleted (not started)

This script carries over all uncompleted To-dos when a new file is created using Templater:

---
filename: 2023-09-01.md
---

## 📌 Today's Goals
 
**Subsection A**
- [ ] To-do saved for tomorrow

**Subsection B**
- [/] To-do half-completed
- [ ] To-do uncompleted (not started)

Note

To fully use the custom checkboxes a custom theme like Minimal's Checkboxes or my snippet is recommended

Installation

Requirements

Set up Templater

  1. Set Enable User System Command Functions to True
  2. Create a User Function with carryover_todos:<path_to_script>/carryover_todos "<% tp.file.folder(true) %>" "<% tp.file.title %>". Replace <path_to_script>
  3. Add the user function to a template like <% tp.user.carryover_todos_rust({"section_title": <section_name>}) %>. Replace <section_name>

Compilation

Requirements

  • Having Rust/Cargo installed locally

  • Run cargo build --release

About

Rust script for the Templater Obsidian plugin to carryover uncompleted To-dos from my vault's daily notes.

Resources

License

Stars

Watchers

Forks