Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wrote my own note-keeping system[0] and very much wanted all of the notes to just be markdown files on the disk. It turns out that there are trade-offs to this. If you want plaintext markdown files on disk AND want fancy features like file versioning, a search index, tags, etc then you need to store all of that metadata somewhere and you're down writing a half-assed implementation of a DBMS.

Now, you can certainly bite the bullet and full-ass the implementation like Dokuwiki did, but that is really quite a lot of work and effort against simply `import sqlite` and writing a couple of tutorial-level queries. And it turns out that exporting all of your documents to plaintext, if you should so choose, is a one-line command away.

[0]: https://github.com/cu/silicon



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: