Marrow
Notes as plain Markdown files, in a folder you own.
Link notes with [[wikilinks]], see backlinks, explore a graph, lay notes out on a canvas and search everything. Your notes stay ordinary .md files, so they open in other Markdown apps too.
For Windows, macOS, Linux and Android, with iPhone and iPad apps built from source. MIT license.