Skip to content

Conversation

@beauraines
Copy link
Owner

new command obsidian to convert tasks to Obsidian Task
format. Tasks are written to the std out and a file with notes and the URL is written the system's OS specific temporary directory
or a new configuration value obsidianTaskDir from ~/.rtm.json.

Currently, this only works for incomplete tasks.

For example, rtm ls icemaker would output

     Personal
4330 (1) descale icemaker 🔁 | Tue Dec-16

and rtm obsidian 4330 would output

- [ ] descale icemaker ⌛30m ➕ 2025-09-28 📅 2025-12-16 🔁 every 3 months �� #Personal 🆔 4330

which could be written to a file in your Obsidian Vault.

rtm ls due:today | cut -wf1 | sort | xargs ./src/cli.js obsidian >> ~/LocalDocs/Test/Tasks/rtm.md

This updates the rtm-api dependency, addds some very basic unit tests.

@beauraines beauraines self-assigned this Dec 17, 2025
@beauraines
Copy link
Owner Author

You may need to look at the date conversion.

gwhites-mbp:mcpo beauraines$ rtm ls list:focus OR due:tomorrow | grep cat
5184 (1) Clean cat box 🔁 #pets | Tue Dec-16
5205 (1) Feed cats 🔁 #pets | Wed Dec-17
5202 (1) Clean cat box 🔁 #pets | Wed Dec-17
3934 (1) Review Atlassian certification extension items 📓 #aim | Wed Oct-22
gwhites-mbp:mcpo beauraines$ cd ~/LocalDocs/Test/Tasks/
gwhites-mbp:Tasks beauraines$ grep cat rtm.md
- [ ] Review Atlassian certification extension items 📓 [[3934]] ➕ 2025-08-24 📅 2025-10-22 🔺 #Work #aim 🆔 3934
- [ ] Clean cat box ➕ 2025-12-16 🛫 2025-12-17 📅 2025-12-17 🔁 every day 🔺 #Personal #pets 🆔 5184
- [ ] Clean cat box ➕ 2025-12-17 🛫 2025-12-18 📅 2025-12-18 🔁 every day 🔺 #Personal #pets 🆔 5202
- [ ] Feed cats ➕ 2025-12-17 🛫 2025-12-18 📅 2025-12-18 🔁 every day 🔺 #Personal #pets 🆔 5205
gwhites-mbp:Tasks beauraines$ date
Tue Dec 16 21:54:39 PST 2025
gwhites-mbp:Tasks beauraines$

I ran this at 9:54PM (still on the 16th but it was the 17th UTC). Check out the cat box with ID 5184. RTM still shows it on 16 but the Obsidian tasks are on the 17th.

There may be a timezone issue here. :(

for some reason dates were off by one day
to keep the Obsidian file list cleaner
Removes `@` from tags and replaces it with `context` when creating tags for Obsidiian
@beauraines beauraines merged commit 23c2b39 into main Dec 17, 2025
2 checks passed
@beauraines beauraines deleted the obsidian-format branch December 17, 2025 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants