4 ms·
That's awesome you've already considered of a similar design to Triplit. Re: storage, Triplit can basically bind to any storage capable of providing ordered key
by matlin 3y ago
That's awesome you've already considered of a similar design to Triplit. Re: storage, Triplit can basically bind to any storage capable of providing ordered key values so we have bindings for SQLite but in the browser you're best of doing either in-memory or IndexedDB (both of which are built-in), examples here: https://www.triplit.dev/docs/client-database/storage https://www.triplit.dev/docs/client-database/storage.
Regarding similar projects there are a few you can find on https://localfirstweb.dev/ https://localfirstweb.dev/ but Triplit stands out in a few ways:
* Support for an authoritative server
* Provides an optional hosted cloud service
* Relational querying without SQL
* Partial replication (this is a big one)
* Typescript schemas and type hinting in queries in return types
For more advanced CRDT stuff, the creator of the Fugue List CRDT, created [a Triplit-powered collaborative text editor](https://github.com/mweidner037/list-demos/blob/master/triplit-quill/ https://github.com/mweidner037/list-demos/blob/master/tripli...) using Quill and his [List Positions](https://github.com/mweidner037/list-positions https://github.com/mweidner037/list-positions) library that we plan to have tighter integrations with.