-

@ fiatjaf
2025-05-29 03:22:43
So I made this IndexedDB event store thing that is somewhat insane but kinda works: https://jsr.io/@nostr/gadgets/doc/store/~/IDBEventStore
It seems to be significantly faster than the SQLite-based worker relay according to these amateur benchmarks: https://github.com/fiatjaf/js-eventstore-benchmark
But even if it was slower it could still be a good option because it's pretty easy to use, just import the library and save events, query with a filter, done.
Please let me know if it's completely broken.