Hi all,
First of all many thanks for the development of org-roam, it’s been a remarkable tool to use.
I have a question about how people are handling binary files.
I take a lot of notes by text but I also take many notes that can’t be easily reduced to just text but should be first-class citizens in the notes system. For example a calculation in Mathematica or a Jupyter notebook, something hand written in Write as svgz file, a photo of a whiteboard.
For more formal references like research publications I use Zotero and ORB and I add notes to my org-roam database with lose coupling to the reference via the citekey. But there are a lot of files that I don’t want in Zotero, or they are still changing (I might add to a calculation in Mathematica or Write for instance).
My current solution is to have a Files/ dir in my notes dir, and every binary file should have a ‘shadow’ org note with a link to that binary file in #+ROAM_REF. The relative path of the file is a unique id. The org file then has a description of the binary file and handles any metadata like tags and links.
This sort of works but feels clumsy and is easy to break by adding a binary file and forgetting to create the shadow org file. Also sometimes a directory is the object I want to add to my notes - e.g. a latex file with figures, the individual files are not the ‘note’, and the generated pdf is too static.
So I’ve been toying with the idea that each note should be a directory .note/ which must contain a .org but may also the contain binary files. This structure is conceptually simple, robust, easy to write scripts for but potentially heavy if most notes are just text.
Does anybody else have a similar need and have some neat solutions?