A reactive data store & sync engine.

In your JavaScript app.
Pinned Tweet
🎉 Proud to announce TinyBase 8.5! Reactive, responsive, composable charts - bound directly into your data or queries - in a tiny, optional 8.5k sub-module. Local-first analytics anyone? 👀 Let us know how it goes - and what you'd like to see next!
1
2
14
1,249
🎉 TinyBase v5.0 🎉 We are thrilled to unveil this major new release - "The One You Can Sync" - and a whole load of exciting new local-first opportunities as a result. CRDTs for the rest of us 😎
12
40
441
61,841
In case you missed it, DurableObjects are now free! Which means that using TinyBase with @Cloudflare is not only the easiest way, but now also the _cheapest_ way to build a a realtime app with a local-first sync-engine - and even collaboration. So awesome!
2
29
224
11,596
🎉 TinyBase v5.4 is here! @Cloudflare Durable Objects are a perfect cloud companion for TinyBase, with web socket sync & strongly consistent storage. We want this to be the easiest way to build local-first apps, anywhere. And we couldn't be more excited to let you try it! 👇
9
21
169
27,317
🎉 TinyBase v6.1 🎉 1️⃣ Persist to @bunjavascript's embedded SQLite DB. 2️⃣ Load just subsets of database tables into a Store. 3️⃣ DX: object args on sorting hooks & new auto persisting conveniences. Huge shoutout to @jakubriedl for helping on this release. Much more coming! 🙏
8
16
157
10,063
🎉 Welcome to our new sister project: TinyTick! Most intelligent and local-first web applications need background tasks like fetching, syncing, and cache eviction. But managing them - with scheduling, failure handling, retries, and so on - can be a pain.
2
16
164
6,345
🎉 TinyBase v5.3! This release includes new APIs to track your data's loading, saving, and synchronization status. Check out the spinning logo on TinyHub when background updates from across the app are happening... easy 😎
3
15
140
15,419
I have an idea.
Introducing Charts. A collection of chart components that you can copy and paste into your apps. Built on top of Recharts. Beautifully designed. Open Source.
1
3
126
40,954
The next TinyBase release will have support for... 🤫 @bunjavascript SQLite!
4
7
131
5,344
We think you're going to like the new @Cloudflare integration. Fully synced real-time clients, with Durable Objects as a server source of truth? This is the entire server code:
6
9
131
9,475
🎉 Announcing TinyBase v4.0! The speed and reactivity of TinyBase, coupled with the storage and interoperability of SQLite, and topped off with the synchronization and collaboration of CRDTs. tinybase.org
3
22
122
23,025
🎉 Announcing TinyBase v5.2! You can now persist your TinyBase stores to PostgreSQL databases - in both server and browser environments. Made with love for, and huge thanks to, the genius of @RPorsager, @samwillis, @ElectricSQL, and the entire @PostgreSQL community. ❤️ Enjoy!
2
13
118
9,502
Announcing TinyBase v3.0! 🎉 Liked the idea of TinyBase but were spooked by tabular & relational data? This one's for you. The same powerful reactivity, but now with a key-value store API too (and only an extra 0.8kb...) Full release notes at tinybase.org/guides/releases… Enjoy!
3
7
113
24,559
🎉 TinyBase v6.3 This release allows you to persist data in a Cloudflare Durable Object using the SQLite storage backend. Huge thanks to legend Corey Jepperson, @acoreyj, for implementing the entirety of this functionality!
2
8
108
6,913
🎉 Want to get started quickly with TinyBase and React Native? We have a new @expo template! Just a single command gets you up and running 🤯 Enjoy!
3
17
101
13,967
🎉 TinyBase 4.3 - The One With PartyKit 🎈 Structured data on the client with fast, reactive user experiences - but now with cloud-based persistence and room-based collaboration! Read more in the PartyKit blog post: blog.partykit.io/posts/party… Party on! 🎈
3
11
93
27,631
🎉 Onboard the v5.2.0 beta release train! 🚅 TinyBase can now save data to @PostgreSQL, load it back - 𝘢𝘯𝘥 𝘭𝘪𝘴𝘵𝘦𝘯 𝘵𝘰 𝘤𝘩𝘢𝘯𝘨𝘦𝘴 - thanks to the excellent postgres module from @RPorsager. It's an early release, but please let us know if you have any feedback...
5
6
76
5,256
Apologies for a short hiatus in TinyBase releases. Been sailing across the Pacific, but we will be back to the issue list and landing new updates soon!
5
1
76
2,722
Nearly there with the v5.2 release. And it looks like we'll be able to sneak in a special surprise... support for the incredible new PGLite project from @ElectricSQL! Yep, if this works out, you should be able to run TinyBase and PostgreSQL 𝘪𝘯 𝘺𝘰𝘶𝘳 𝘣𝘳𝘰𝘸𝘴𝘦𝘳 🤯
2
6
69
6,109
🎉 TinyBase 4.7 - the one with @tursodatabase! This is the first release of the persister-libsql module, which allows you to persist your TinyBase data via the Turso libSQL client. Love these collabs... more local-first goodness all round!
4
12
65
6,929
🚨 The TinyBase desktop website (finally) has ⌘K search. But with a twist... It's built with TinyBase itself 🤯 - managing storage, indexing, and retrieval of page summaries. Everything else is vanilla JS. (We love Algolia, but love dogfooding even more...) Hope it's useful!
2
64
4,998
🎉 TinyBase v4.6; the one with @ElectricSQL. Our first release, but we already think this is a sweet option for end-to-end local-first architectures. It's been great collaborating with @samwillis & team, and there's more we'll do. Try it out & let us know how it goes! Links👇
5
7
62
9,079
🎉 TinyBase v5.1 - "The One With Server Persistence" This release lets you persist a Store on your web-socket server. This means that everyone can go offline & clear their cache, but they will still get the server data again when they reconnect. Please take it for a spin!
2
6
63
4,290
OK, give the next beta a try please! This has @Cloudflare Durable Objects synchronization _and_ persistence - and a Vite template (linked in the GitHub release notes) for getting up and running quickly. Let us know. Fingers crossed, this will be the release candidate!
2
7
61
4,615
🎉 TinyBase v6.4; now with @reactnative SQLite! This release includes a new module which allows you to persist data in a React Native SQLite database (when you're not using Expo) via the `react-native-sqlite-storage` library. Let us know how it goes.
1
6
61
6,014
Where are we at with TinyBase v5? This is going to be a big release. The whole idea is that TinyBase becomes a CRDT and you can merge stores together. This will give us the native ability to synchronize data between clients or with a server.
2
8
57
4,760
We're helping build a cool (but still secret! 🤫) demo with Durable Objects this week... and they are _so cool_. Stay tuned for the New Year!
🎉 TinyBase v5.4 is here! @Cloudflare Durable Objects are a perfect cloud companion for TinyBase, with web socket sync & strongly consistent storage. We want this to be the easiest way to build local-first apps, anywhere. And we couldn't be more excited to let you try it! 👇
1
5
57
6,624
🎆 Happy New Year! 2024 saw TinyBase gain a fully-fledged sync system with CRDTs & reconciliation protocol. We added Postgres & PGLite support. And don’t forget the magical @Cloudflare integration! 2025 is going to be amazing. Thank you, as ever, for your passionate support 🙏
2
1
56
2,871
🚨 Yes, we get it. The TinyBase API is big. Maybe too big... ...so today, we've started tagging parts of the API as 'essential'. And putting them in a dedicated section in the menu. Honestly? Just get your head around this small handful of methods and you'll be golden! 👊
2
4
53
2,732
🎉 Announcing TinyWidgets! A collection of tiny, reusable, UI components - wrapped in a helpful app layout with header, side bar, dark mode, and more, "from the people who brought you..." 😎 There's a link to the project and the Vite starter template in the replies. Have fun!
1
4
53
9,513
🎉 Some fun for the weekend! TinyBase v5.4.0-beta.2 incudes our initial support for synchronization via @cloudflare Durable Objects. Stores sync between clients but do not yet, er, endure. Yeah, yeah... server persistence is in the next beta. 😎 Link to Vite template below! 👇
1
5
53
2,994
🎉 TinyBase v5.1 beta - with server persistence! This release lets you persist data on a web-socket server that's synchronizing local-first clients. It's the first beta, so there might be some rough edges. Please give the tires a kick and let us know how it goes!
3
4
51
3,647
🎉 TinyBase v6.5.0 - the one with MMKV! This release includes the new persister-react-native-mmkv module, which allows you to persist data in a React Native MMKV store. Thanks to @jeremybarbet for the amazing PR, and @mrousavy for the awesome library beneath. Have fun!
2
2
51
3,551
🎉 Two new versions today: v4.0.2: a significant optimization when saving TinyBase to a SQLite database. v4.0.3: a brand new experimental Expo-SQLite persister! Both of these are in service of @expo, per expo.dev/changelog/2023/08-1… Enjoy!
2
13
50
10,913
📑 New 'Architectural Options' guide. We had feedback that it's hard to understand all the different ways that TinyBase can be used! So... our new guide runs through many of the ways you can persist & synchronize data - both natively and with other platforms. Link below! 👇
1
3
39
2,554
🎉 The first beta for TinyBase v6.0! This will be a 'no new functionality' release, but breaks a few things: * The (optional) React peer dependency is now v19. * We only distribute ESM modules in the NPM package. These have a few knock-on effects, so please kick the tires!
1
2
40
1,593
OK, OK, TinyBase v5.0 is coming soon! 🏃🏻‍♂️ But today's beta 6 release includes an important new API: the SyncPersister. Early adopters, please kick the tires! 🙏
2
3
38
4,053
🎉 TinyBase v6.0! Sneaking it out because it's a Friday night! But it's actually a simple release that: - Only includes modern ESM packages. - Has React 19 as an optional peer dependency. - Removes the tools module and TinyBase CLI. Please let us know how it goes.
2
5
38
2,627
🎉 TinyBase 4.8 - "The One With PowerSync" The next in the exciting series of v4.x releases lets you store TinyBase data in @powersync_ SQLite databases. This release was all @bndkt! - A huge thank you for stepping up and building this functionality. Enjoy! 🙏
3
3
40
6,840
A quick bump for this one - the template has been updated to TinyBase v5.0! Your syncing adventures are just moments away! 😍
🎉 New TinyBase v5.0 template just dropped 😎 In less than 60 seconds, get up and running with CRDT-based synchronization between disparate browser windows, featuring @typescript, @reactjs and @vite_js. All you need at: github.com/tinyplex/vite-tin… Enjoy!
1
37
4,053
🎉 Sister project TinyTick just got new superpowers 🪄 The task orchestrator is now reactive, so you can listen to task runs starting, stopping, and failing. And that means optional React bindings too! Links in comments. And have fun 🖖
1
4
39
2,350
We’d like to say “of course it works” but we’re also saying “thank goodness it does” 😅
@tinybasejs also works on the backend 🤯🤯
36
2,019
Learn about using TinyBase for local-first synchronization with React Native. It’s so easy. Lets go!
📍@TinyBasejs is built for a local-first world. In this blog post from the seafaring father of TinyBase, @jamespearce, you will learn a new way to think about the architecture of your apps. Check out the blog 🧵
3
37
2,701
🎉 New TinyBase v5.0 template just dropped 😎 In less than 60 seconds, get up and running with CRDT-based synchronization between disparate browser windows, featuring @typescript, @reactjs and @vite_js. All you need at: github.com/tinyplex/vite-tin… Enjoy!
3
33
6,353
Working on an @expo + TinyBase weekend project? The TinyBase v4.8.14 release dials back the peer React requirements so it installs cleanly with `create-expo-app`. And TinyBase v5.0@beta now works perfectly with Expo v51 and above. Go build something cool!
7
33
5,918
🤐
1
31
1,446
🎉 TinyBase v4.6.0-beta, with support for @ElectricSQL! It's very experimental... but you can kick the tires right now. We'll have a starter kit coming soon so you can get up and running quickly. But in the meantime, checkout the docs and enjoy! beta.tinybase.org/guides/rel…
1
7
29
8,375
🎉 New in TinyBase v6.1β: subset persistence! From an underlying database, you can now easily load just a subset of the rows in a table into a Store. Load data just for the current view, for example, and reduce your memory footprint. ❤️ Kudos @jakubriedl for the amazing work!
1
2
30
1,098
🤐
Going to be a long weekend.
32
1,837
🎉 Announcing TinyBase v4.2 🎉 Save your TinyBase data to IndexedDB - and with the same persistence API you've already been using! tinybase.org/guides/releases…
1
2
29
2,274
🎉 v4.0.0-beta.3 TinyBase now has support for Automerge CRDTs as well as Yjs! Please give it a whirl and provide any feedback 🙏 beta.tinybase.org/guides/rel…
2
6
30
3,425
Friends! We have decided to push back the TinyBase v5 release by a few hours... ...just enough time to add synchronization over the browser's BroadcastChannel so you can sync your front-end data store to service workers. 🤯
1
3
28
2,279
🎉 Announcing v3.1.0 - with a powerful new schema-based type system. This is a huge release under the covers, and pushes @typescript to the limit in a few places 😜 Try it out - and hoping you enjoy a whole new developer experience with TinyBase! tinybase.org/guides/releases…
1
3
30
5,588
The TinyBase Vite templates look a bit meh. Should we upgrade them all to use @tailwindcss, @shadcn etc? Or would that be too opinionated for getting started with the basics? Thoughts welcome!
5
4
28
2,558
So do we need to create a TinyBase CMS?
6
28
2,103
The CRDTs are coming! New beta release notes in the comments.
2
2
29
1,914
🎉 v4.0.0-beta.2 - "the one with Yjs" This is TinyBase's first CRDT-based synchronization solution, with a persister that integrates with Yjs documents. github.com/tinyplex/tinybase… Enjoy 🖐️🎤
1
6
27
7,240
🎉 Introducing TinyBase v4.1! Interactive tables, editing components, and the brand new StoreInspector web tool. 😍 tinybase.org/guides/releases…
2
5
28
3,827
TinyBase, @Cloudflare… and now @tldraw. What a killer combo. Congrats @ojschwa!
Enjoyed adding @tldraw to my talking productivity app. The canvas is the perfect expression of context, it feels good moving beyond a chat thread. Check out this demo of the app. It's an app for dads to get your lists together.
28
1,293
🚀 IndexedDB support is coming to TinyBase! github.com/tinyplex/tinybase… Please kick the tires and see what you think! We're going to do the main release pretty quickly, assuming it all works as expected.
1
3
26
4,875
🎉 We broke 3,000 ⭐️ on GitHub! 🎉 Welcome to all our community members and thank you so, so much for all your support. It makes all the effort a pleasure! 🙏
1
25
4,002
Aaaand... we just pushed a Vite template so you can get your TinyBase and @ElectricSQL PGlite adventures started in a matter of seconds! github.com/tinyplex/vite-tin…
2
24
1,641
Replying to @housecor
1
23
1,083
🎉 TinyBase v6.2! This is a small and safe upgrade. It includes packaging improvements and exposes our internal HLC and hash functions, useful for writing advanced database connectors. Next release will probably be v7.0, so breaking-change-grade feature requests are welcome! 🧨
1
2
24
2,065
New badge just dropped. Can you spot it?
5
1
24
2,158
TinyBase v5.4.0-beta.1 This release includes a simple server implementation called WsServerSimple. Without the complications of listeners, persistence, or statistics, this is suitable to be used as a reference for other server environments. Enjoy! github.com/tinyplex/tinybase…
1
22
1,011
The TinyBase v4.3 beta is TOP SECRET 🎈 Could be awesome if we pull it off... so please kick the tires and try the demo, but don't tell anyone! 🤫 beta.tinybase.org/guides/rel…
2
22
7,546
🪄 A TinyBase v5.0 teaser... Yep, it's the obligatory CRDT hello-world of synchronizing a todo list across isolated browser windows. But it's also a live demo in the TinyBase beta site. Try it out!
1
2
21
3,393
Replying to @karrisaarinen
<coughs politely>
What's stopping you from triaging your GitHub issues like this? In other news, local-first apps are so much fun to build.
1
21
4,639
...and lots of dependency revisions over the weekend. @partykit_io is moving pretty fast right now!
🎉 TinyBase 4.3 - The One With PartyKit 🎈 Structured data on the client with fast, reactive user experiences - but now with cloud-based persistence and room-based collaboration! Read more in the PartyKit blog post: blog.partykit.io/posts/party… Party on! 🎈
1
1
18
4,822
Replying to @zx_loro
TypeDoc and then lots of scary regex.
1
20
610
TinyBase v5.3.3 - just released - has some improvements to our @powersync_ implementation. Give it a whirl and let us know how it goes!
1
20
1,036
Imitation is the sincerest form of flattery. (And reciprocating is the fastest way to grow an open source movement and ecosystem!)
20
1,167
🎉 v4.1.0-beta.5 Please kick the tires on the fifth and final beta - before the main release in a few days. This includes a few more DOM components and... 🥁 editable data in the StoreInspector! github.com/tinyplex/tinybase…
2
18
2,757
🎉 TinyBase v4.0.4 is not "Not Found". This release adds debugging callbacks to Persister objects and improves SQLite transactions. Check out the new onIgnoredError and onSqlCommand arguments - and enjoy! github.com/tinyplex/tinybase…
1
20
3,299
The final v4.0-beta release is up and TinyBase now integrates with SQLite via sqlite3, sqlite-wasm, and cr-sqlite. Last-minute tire kicking please! > npm i tinybase@beta Hoping to take it out of beta this week... 🤞 beta.tinybase.org/guides/sch…
1
2
19
6,057
Collab when?
Replying to @jamespearce
TinyBase is amazing btw, big fans
1
18
1,557
🎉 TinyBase v5.0.2! A few minor weekend improvements to the hooks API: 1/ Callbacks are now stable when GetId functions are used. 2/ useDel* hooks can use GetId functions to delete specific data based on events. Thanks @cnakazawa for identifying these improvements! 😍
2
19
1,368
A massive THANK YOU to @cnakazawa for sponsoring TinyBase on GitHub... ...and using it for the offline mode for his spectacular Athena Crisis game, @TheAthenaCrisis. Yep, apparently TinyBase is for games, too!
1
2
16
3,090
🎉 First beta release for TinyBase v4.1 The new, optional ui-react-dom module contains pre-built components for rendering your data (fully reactively of course!) into a web application. Demos: beta.tinybase.org/demos/ui-c… Release notes: github.com/tinyplex/tinybase…
5
18
1,638
🎉 TinyBase v3.3 This release allows you to track the Cell Ids used across a whole Table, regardless of which Row they are in, and how they change with time. (Why? We need this for upcoming v4.0 release, so we can fully sync to SQLite 😮) Enjoy! tinybase.org/guides/releases…
2
17
2,334
Replying to @housecor
Downloads are a good way of learning about the past, not necessarily the future... 🙏
1
16
3,089
You don’t even have to go into debt to learn TinyBase!
2
16
1,032
If you missed this over the weekend! 😍
🎉 TinyBase v4.6.0-beta, with support for @ElectricSQL! It's very experimental... but you can kick the tires right now. We'll have a starter kit coming soon so you can get up and running quickly. But in the meantime, checkout the docs and enjoy! beta.tinybase.org/guides/rel…
2
15
1,848
How about we make it so TinyBase clients can synchronize with @Cloudflare DurableObjects?
88% Yes
12% Yes
132 votes • Final results
4
1
13
2,938
In case you didn't think the TinyBase API was comprehensive enough, we just added more. And @muhajirdev got SSR working! TinyBase 5.3 is set to go live tomorrow. Please check out the final beta today today to make sure we didn't break anything... github.com/tinyplex/tinybase…
1
15
1,275
Wow - this looks amazing!
tinytalkingtodos.com – your voice-powered todo list assistant! 🔒 Privacy-focused with local-first storage 🎙️ Manage tasks hands-free 🔑 BYO API keys for full control ⚡ Built with @tinybasejs Here's some of the key features I'd love you to check out...
1
2
15
1,113
TinyBase: not just for user data. Use it for any sort of app state... 🔀 How about a fetch queue? If you make batches of requests, have a table of URL, headers, handler name - then have a loop that executes each row. Persist it & the batch will even resume when the app reloads!
13
722
Hey @syntaxfm, @stolinski, and @wesbos - thank you so much for featuring TinyBase on the show! 😍 You were looking for non-React usage… check out the first demos & Vite templates for examples. The sync and server story is also developing quickly… your feedback is well taken!
14
1,400
v3.1.0-beta.2 is out! github.com/tinyplex/tinybase… This provides tooling to code-generate a full set of domain-specific React hooks and components from a schema. See the Generating APIs guide (beta.tinybase.org/guides/dev…) for more information. And enjoy!
2
13
1,332
TinyBase v5 ETA? This week. (Exciting! But please check out the beta and release notes so you know what’s coming… 🤓)
2
13
1,520
Good luck to all our friends over at @localfirstconf this week! An amazing array of speakers and attendees - just sad not to be able to make it ourselves this year. Break a leg everyone!
12
504
🎉 TinyBase v4.1-beta.3 This release includes web controls for editable tables, cells, and values. Check out the demo at beta.tinybase.org/demos/ui-c… and please provide feedback on the API and the resulting HTML!
1
2
13
1,727
So… who’s excited for my web inspector, coming in v4.1? 😍
👀 The in-browser TinyBase Store Inspector, coming soon...
1
13
836
🎉 TinyBase v5.0.4 Oops, we messed up. One of our peer dependencies wasn't marked `optional`, and was getting installed. Please upgrade to tinybase@5.0.4, clean your lock file and node_modules folder - and get back to zero-dependency heaven before the weekend!
1
13
1,526
Sleeping on TinyWidgets? 🔧
1
12
984
Just released v4.8.8 to bring automerge and @ElectricSQL dependencies up-to-date. Enjoy!
1
12
695