The best way to local-first
Replicache is a client-side sync framework for building realtime, collaborative, local-first web apps. It works with most backend stacks.
Users see each others’ changes live, as they happen. No refreshes, no locking.
Say goodbye to roundtrips and progress bars. All reads and writes are “optimistic” by default.
Applications can go offline for hours or days and sync up smoothly when they come back online.
Replicache is client-side technology and works with most backend stacks.
It just works
Conflicts, tabs, schema migrations – Replicache handles the hard parts. You’ll find it’s even more productive than traditional web frameworks.
How it works
On a user's first visit, Replicache downloads an initial chunk of data and stores it persistently in the browser.
The application reads and writes only to its local copy of the data. Thus the application responds instantly to all interaction by default.
As the user moves through the app, additional data is downloaded as necessary. Replicache synchronizes changes to the server and other clients continuously in the background. Users see each others’ changes live.
Conflicts happen if two users edit data concurrently. Replicache merges conflicts using a form of server reconciliation — an intuitive and powerful technique from multiplayer games.
If sync can’t happen because the server is down or there’s no network, changes are queued persistently until the server comes back. Replicache apps can smoothly transit online, offline, and unreliable networks.
Who’s using Replicache?
Replicache is free to use for non-commercial projects, or for companies with < $200k revenue (ARR) and < $500k in funding.
For other commercial projects, the first two months are free, and then we charge based on the number of monthly active profiles.
Get started now
Need a hosted solution? Say hello to Reflect.