Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Switch to NoSQL with server sync capabilities #721
Currently Aedict's way of storing data is really REALLY old and crappy, you can read about this more here: https://www.patreon.com/posts/true-cloud-7533022
So, the logical solution is to move to NoSQL databases with server sync capabilities. Possible solutions are:
The problem with CouchBase is that the ForestDB engine is untested and buggy: https://github.com/couchbase/couchbase-lite-java-core/issues/1536 https://github.com/couchbase/couchbase-lite-java-core/issues/1533
I'm not sure whether I wish to use the SQLite engine - it's slower and it's getting replaced by the ForestDB engine.
Please read https://www.patreon.com/posts/aedict-online-on-7838397 and https://www.patreon.com/posts/its-done-and-out-7893290 for more information for more information about how it works and how to enable it.
Basically, the sync now works in scope of individual notepad entries: every notepad line now has an ID - if that line is deleted, the delete is propagated to all devices. It is a huge improvement over previous backup/restore style which would simply zip entire notepad and overwrite anything you had on your device.