I would like to have encryption for the data at least before pushing to github.
The idea is to encrypt the content before writing to the virtual file system, or the real file system. And decrypt when reading them.
I’m thinking to use tweetnacl.js which should be easy to integrate. In the setting the user can enable a toggle box and a input box would appear with the generated encryption key. I’m thinking to generate a paper key similiar to how keybase does it, by encoding the nacl secret key as short english words.
Then you can write down the encryption key and use it on other devices.
Mockup settings page: