# tinyplex/tinybase

A reactive data store & sync engine.

Repository: https://github.com/tinyplex/tinybase
Canonical: https://ross.abutalabs.com/products/tinybase
Homepage: https://tinybase.org
Language: TypeScript
License: MIT
License Family: permissive
Topics: react, javascript, typescript, data, reactive, agent-skills, crdt, local-first, solid, state, svelte, sync-engine, tiny
Last push: 2026-08-19T22:56:55+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 98, release rhythm 86, longevity 100
- inputs: {"age_days": 1707, "days_push": 14, "days_rel": 18, "gap_med": 7.5, "n_releases_24m": 75}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5158, forks 132 (observed 2026-08-28T04:09:11.460825+00:00)

## What it is
TinyBase is a reactive in-memory data store and sync engine for local-first JavaScript and TypeScript apps, supporting tabular and keyed-value data with optional typed schemas. It offers CRDT-based synchronization, persistence to browser storage/SQLite/PostgreSQL, and UI bindings for React, Solid, and Svelte in a tiny dependency-free bundle.

## Use cases
- build a local-first offline-capable web app with sync
- manage reactive app state in React with fine-grained updates
- synchronize data across clients and servers with CRDTs
- persist app data to IndexedDB or SQLite in the browser
- build a real-time collaborative app like chat or drawing
- query and join tabular data reactively without SQL

## When to choose
- you need offline-first apps that stay consistent when back online
- you want a tiny (7-16kB), dependency-free reactive store
- you need built-in sync, persistence, indexes, and a query engine in one library
- you use React, Solid, or Svelte and want reactive UI bindings

## When to avoid
- you need a full SQL database with complex server-side queries
- your stack is not JavaScript/TypeScript
- you need heavy relational database features like stored procedures or transactions across services

## Facets
- artifact type: library
- maturity: active
- function: state-management, database, caching, data-visualization, ui-components
- domain: web-development, frontend, databases, cross-platform
- platform: browser, cross-platform
- tags: local-first, crdt, sync-engine, reactive-data-store, offline-first, react-bindings, solidjs, svelte, indexeddb, sqlite, undo-stack, tiny-bundle, real-time, nodejs, web-server, desktop, mobile, cloudflare, javascript, typescript

## Member repositories
- tinyplex/tinybase (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:11.460825+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:01:54.484661+00:00, confidence not recorded.
  - readme: https://github.com/tinyplex/tinybase (fetched 2026-08-28T04:09:11.460825+00:00, sha 8431e66d995a)
  - homepage: https://tinybase.org (fetched 2026-08-29T08:56:22.448243+00:00, sha 55e2a885d24e)
  - site_page: https://tinybase.org/guides/releases (fetched 2026-08-29T08:56:22.458072+00:00, sha 38e24e39f2c7)
  - site_page: https://tinybase.org/guides/the-basics/getting-started (fetched 2026-08-29T08:56:22.463094+00:00, sha 1bd9a1e6ef27)
  - site_page: https://tinybase.org/guides/building-uis-with-react/getting-started-with-ui-react (fetched 2026-08-29T08:56:22.467142+00:00, sha 5c22c5ecce3d)
  - site_page: https://tinybase.org/guides/building-uis-with-solid/getting-started-with-ui-solid (fetched 2026-08-29T08:56:22.469104+00:00, sha 2b2d44c28d72)
  - site_page: https://tinybase.org/guides/building-uis-with-svelte/getting-started-with-ui-svelte (fetched 2026-08-29T08:56:22.470729+00:00, sha 74d036d57329)
  - site_page: https://tinybase.org/guides/integrations/cloudflare-durable-objects (fetched 2026-08-29T08:56:22.472360+00:00, sha bd4b12b412f0)
  - site_page: https://tinybase.org/api/the-essentials/creating-stores/store (fetched 2026-08-29T08:56:22.464889+00:00, sha 4447fdaee2d1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
