3 ms·
Is there some version of local-first that doesn't require a webserver, but does seamlessly sync state to a consumer cloud service like Google Drive? I'd love to
by xnx 2y ago
Is there some version of local-first that doesn't require a webserver, but does seamlessly sync state to a consumer cloud service like Google Drive? I'd love to write apps that have all the speed and portability of local apps, but the data isn't tied to a specific device. It seems like it would be feasible to have a large JSON blog background synced to a cloud file service after some threshold of accumulated change or time.
- michaelmure 2y agoNot a file storage but https://github.com/git-bug/git-bug https://github.com/git-bug/git-bug push and sync with any git remote. There is a generic data structure you can use to build your conflict-free type.
- ochiba 2y agoThis made the rounds on HN recently: https://tonsky.me/blog/crdt-filesync/ https://tonsky.me/blog/crdt-filesync/ A PoC of using Dropbox for a local-first app
- chris_pie 2y agohttps://remotestorage.io https://remotestorage.io while it's a specific protocol for storing user data on a compatible server, their library also provides Google Drive integration
- felipefar 2y agoThere's already been some talk of using consumer cloud providers. One shortcoming however is that to work well you have to duplicate the users' data for each client app, so you'll consume x times more storage space of the user. This is fine for apps with little data, but is impractical for other apps.
- yunusefendi52 2y agoI built my habit tool app using Google Drive (app-spesific directory), it can sync between device, though it has a bug (in my code) sometimes cannot sync some data so I have to resync everything from scratch. No server needed. Currently android only, don't have ios dev subscription https://play.google.com/store/apps/details?id=com.yedev.habittrackertool https://play.google.com/store/apps/details?id=com.yedev.habi...