Emil from ownCloud asked me for an interview about QOwnNotes. Here are his questions and my answers.
In late 2014 I needed a way to quickly take notes with one keyboard shortcut and the current date in the filename (until I have the time to change it to something better). The notes should be stored as simple text-files in a directory so I can sync them easily. The desktop-software needs to run on every popular operating system.
After trying out several text-editors I found none that could really do that in the way I liked it, so I wrote my own. :)
I chose Qt and C++ as platform because as long-time KDE user I love the framework and always wanted to create a Qt application to "scratch my own itch".
Since then 405 new versions of QOwnNotes were released.
I cannot remember if I used ownCloud before or because I created QOwnNotes, but I loved ownCloud because it was FOSS and I could host it myself and as PHP-developer it also was a great fit for me. ownCloud notes met most of my requirements for note-taking in the web at that time.
Scripts are written in JavaScript (inside QML files). There are a lot of examples on https://github.com/pbek/QOwnNotes/tree/develop/doc/scripting and you can always use the scripting repository at https://github.com/qownnotes/scripts as reference for new scripts.
There is a documentation of all the API calls on http://docs.qownnotes.org.
You can use as many private and local scripts as you like and if you want make a script public you can create a pull-request on https://github.com/qownnotes/scripts.
Note encryption is by default done by the Botan library with AES-256.
You can also use your own encryption with the help of the scripting engine. There are already scripts for encrypting notes with PGP (PGP Encryption) or Keybase (Keybase Encryption).
I guess the main weak point of the encryption would be the password you are using to encrypt a note.
If you encrypt a note you loose the ability to find text in it with the note-search functionality, because the encrypted note-text is stored base64-encoded in the note text-file. The headline isn't encrypted.
Only for the preview if a fully fledged browser will be used for the preview somewhere in the future, which would have advantages (usage of JavaScript libraries in the preview, fewer html rendering errors) and disadvantages (bad backward compatibility, issues with printing/exporting, larger applications size, larger memory footprint, possibly slower rendering speed).