You should look at https://github.com/TriliumNext/Trilium. It's what I use every day for the things that you mentioned.
Thanks for sharing. Are you using it on mobile? How is the experience?
Thanks for sharing. Are you using it on mobile? How is the experience?