Back to browse
GitHub Repository

Offline-first data layer for apps that talk to any backend

2 starsTypeScript

Eremite, an offline-first data layer that can talk to any back end

by MaxGfeller·Jul 19, 2026·2 points·0 comments

AI Analysis

●●●BangerBig BrainSlickSolve My Problem

Zero-server-sync engine handling placeholder IDs and multi-tab leadership without backend changes.

Strengths
  • Leader election via Web Locks prevents duplicate submissions across multiple browser tabs.
  • Tracks placeholder IDs across relations until the server returns real persistent IDs.
  • Separates confirmed state from pending outbox to prevent data corruption on rollbacks.
Weaknesses
  • Competes directly with established players like RxDB, WatermelonDB, and TanStack Query.
  • Relies on developers correctly implementing idempotency keys in their existing REST APIs.
Target Audience

Frontend developers building offline-capable web applications

Similar To

WatermelonDB · RxDB · TanStack Query

Post Description

I started working on Eremite a few years ago when I was building an offline-first webmail. However, the project got canceled at some point, and Eremite was too buggy to release.

Recently, I revived the project, and GPT Sol 5.6 helped me uncover some architectural issues I made back then. This is a complete rewrite, and I'm really happy with how it turned out.

Unlike other libraries, Eremite lets you write offline-first web applications that can talk to any backend. It keeps an optimistic state, which is replayed from all currently pending actions. It's multitab-safe (tabs elect a leader, queued actions are never submitted twice), and there are ready-to-use libraries for React and Vue (support for more frameworks coming soon).

I would love to get your feedback on this!

Similar Projects

LinkedRecords – Back End-as-a-Service with Auth and Real-Time

Implements a graph-first BaaS with live subscriptions (there's even a subscribeToQuery entry) and serverless auth hooks so clients can get streaming updates on linked-data. It’s a focused alternative to generic BaaS offerings for teams who actually need RDF-style data and collaborative syncing. Active commits and docs are promising, but community traction and integration stories will determine whether it escapes niche status.

Niche GemShip It
WolfOliver
105mo ago