They open-sourced the front end for a specific build, which is still available. But you are correct- the backend and most recent frontend are not open source.
Obsidian has the lead on convenience with their $8/mo "Publish" environment.
Joplin has some self-hosted dockerized options I think.
I bel...