Coder Social home page Coder Social logo

[FR] Server sync about appflowy HOT 14 CLOSED

maticrivo avatar maticrivo commented on May 4, 2024 12
[FR] Server sync

from appflowy.

Comments (14)

annieappflowy avatar annieappflowy commented on May 4, 2024 8

1~3 main use cases of the proposed feature Are there plans to have a server one can self-host for syncing files between multiple devices (computers, cellphones, tablets...)? Alternatively it can be a good option to let the users decide where to store the sqlite database (dropbox, icloud, google drive, etc...)

what types of users can benefit from using your proposed feature Every user that uses more then 1 device

Additional context Nothing to add besides this is a great project and it looks great!

Thanks a lot for your inputs. End-to-end encryption sync is sitting on our roadmap. This is something that users with more than one device would need. Your alternative plan sounds promising. I'm wondering where you'd like to store? Is there any data security concern?

Annie

from appflowy.

emengweb avatar emengweb commented on May 4, 2024 7

self-host and share with peoole like website :D

from appflowy.

iBobik avatar iBobik commented on May 4, 2024 5

Some ideas, what do you think?

  • Would be nice (and cheap) to symmetrically encrypt per file and allow user to share by links.

  • There could be multiple kind of keys - owner, edit and view. Owner can manage them, generate multiple links with different keys etc. Owner keys could maybe be asymmetric public keys, edit key just random string.

  • By default owner file keys are stored in user account and view keys in parent folder (in a link to the child file?). User can get share link like: https://share.appflowy.io/FILE_ID#view=FILE_KEY&edit=EDIT_KEY.

  • On the server there will be dump CDN with SPA. It will get file by its ID from S3-like storage, decrypt by view key in hash and render. So viewing files will be cheap.

  • For saving and colaboration there will have to be some backend which will check edit and owner keys. Also it can enforce billing.

  • For sake of freedom there could be not only super simple to use official paid cloud, but also option to store plain markdown files anywhere (local, Dropbox, Drive, iCloud, …).

from appflowy.

annieappflowy avatar annieappflowy commented on May 4, 2024 3

We now support self-hosting AppFlowy: https://docs.appflowy.io/docs/guides/appflowy/self-hosting-appflowy

from appflowy.

bgervan avatar bgervan commented on May 4, 2024 2

I am working on a flutter + hive (can be other DB if it allow to define base class) + crdt + django channels backend package.
Would it be something Appflowy is interested to use? If they implement offline working with that, my package can sync with django backend real time. For one user with multiple device it already works (need to clean the code etc). For multiple user I need to improve it. Of course the django app can be self hosted

from appflowy.

xezzon avatar xezzon commented on May 4, 2024 2

Will WebDAV be supported?

from appflowy.

markosole avatar markosole commented on May 4, 2024 1

You may have few options:

  1. Store on Google Drive and share between devices
  2. Create Server API with realtime DB and storage on AWS S3 bucket.

Depends of complexity and requirements.

from appflowy.

iBobik avatar iBobik commented on May 4, 2024 1

Tell me about some specific alternative and I will compare it 😉

But generally usual solutions does not care about privacy and want to motivate more people to create accounts or at least generate leads (collect contacts).

Also my proposal is cheaper to operate. (At least view only sharing.)

from appflowy.

jjeejj avatar jjeejj commented on May 4, 2024

Minio , S3 Or other object storage

from appflowy.

remram44 avatar remram44 commented on May 4, 2024

Duplicate of #540

from appflowy.

annieappflowy avatar annieappflowy commented on May 4, 2024

#602

from appflowy.

annieappflowy avatar annieappflowy commented on May 4, 2024

Thanks, @iBobik for your input. I'm learning new things from you!
What benefits would you gain from assigning different keys for different permissions compared to other alternative ways of managing permissions?

from appflowy.

iBobik avatar iBobik commented on May 4, 2024

Also that view only sharing could be very simple to implement.

from appflowy.

almereyda avatar almereyda commented on May 4, 2024

Is there a chance that this is now implemented with AppFlowy-IO/AppFlowy-Cloud?

from appflowy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.