Damus
fiatjaf profile picture
fiatjaf
@fiatjaf
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.
33โค๏ธ7๐Ÿ‘€3๐Ÿ’œ1๐Ÿ’ช1๐Ÿ˜Ž1๐Ÿค™1
roya เญจเญง · 38w
hi jaf
Bankers Bad Dream · 38w
This is pretty cool. Can you add a gif keyboard to it though?
calle · 38w
You query the DB and the DB queries nostr?
Steve Schroeder · 38w
Hello fiat jaf. I am under development with NOSTR fundraising which uses things that no other technology could have preformed in the past and I had tried to do but the old tech was limited. We use NOSTR to provide things in what is referred to as customer loyalty but completely transforms customer...