You can just use the filesystem and markdown files. That is a common way for applications to store note type data locally. This is what tools like Obsidian do and has the advantage of being easy to get the notes out if you want to use a different tool.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies: