I don’t know if it’s the same but there is something called indexedDB that runs client side / in browser that caches a lot of stuff locally from your own relays.
Discussion
nostrdb support filter queries, full text search, note stats, multithreaded ingester with efficient note de-dupe by a quick exit json parser, flatbuffer-like binary note format for zero serialization (queries return pointers to virtual memory) . It’s like an embedded strfry. IndexedDB isn’t really comparable.
So yeah its like a caching relay in your phone
Is nostrdb open source? Is there documentation to implement it?
https://github.com/damus-io/nostrdb
https://docs.rs/nostrdb/latest/nostrdb/
docs aren’t the best, still need to improve that
Cool!
notedeck is completely powered by this, which is why its crazy fast. Still in the process of moving Damus iOS to it, but it is in damus iOS in a limited capacity (profile search, tagging, fulltext search, walking threads). Damus iOS just lacks using it for all queries atm.
Another cool thing that notedeck will do is host many different nostr apps at once. Like a nostr OS/browser. This means all your nostr apps can interact with each other while you’re offline.
Interesting