Zettlr is a bit similar to Obsidian and FOSS, but imo lacks a bit in the hierarchical options.
I really like Anytype, too. Also Foss, can run/store everything locally but they also offer hosted plans. It has a different paradigm where everything is typed. But this offers a lot possibilities (linking things, using sets and collections)