Martti Malmi on Nostr: I was joking about filters: { sql } nostr subscriptions. If you run your own relay, ...
I was joking about filters: { sql } nostr subscriptions.
If you run your own relay, you could make it support filters: { searchTerm } and do a nip for it. Rest api may be easier though.
Published at
2023-01-10 15:17:46Event JSON
{
"id": "fb9e8bda22cfd4cb28061d7937d605b51bc358b61bb22700fc8efa89fd997a5b",
"pubkey": "4523be58d395b1b196a9b8c82b038b6895cb02b683d0c253a955068dba1facd0",
"created_at": 1673363866,
"kind": 1,
"tags": [
[
"e",
"b3a385376749af556ca3af45d83441d44c5721f2af3120f5c3e3cd179e1bf8cf",
"wss://nostr.ono.re",
"reply"
],
[
"p",
"fef6bc34aae8088ff06fcd9165429b05e29a118f0e1f9ce5b1005e147dd1de64"
],
[
"p",
"4523be58d395b1b196a9b8c82b038b6895cb02b683d0c253a955068dba1facd0"
],
[
"p",
"4523be58d395b1b196a9b8c82b038b6895cb02b683d0c253a955068dba1facd0"
],
[
"p",
"4523be58d395b1b196a9b8c82b038b6895cb02b683d0c253a955068dba1facd0"
]
],
"content": "I was joking about filters: { sql } nostr subscriptions.\n\nIf you run your own relay, you could make it support filters: { searchTerm } and do a nip for it. Rest api may be easier though.",
"sig": "81d5f35083b0a77704c8416930ec79a2bb25084733165a1aea03475fb8a469da22d109fdcce01e208f69bb96e8a9bcb9c4573c018729059055a71ec147889d07"
}