I’d like to propose the idea of Sidecar files for our Obsidian Notes. Much like sidecar files are used in digital photo file formats, they hold nothing but constructive modifications to the main file. In other words, if the sidecar disappears, nothing distructive happens to the original.
The sidecar exists to enable advanced operations that couldn’t or shouldn’t be done in markdown. It has the potential to be incredibly powerful. But also safe, so if a plugin retires or sidecar function stops working or disappears in any way, our Note content remains as is.
The sidecar could have the same name as the Note.md but with a period prefix .Note.sc so as to be hidden from view.
Any plugin that works with sidecar files could stake claim of a section of the sidecar with unique heading identifier for that plugin. Then use its section however it wants. I envision lots of XML structured data.
I think a whole ecosystem of intelligent data accessories could be created from this structure. I’ve only thought of a couple ideas so far.
External Link and Transclusion Management
A snapshot of markdown from any embedded content from external sources can be held in the sidecar. Then if the orignal, which we have no control over, changes at some future date, a plugin could either notifiy us by our preferred messaging app, or provide an indicator in our Note that signals that the content is different than originally referenced. Then give us the choice to keep the new transclusion and update the sidecar, or forsake the transclusion for a static version of the original content.
Version Control
Playing of the Transclusion Management idea, sidecars could provide the foundation for a version control system for our Notes.
Better Template Access and Management
Hidden Area for Auto-generating Content
One plugin could manage sidecar space and scraping data from the web, another plugin could then process that data on a set schedule and generate or replace static content in the main Note. We could have our Obsidian Daily Page show a set of icons at the top of the page that show weather predictions for that day.
I’m curious what kind of ideas this inspires from the Obsidian community. What would you do with a sidecar?