Plain files first
When we started Blocknotik the first decision was also the most boring one: a note is a file. Not a row in a database, not a blob in a sync service, a .md file in a folder you chose.
It sounds like a non-feature, but nearly every other choice follows from it. Search has to work on files that other programs may change at any moment. Renaming a note is renaming a file. Backups are whatever you already use for your documents.
The index is a cache
Blocknotik does build an index, because scanning ten thousand files on every keystroke is not pleasant. The rule we set is that the index can be deleted at any time without losing anything. On start the program compares modification times and sizes, re-reads what changed and carries on.
notes/ 2026-11-24 groceries.md projects/shed.md .blocknotik/index.db <- safe to delete
In practice this means bugs in the index are annoying rather than dangerous. We have shipped two of them already and nobody lost a line of text.
What we gave up
Plain files make some things harder. There is no place to hang rich metadata without inventing a format, so we use a small front matter block and nothing else. Real-time collaboration is out of scope. We are fine with both.