zadam/trilium

https://github.com/zadam/trilium
Haven’t tried this myself yet, but it seems very useful!