TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Offline-First with CouchDB and PouchDB in 2025

68 pointsby felideon18 days ago

6 comments

matlin17 days ago
PouchDB and CouchDB were what inspired me to build Triplit[1]. The idea of having an identical (or merely similar in the case of Pouch&#x2F;Couch) query engine accessible on client and server is insanely powerful.<p>The author links to a much longer post on handling conflicts which is worthy of its length because it&#x27;s not a pleasant experience with this setup.<p>I highly recommend trying a modern setup from one of the many new local first solutions [2]<p>1. <a href="https:&#x2F;&#x2F;triplit.dev">https:&#x2F;&#x2F;triplit.dev</a><p>2. <a href="https:&#x2F;&#x2F;www.localfirst.fm&#x2F;landscape" rel="nofollow">https:&#x2F;&#x2F;www.localfirst.fm&#x2F;landscape</a>
评论 #43867038 未加载
评论 #43865935 未加载
评论 #43870641 未加载
评论 #43866220 未加载
评论 #43865980 未加载
spiffytech16 days ago
I would love to see a sync solution that didn&#x27;t want to replace my datastore, or mediate all access to it.<p>This approach means the tools have to be good at not just sync, but also querying, business logic, validation, authn, authz, trigger background jobs, etc. That&#x27;s a lot!<p>I&#x27;m not trying to eliminate my backend, nor an all-in-one frontend DB. I&#x27;ve tried tools that do that, and I&#x27;ve come to think the approach has severe limits.<p>I wonder if there&#x27;s not a way to offer a two-way stream of data change events, with conflict detection&#x2F;resolution, which I can process with my own code.
评论 #43875349 未加载
k__16 days ago
I had quite the offline-firat déjà vu, when I saw local-first trending the last two years.
chrismorgan16 days ago
&gt; <i>Vite, well, it’s in the name. Fast build tooling.</i><p>Can someone explain this to me? I’m clearly missing something about its name.
评论 #43866861 未加载
tty716 days ago
I used PouchDB w&#x2F; CouchDB as the datastore for a digital wallet. Used to store ZKs for proof of age etc.<p>Worked a treat
jimbobthemighty16 days ago
CouchDB - is JD Vance a power user?