TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: SQLite offline first sync options?

4 点作者 nate大约 1 年前
I&#x27;m confused, and my AI chat buddies seem to be too. I have an iOS React Native app that stores data in a sqlite db. What are the best options these days for getting that data synced to the cloud and back?<p>My goals:<p>- offer this local data as something users can maybe alter and use from a web app or another device. There won&#x27;t be a lot of frequent real time merging and syncing going on. I imagine it&#x27;s going to be an infrequent sync operation. - I&#x27;d rather not rewrite everything to use a different datastore. - I see there are sqlite merging and hosting options (fly.io and litesync.io) but I&#x27;m not quickly groking if they are what I want here.<p>Really curious what you all are doing with projects similar to this.

1 comment

ochiba大约 1 年前
I am quite familiar with this space. What is your backend&#x2F;database stack? That is a factor.<p>I&#x27;m a cofounder of PowerSync [1] which provides bi-directional sync between Postgres and SQLite and has a client SDK for React Native.<p>There is an RN tutorial that may be helpful [2]<p>[1] <a href="https:&#x2F;&#x2F;www.powersync.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.powersync.com&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;bndkt.com&#x2F;blog&#x2F;2023&#x2F;building-an-offline-first-chat-app-using-powersync-and-supabase" rel="nofollow">https:&#x2F;&#x2F;bndkt.com&#x2F;blog&#x2F;2023&#x2F;building-an-offline-first-chat-a...</a>
评论 #39784807 未加载