Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync with syncthing? #106

Open
ghost opened this issue Aug 22, 2019 · 1 comment
Open

sync with syncthing? #106

ghost opened this issue Aug 22, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 22, 2019

Is it possible to use syncthing to sync? I managed to make it somewhat work by sharing the storage/default/https+++app.encryptic.org/idb folder on Firefox, but it's really messy and tends to break the app (stuck on loading) or Firefox itself (websites won't load anymore and it needs a refresh). Is there a better way of doing this, or should I really install a remotestorage server?

@daed
Copy link
Member

daed commented Aug 24, 2019

The answer to that is a complicated maybe. It is something that I am certain could be done with the electron app without problem. The issue with doing it on the web version is that there isn't really a clean way to manipulate files from browser javascript alone. Chrome supports a method (that might also work in Firefox) but Safari and other browsers treat it like it's just a file download, which wouldn't be practical for more than a note or two as it would require user interaction between each one.

I'm not opposed to making this a feature, but I've been wanting to keep the electron version as identical to the web version as possible so that we don't have issues like missing functionality on one compared to the other, but this is probably the 3rd or 4th feature request that would result in divergent code, so maybe that's just how things are going to have to be.

It occurs to me that putting data to the filesystem for this would cover a considerable number of other requested roll-your-own sync methods like scp/rsync/nfs/smb. It might actually also work better for the dropbox implementation. I'm probably just going to have to buckle on the "web same as electron" mentality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant