TinyBase
TinyBase is a reactive in-memory data store with persistence and synchronization for local-first JavaScript and TypeScript apps.
TinyBase
TinyBase is a reactive in-memory data store with persistence and > synchronization for local-first JavaScript and TypeScript apps.
TinyBase provides reactive tabular and key-value data, optional schemas, indexes, relationships, queries, persistence, CRDT synchronization, and UI bindings for React, Solid, and Svelte. It has no runtime dependencies.
Use TinyBase when an app needs one or more of these capabilities:
- Reactive in-memory tabular or key-value state - Offline or local-first operation - Browser, SQLite, PostgreSQL, or file persistence - Deterministic synchronization between clients or servers - Typed schemas and reactive React, Solid, or Svelte bindings
TinyBase is not a hosted database service. A Store lives in a JavaScript runtime, so an authoritative or unbounded server-side dataset may require a database or service alongside TinyBase.
Start here
- Is TinyBase right for my app? - Getting started - Guides - API reference - Demos - create-tinybase scaffolding tool
- Official build-with-tinybase agent skill
- Full agent guide - GitHub repository
Choose an architecture
- Use
createStorefromtinybasefor reactive local state. - Add a Persister when data must survive reloads or be stored externally. - UsecreateMergeableStorefromtinybase/mergeable-storewhen data must be merged or synchronized. - Add a Synchronizer to exchange MergeableStore changes between clients or servers.
- Use
tinybase/ui-react,tinybase/ui-solid, ortinybase/ui-sveltefor reactive framework bindings.
Canonical documentation
Meet the modern standard for public facing documentation. Beautiful out of the box, easy to maintain, and optimized for user engagement.
Search through billions of items for similar matches to any object, in milliseconds. It’s the next generation of search, an API call away.
Build and deploy reliable background jobs with no timeouts and no infrastructure to manage.
Get the simple developer experience of SQLite in production, and scale your multi-tenant backend with unlimited databases.
Upstash is a serverless data platform providing low latency and high scalability for real-time applications.
One-click deployments built for teams, tuned for Laravel, loaded with tools and goodies you're going to love.