As ever, release notes here:
tinybase.org/guides/relea...
And install with `npm install tinybase`
Let us know how it goes!
@tinybase.bsky.social
The reactive data store for local-first apps.
As ever, release notes here:
tinybase.org/guides/relea...
And install with `npm install tinybase`
Let us know how it goes!
π 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.bsky.social for the amazing PR, and @mrousavy.com for the awesome library beneath.
Have fun!
For those curious, the core of how it works is github.com/tinyplex/tin... - and the whole implementation is less than 200 lines.
Oh and please let us know if it doesn't work on your browser/OS combo!
π¨ 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!
Catch all the details @ tinybase.org/guides/relea...
18.05.2025 17:02 β π 2 π 0 π¬ 0 π 0π TinyBase v6.1 π
1οΈβ£ Persist to Bunβ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 Jakub Riedl for helping on this release. Much more coming! π
...and the release notes are here: tinybase.org/guides/relea...
29.03.2025 05:35 β π 2 π 0 π¬ 0 π 0π 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.
Here's the likely final beta build of v6.0.
Please give it a whirl before we roll it to the main release this weekend!
github.com/tinyplex/tin...
π£ RFC: Intentions for TinyBase v6
If you are using the developer `tools` module, let us know! We're proposing to remove it as a breaking change in v6.
Also see what else is planned: github.com/tinyplex/tin...
Thanks!
Read more about the new project as a whole at tinytick.org
Install it with `npm install tinytick`
And let us know how it goes. We love feedback and hope it's useful! π
One canonical use case for smarter task management is for handling multiple network fetches for paginated and nested data.
Read about the rationale for a TinyTick solution in this scenario, for example: tinytick.org/guides/examp...
TinyTick is designed to make that easier.
Specify your tasks imperatively, ahead of time, and then configure their schedules, timeouts, and retry sequences - and let it take care of everything for you.
Oh, and as a bona fide member of the 'tiny family', it's only 1.8kB π
π 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.
This is blowing my mind. I have a feeling @tinybase.bsky.social might work for this with its Durable Object support. I might need to investigate π΅οΈββοΈ
24.02.2025 02:37 β π 4 π 1 π¬ 0 π 0Now make it work local first π
29.01.2025 15:17 β π 2 π 0 π¬ 0 π 0Hereβs a beginner-friendly tutorial on building a Local-First App with @expo.dev, @tinybase.bsky.social, and @cloudflare.social!
In this video, youβll learn how to:
β
Install and use TinyBase to manage simple todo records.
β
Create and deploy a Durable Object to sync data seamlessly.
(π§΅ 1/3)
It's built with @tinybase.bsky.social tables syncing to @cloudflare.social durable objects. @tanstack.com Start for the app, @hono.dev for the API. Goal is to be local first, PWA.
It's a side project but I'm building it for others to use. Waitlist (it's not ready yet, clearly): tally.so/r/3yj9Pp
Correct.
1) The CRDT metadata (hash and timestamp) need to be understood in the plain by the synchronizers at each end.
2) The βenvelopeβ of the sync messages (from/to client IDs, transaction IDs) need to be read in the clear by the server to broker things.
Yes. Thereβs an API for getting the βMergeableContentβ out of a MergeableStore as JSON and applying it back into another.
(i.e. all without the negotiation/sync protocol)
Is that what you mean?
Guess you could encrypt and decrypt at a cell-by-cell level in the app, but otherwise this would need a few new extension points.
04.01.2025 16:43 β π 0 π 0 π¬ 1 π 0Yes, itβs basically a giant CRDT that can be resolved deterministically with another at any later time.
04.01.2025 16:41 β π 0 π 0 π¬ 1 π 0Could we have helped you find the bug quicker?
04.01.2025 14:44 β π 1 π 0 π¬ 1 π 0So in my app you can store your recipes, or your noughts and crosses games and all in a single data store thanks to @tinybase.bsky.social. User can keep it in localStorage or move it to the cloud.
03.01.2025 12:18 β π 4 π 1 π¬ 0 π 0Weβll take βslick as heckβ! π
04.01.2025 14:27 β π 3 π 0 π¬ 1 π 0Let us know about anything you need it to do that it doesnβt!
02.01.2025 10:58 β π 0 π 0 π¬ 0 π 0Wouldβve had my DO project far along if I wasnβt stuck moving while having a stomach bug, 2025 is gonna rock tho π
02.01.2025 08:14 β π 1 π 1 π¬ 1 π 0π 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 Durable Objects integration!
2025 is going to be amazing. Thank you, as ever, for your passionate support π
π Merry Christmas!
As my grand finale for 2024, hereβs my video on building a local-first shopping list app using @expo.dev, @tinybase.bsky.social, @clerk.com, and @cloudflare.social.
You can check out a live demo on the App Store or explore the deployed web version. β
Iβm super excited to share a sneak peek of my upcoming video, which will cover building a real-world, universal, local-first app using @tinybase.bsky.social with real-time sync powered by @cloudflare.social DOs, @clerk.com for authentication, @expo.dev Router, and Expo Go.
20.12.2024 02:37 β π 51 π 6 π¬ 1 π 0