Ezhik 2025-08-18 10:57:28 Making a little Obsidian plugin that lets you cook small apps right inside of your vault.
I find boilerplate annoying for little experiments, so I got rid of all of it. Each file is a standalone little app that automatically gets built and executed.
Data persistence is also usually a pain, so it's nice to be able to just do it HyperCard style and have changes auto-save right to the file.
Cole Lawrence 2025-08-18 16:56:27 Does the data get persisted directly into the md text like Logseq?
Ezhik 2025-08-18 17:15:38 Right into the source code file, export const persistentData
gets updated with whatever you put in there frontmatter-style.
Ezhik 2025-08-18 17:15:58 There's no corresponding .md file here, that source file on the left is what's stored in the vault.
Kartik Agaram 2025-08-18 19:10:56 I add a feature and add a toggle of state for it. Then I add another feature and add another toggle. Do I really need to handle 4 possible states now, or just 3, i.e. I have an enum in disguise 🥸? I keep making this mistake. Designing things up front is easy, but I find it impossible to reliably avoid mistakes when adding to an existing design.