4 ms·
Amazing! I was looking to make a very minimal triple-store based client db with lrw sync and triplit looks great. Is the underlying db using wasm SQLite in the
by nnnnico 3y ago
Amazing! I was looking to make a very minimal triple-store based client db with lrw sync and triplit looks great. Is the underlying db using wasm SQLite in the browser? Is it open for contributions? And also any other "competitors" with similar reach to triplit? I've been looking into the current SQLite based + CRDT implementations but not sure how they compare
- matlin 3y agoThat'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.