Lez on Nostr: I need a simple JS nostr in-memory event store. Filters should be supported. e.g. ...
I need a simple JS nostr in-memory event store. Filters should be supported. e.g. events = eventstore.req({kinds: [1,6], authors: [pubkey1, pubkey2]})
window.nostrdb is good, but I want it to work in nodejs.
nostrify/NSet is good, but I need it to understand the filter API.
There is a test relay, in-memory (dunno the name), but it listens on a port, I don't need that.
Any ideas?
I am kind of clueless where I should seek such information, but that's a story for another day.
Published at
2025-12-26 16:35:33 CETEvent JSON
{
"id": "28c5f4d0905972843c69ee3d94729d27b79fc6ffd1ff72f7e7c2c85def71476d",
"pubkey": "cfd7df62799a22e384a4ab5da8c4026c875b119d0f47c2716b20cdac9cc1f1a6",
"created_at": 1766763333,
"kind": 1,
"tags": [],
"content": "I need a simple JS nostr in-memory event store. Filters should be supported. e.g. events = eventstore.req({kinds: [1,6], authors: [pubkey1, pubkey2]})\n\nwindow.nostrdb is good, but I want it to work in nodejs.\nnostrify/NSet is good, but I need it to understand the filter API.\nThere is a test relay, in-memory (dunno the name), but it listens on a port, I don't need that.\n\nAny ideas?\n\nI am kind of clueless where I should seek such information, but that's a story for another day.",
"sig": "8c0a743b71df1f33f660aff7914c42bef3fde4ba84f42fd4ef7737ec59d1153b98e211abe9c606c903b30d5d0a20cc12c2dde64560754d029e8e9dacbe0ca76e"
}