Laverna: Self-hosted Evernote alternative
I'm not that excited by Lavema, but it lead me tagspaces (<a href="http://www.tagspaces.org/" rel="nofollow">http://www.tagspaces.org/</a>), which seems much more awesome.<p>It just saves to your local filesystem, so you can sync with drive or dropbox if you want, layer some encryption in between with fuse. 
There's a mobile client, but you'll have to keep the note directory synced manually with a 3rd-party app.