2024.11.07
π° News & Discussions
devtools.fm Episode #120: Nate Wienert - Tamagui, One Stack, Zero, and Universal Apps
"This week Nate Wienert stop by for a second appearance. Nate is the creator of Tamagui, a framework for building universal apps with React Native. That work led him to create One Stack, a framework for building local first universal apps with React Native."
API Calling is to Sync Engines as jQuery is to React
"Wrote something on how going from APIs to sync engines to transfer data between server<>client is similar to going from jQuery -> React. Both are imperative to declarative, abstracting away complexity β sparked by a convo with @schickling" - @cahofmeyr
Streaming Joins Are Hard
Streaming joins is a difficult problem faced by some sync engines. "When working with batch processing in databases, joining tables is straightforward and familiar. However, when you try to apply the same principles to real-time streaming data, the complexity increases significantly." See also HN discussion.
Building high-performance local-first apps with Legend State (upcoming workshop)
"π We're excited to announce our first workshop with @jmeistrich at #RNLConf!" November 14 & 15, 2024, London, UK.
π οΈ Tools & Resources
A Map of Sync
"In this document, weβll present a taxonomy for sync that organizes a few sync platforms across nine different dimensions and then walk through the dimensions one at a time." By @sujayakar314.
Introducing Offline Writes for Turso
"For a while now Turso has supported Embedded Replicas, which is the ability to embed your Turso database locally and read from it with zero network latency, even while offline. But one of the most common requests from Turso users has been to be able to write to the local replica as well."
CouchDB: Offline-first multi-master synchronization using Docker and Docker-compose
"In this post, I'll show how to simulate a multi-master synchronization with Apache CouchDB considering an off-line scenario."
Ink & Switch Dispatch 007: Automerge updates
"Itβs been a summer of change for Automerge, the local-first data library developed at Ink & Switch. Recently the team shared updates on three ongoing projects at a community call" - a summary of the recent Automerge updates previously included in Local-First News.
Astro: Local Vector Database in-memory in TS
"It was so annoying to figure out how to connect React or Electron.js apps to vector databases that used Docker or an external server. I only needed max 100k vectors, so I built this local in memory HNSW implementation and thought I'd open source it ... With local-first AI applications getting popular, I thought it'd be useful for local side projects." - SuperSaiyan1010 on Reddit
β¨ Apps
Aide - The open-source AI-native IDE
"We ship a binary called sidecar which takes care of talking to the LLM providers, preparing the prompts and using the editor for the LLM. All of this is local first and you get full control over the prompts/responses without anything leaking to our end (unless you choose to use your subscription and share the data with us)" - Show HN
Lix - The world's first change control system
"Building apps op top of Lix fulfills properties of local first but goes beyond it" - @samuelstroschei
How to Contribute
Anyone can contribute to Local-First News with a pull request. Instructions and guidelines available here.