4 ms·
I've been hanging local-first circles but haven't made to switch to write anything with it yet. Is there a typical stack people recommend to get started? I'm no
by NeutralForest 2y ago
I've been hanging local-first circles but haven't made to switch to write anything with it yet. Is there a typical stack people recommend to get started? I'm not really sure where to start, especially in terms of backend.
- paulgb 2y agoI’m biased as one of the authors of Y-Sweet, but I think Jake’s choice of Yjs + Y-Sweet is as good as any to start with. We’ve worked a lot at making the localhost environment easy to get started with, and Yjs is the de facto CRDT with the most written about it. https://github.com/jamsocket/y-sweet https://github.com/jamsocket/y-sweet
- NeutralForest 2y agoI'd like to start with something that's more DB oriented like SQLite both locally and in the browser for example but I understand a documented-oriented approach might make more sense.
- paulgb 2y agoIn that case, there are a number of recent options. https://www.instantdb.com/ https://www.instantdb.com/ and https://electric-sql.com/ https://electric-sql.com/ come to mind. I wrote about a number of them here: https://digest.browsertech.com/archive/browsertech-digest-trip-report-local-first-conf/ https://digest.browsertech.com/archive/browsertech-digest-tr...
- NeutralForest 2y agoThank you!
- ochiba 2y agoThere is a fairly comprehensive list of frameworks/tools here: https://localfirstweb.dev/ https://localfirstweb.dev/ I work on PowerSync and we did a Show HN last year: https://news.ycombinator.com/item?id=38473743 https://news.ycombinator.com/item?id=38473743 Also see InstantDB Show HN: https://news.ycombinator.com/item?id=41322281 https://news.ycombinator.com/item?id=41322281
- matlin 2y agoYou'd probably enjoy Triplit then--especially if you're using Typescript. https://triplit.dev https://triplit.dev
- JamesSwift 2y agoRealmDB is sort of the goto. They were acquired by mongo which could be a negative signal but the team is solid and I haven't seen it result it much degredation. EDIT: actually... it looks like mongo may have just announced the EOL for server-side component a couple weeks ago... bad timing!