TinyBase is a reactive in-memory data store with persistence and synchronization for local-first applications.
The tool addresses the challenge of building apps that feel instant, work offline, and maintain consistency when reconnecting to the network. It provides a reactive data store that runs in memory while supporting persistence to local storage and synchronization across devices. The approach centers on local-first architecture, where data lives on the client first and syncs to servers on demand rather than treating the server as the source of truth.
TinyBase suits developers building JavaScript or TypeScript applications that prioritize responsiveness and offline capability. It works across React, Solid, and Svelte frontends, and supports multiple storage backends including IndexedDB for browsers, SQLite for server environments, and integrations with platforms like Expo, Capacitor, and Turso. The tool pairs with CRDT libraries such as Yjs and Automerge for conflict resolution, and connects to sync services including Electric, PowerSync, and PartyKit. Projects range from simple todo lists to chat applications, drawing tools, and charting apps, all achievable with built-in sync and persistence.
The project maintains comprehensive test coverage and actively engages with its community through Discord, GitHub discussions, and social channels. Development activity shows consistent attention to expanding platform support and integration options, with recent work adding node:sqlite compatibility. The tool has accumulated contributions from a broad developer community and demonstrates ongoing refinement of its core reactive data store capabilities.