notes icon indicating copy to clipboard operation
notes copied to clipboard

Allow changing database path, and synchronization across devices

Open vlasky opened this issue 4 years ago • 3 comments

Hello,

Thank you for creating notes! I am a daily user and I think it's great!

One thing missing is the ability to have my collection of notes accessible from my various PCs (home and office).

I currently use Syncthing under Windows to create a shared folder between several of them.

I would love for notes to have a setting that specifies a custom location for the notes.db file, so I can point it to my Syncthing shared folder.

Notes should also detect when the notes.db file is modified externally (i.e. after the shared folder is synchronized with a remote PC) and then refresh itself.

I'm sure this would be a popular feature.

vlasky avatar Jun 10 '21 13:06 vlasky

Hi, @vlasky!

While I was reluctant in the past to do such a thing, it makes sense to allow people this option. I'm adding this to our to-do list.

Notes should also detect when the notes.db file is modified externally (i.e. after the shared folder is synchronized with a remote PC) and then refresh itself.

I think this should be the hardest part. Checking for conflicts and how to handle them.

nuttyartist avatar Jun 11 '21 14:06 nuttyartist

@vlasky here is how you can do it with dropbox : https://github.com/nuttyartist/notes/issues/109#issuecomment-276342071

theshadowx avatar Jun 24 '21 20:06 theshadowx

Yes, just be aware that Notes will not check and handle conflicts (say when the same notes changed offline on one device later changed on the other device, when later synced online there gonna be conflicts).

nuttyartist avatar Jun 28 '21 12:06 nuttyartist

Done in #302.

nuttyartist avatar Sep 06 '22 07:09 nuttyartist