2 hours ago · Tech · 0 comments

In my last post on Obsidian I talked about the problem of getting an inbox to obsidian on mobile. What I haven't covered is processing and writing those captures. While the reason to use Drafts.app is the quick capture, an underappreciated aspect is to have one location for all my "in progress" thoughts. So often in the years that Drafts was in my iOS dock a half-baked shower thought would progress into a blog post over the following weeks. As I shifted to using Obsidian for all my mobile writing/note-taking I used the folder of time-stamped drafts for holding the thoughts, but getting to them and processing them wasn't very easy. I had a simple dataviewjs thing for viewing the folder in a Inbox.md: const files = app.vault.getFiles() .filter(f => f.path.startsWith("inbox/")) .sort((a, b) => b.stat.ctime - a.stat.ctime); const items = await Promise.all(files.map(async f => { const content = await app.vault.read(f); const preview = content.replace(/^---[\s\S]*?---/, "").trim().slice(0,…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.