Hi, I am pondering about integrating todo.txt and Obsidian. The todo’s in the mardown pages are easily identifiable and can be written to a todo.txt file or synced with an existing one. For example
- [ ] Buy milk on a page called Shopping.md could translate to a task like;
+Shopping Buy milk
Less obvious matches can be included in the todo item itself, for example if I make a daily note with a task
- [ ] Get invoice about XYZ on a daily page called 2020-06-27.md could translate to a task like;
[[2020-06-27]] Get invoice about XYZ
Or maybe use todo.txt metadata to keep the link. The nice thing about getting this syncing bi-directionally is that if I add another one in todo.txt like;
[[2020-06-27]] Another task
And I do a sync, it can be added to the page with the same name. Since todo.txt is well established I am experimenting with extracting the todo’s for a work log, but keeping them in sync with the obsidian notes. Bi-directional syncing is even better but I am aware there might be conflicts if task items with the same name occur multiple times on the page or when one task gets renamed in todo.txt but not on the daily note. The safest way is making sure that the information is always merged without information loss on either sides (e.g. stuff can be duplicated, but not accidentally removed).
Would like to hear thoughts. I want to eventually try to make a plugin, but there is no API yet as far as I can see so I might start with a concept in Python first.
Actually found a really simple workaround. You can just change the todo.sh config file to save output to a todo.md inside your obsidian vault. Then you can just directly use links and backlinks to put the information in the right place.
Neat idea, however I would appreciate a plugin that actually also allows the look and feel of a real todo manager when it aggregates all checkboxes present in Obsidian. But I’ll take it, it’s a smart workaround to keep stuff together