5 ms·
I want to build local first software backed by EdgeDB. Similar to these tools: - https://replicache.dev https://replicache.dev - https://github.com/tantaman/c
by nikivi 4y ago
I want to build local first software backed by EdgeDB. Similar to these tools:
- https://replicache.dev https://replicache.dev
- https://github.com/tantaman/conflict-free-sqlite https://github.com/tantaman/conflict-free-sqlite
- https://aphrodite.sh https://aphrodite.sh
I wonder if EdgeDB provides any utilities to make this already perhaps? Or community has to build some kind of CRDT software that builds on top of EdgeDB that will do local syncing? Maybe that's planned to be tackled for 3.0?
- 1st1 4y agoWe don't have that yet. Maybe it will be possible to bootstrap EdgeDB to run on top of SQLite, but that will be a ton of work and limit the schema/language. Nothing prevents you from just running EdgeDB or even bundling in your app except packaging that can get a bit hairy.
- jitl 4y agoIsn't EdgeDB a python program? I fear python packaging - especially inside a browser or Android device.
- 1st1 4y agoIt's a mix of Python, C, Rust, Cython, etc. It's fully safe-contained though, the fact that there's some Python inside is an implementation detail, you'll never know that as a user.
- jitl 4y agobut, I would know as an app builder if I was running EdgeDB against a local datastore on a user's device, right?
- fnord123 4y agoCouchbase-lite seems to do what you're asking. It's backed onto sqlite. It's more sync based than crdt based afaict.
- qwertox 4y agoAdding ObjectBox to the list. https://objectbox.io/ https://objectbox.io/
- tadfisher 4y agoUnfortunately ObjectBox has a proprietary core, which is unfortunate as I'd love to modify it for experimental uses.
- greenrobot_de 4y agoAny questions on ObjectBox, happy to answer. We believe (and get the feedback) we've made the APIs very intuitive :)
- glommer 4y agoCurious if you've taken a look at ChiselStrike (disclaimer: founder here) ChiselStrike translates typescript to sql transparently (https://blog.chiselstrike.com/my-other-database-is-a-compiler-10fd527a4d78 https://blog.chiselstrike.com/my-other-database-is-a-compile...) and works well with Replicache (https://blog.chiselstrike.com/offline-data-access-a-dream-come-true-64362de1a981 https://blog.chiselstrike.com/offline-data-access-a-dream-co...)