TinyBase

tinybase.org
Developer Tools

TinyBase is a reactive in-memory data store with persistence and synchronization for local-first JavaScript and TypeScript apps.

llms.txt

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

Choose an architecture

  • Use createStore from tinybase for reactive local state. - Add a Persister when data must survive reloads or be stored externally. - Use createMergeableStore from tinybase/mergeable-store when data must be merged or synchronized.
  • Add a Synchronizer to exchange MergeableStore changes between clients or servers.
  • Use tinybase/ui-react, tinybase/ui-solid, or tinybase/ui-svelte for reactive framework bindings.

Canonical documentation

Related

The AI Toolkit for TypeScript, from the creators of Next.js.

/llms.txt
136,985 tokens
Developer Tools

Meet the modern standard for public facing documentation. Beautiful out of the box, easy to maintain, and optimized for user engagement.

/llms.txt
5,436 tokens
/llms-full.txt
181,290 tokens
Developer Tools

Web development for the rest of us.

/llms.txt
602 tokens
/llms-full.txt
453,623 tokens
Developer Tools

Search through billions of items for similar matches to any object, in milliseconds. It’s the next generation of search, an API call away.

/llms.txt
15,715 tokens
/llms-full.txt
588,629 tokens
Developer Tools

Build and deploy reliable background jobs with no timeouts and no infrastructure to manage.

/llms.txt
12,202 tokens
/llms-full.txt
387,586 tokens
Developer Tools

Get the simple developer experience of SQLite in production, and scale your multi-tenant backend with unlimited databases.

/llms.txt
10,006 tokens
/llms-full.txt
163,317 tokens
Developer Tools

Upstash is a serverless data platform providing low latency and high scalability for real-time applications.

/llms.txt
52,307 tokens
/llms-full.txt
1,200,134 tokens
Developer Tools

One-click deployments built for teams, tuned for Laravel, loaded with tools and goodies you're going to love.

/llms.txt
565 tokens
/llms-full.txt
11,330 tokens
Developer Tools