@NightOwl As already said, not foss, but obsidian is a really good option. I moved away from Onenot and Notion, and all my files are local in markdown.
@Isotretinoin @dvdnet90 That's great, I subbed too.