node, git
git clone to a dir, run $node server.js. visit http://localhost:4321 . if you are new, a popup appears and require you set a password to protect random generated aes key. after you set key, you can write name and content. "save" button will save your file encrypted in encrypted dir.
git init in encrypted dir. use "push" to sync files.