Comment by rdtsc
A git repo with text files (markdown) with names as tags separated by underscores (foo_bar_baz.md). Edit those with emacs. Periodically commit to be able to browse it by date.
Search by file tags:
ls *tag*
Search by contents: rg topic