The iOS, Android, and Electron/desktop app is open source, but the server-side environment is proprietary to Automattic. But, the app supports simple zip export of all your notes, which is nothing more than a directory full of plain text files and a JSON file representing the (optional) revision history. I believe the Automattic team operates the service for free because they use it as a testing ground for development frameworks that then cross over to Wordpress.com and other projects.