Why not use Apple notes
- everything end-to-end encrypted by default
- public APIs, create your own client (still with e2e encryption)
- self host
- markdown support
- import from google keep
- open source
BTW anytime a notes app comes up I feel the need to let people know that there is an option to bulk download your apple notes at privacy.apple.com