cody on Nostr: It looks like @nostr-relay/event-repository-sqlite could be helpful for you. It's the ...
It looks like @nostr-relay/event-repository-sqlite could be helpful for you. It's the database implementation used by nostr-relay-tray. It allows for inserting events and finding events by a filter, and
sebas (npub1rw7…sl3w) is currently developing the filter deletion functionality. However, it's unclear if it can be directly used in a browser.🤣 Perhaps with some minor modifications, it could be made compatible.
Published at
2024-04-11 15:49:02Event JSON
{
"id": "72e6d563b3b5fb268e39125ed529b0fdc47d92a1f683cea5c038e4022b5ad3a0",
"pubkey": "8125b911ed0e94dbe3008a0be48cfe5cd0c0b05923cfff917ae7e87da8400883",
"created_at": 1712850542,
"kind": 1,
"tags": [
[
"e",
"8433bbc12a229208e02646258c8d0716d6c1a9a5c672cea998dfaf1231fedb64"
],
[
"p",
"63fe6318dc58583cfe16810f86dd09e18bfd76aabc24a0081ce2856f330504ed"
],
[
"p",
"266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5"
],
[
"p",
"1bbd7fdf68eaf5c19446c3aaf63b39dd4a8e33548bc96f6bd239a4124d8f229e"
]
],
"content": "It looks like @nostr-relay/event-repository-sqlite could be helpful for you. It's the database implementation used by nostr-relay-tray. It allows for inserting events and finding events by a filter, and nostr:npub1rw7hlhmgat6ur9zxcw40vweem49guv6530yk767j8xjpynv0y20q6qsl3w is currently developing the filter deletion functionality. However, it's unclear if it can be directly used in a browser.🤣 Perhaps with some minor modifications, it could be made compatible.",
"sig": "1c83980ff6aec8f7baaaf969d501cbafe34f1fc6d0c6e004b59a8c8acd5a97cdd204e7c8436de75dbc0554ea99401ec20b815dea0be8ed99eac502b1b9629f66"
}