MCPcopy Index your code
hub / github.com/livestorejs/livestore

github.com/livestorejs/livestore @v0.4.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.4.0 ↗ · + Follow
4,109 symbols 13,878 edges 1,477 files 396 documented · 10% 45 cross-repo links updated 1d agov0.4.0 · 2026-06-02★ 3,628268 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

LiveStore Logo

What LiveStore does

  • 🏰 Provide a powerful data foundation for your app.
  • ⚡ Reactive query layer with full SQLite support.
  • 🔌 Adapters for most platforms (web, mobile, server/edge, desktop).
  • 📐 Flexible data modeling and schema management.
  • 📵 Support true offline-first workflows.
  • 💥 Custom merge conflict resolution.
  • 🔄 Sync with a supported provider or roll your own.

Getting Started

How LiveStore works

LiveStore is a fully-featured, client-centric data layer (replacing libraries like Redux, MobX, etc.) with a reactive embedded SQLite database powered by real-time sync (via event-sourcing).

How LiveStore works

  1. Instant, reactive queries to your local SQLite database (via built-in query builder or raw SQL).
  2. Data changes are commited to the store, applied instantly and synced across clients.
  3. Change events are persisted locally and synced across clients (and across tabs).
  4. Events are instantly applied to the local database via materializers.
  5. Query results are reactively and synchronously updated in the next render.
  6. The LiveStore sync backend propagates changes to all connected clients.

If you’d like to learn more about how LiveStore works under the hood, feel free to check out our in-depth guides in the documentation and dive into topics like:

License

Livestore is licensed under the Apache License 2.0.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 2,265
Class 835
Method 779
Interface 230

Languages

TypeScript100%

Modules by API surface

packages/@livestore/sync-s2/src/http-client-generated.ts135 symbols
packages/@livestore/wa-sqlite/src/types/index.d.ts110 symbols
packages/@livestore/wa-sqlite/src/FacadeVFS.js89 symbols
packages/@local/astro-twoslash-code/src/cli/snippets.ts59 symbols
packages/@livestore/common/src/devtools/devtools-messages-leader.ts54 symbols
packages/@livestore/utils/src/browser/WebError.ts46 symbols
packages/@livestore/common/src/devtools/devtools-messages-client-session.ts46 symbols
packages/@livestore/sqlite-wasm/src/cf/CloudflareWorkerVFS.ts44 symbols
packages/@livestore/sqlite-wasm/src/FacadeVFS.ts44 symbols
packages/@livestore/wa-sqlite/docs/assets/main.js39 symbols
packages/@livestore/wa-sqlite/src/examples/IDBBatchAtomicVFS.js38 symbols
scripts/src/commands/devtools-artifact.ts36 symbols

Dependencies from manifests, versioned

@astrojs/check0.9.4 · 1×
@astrojs/netlify6.5.9 · 1×
@astrojs/react4.3.0 · 1×
@astrojs/starlight0.35.2 · 1×
@astrojs/starlight-tailwind4.0.1 · 1×
@automerge/automerge3.2.0 · 1×
@automerge/react2.5.0 · 1×
@babel/core7.28.0 · 1×
@babel/plugin-syntax-import-attributes7.27.1 · 1×
@babel/runtime7.28.2 · 1×
@biomejs/biome2.3.8 · 1×
@changesets/cli2.31.0 · 1×

Datastores touched

electricDatabase · 1 repos

For agents

$ claude mcp add livestore \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page