laanwj on Nostr: yes search would be useful in clients, currently i have a very low-tech solution for ...
yes search would be useful in clients, currently i have a very low-tech solution for that, a script that queries from my relay's database directly (by kind and pubkey) and runs a regexp on the event contents
which, aleady, works better than nostr.band and such, but it's not exactly user friendly
Published at
2024-11-23 09:54:54Event JSON
{
"id": "82b8c0923280fb1c608ab03766554ab02774ad13ad468bd91d70495b039dd99f",
"pubkey": "0aa39e5aef99a000a7bdb0b499158c92bc4aa20fb65931a52d055b5eb6dff738",
"created_at": 1732355694,
"kind": 1,
"tags": [
[
"e",
"5a54bc86c418ddbfd38b70612b27327801a79bc8d6f37318e2c127991b87ef28",
"wss://nos.lol/",
"root"
],
[
"e",
"52a8b6fc7aea7073ecf9efba791c085cd15f5c9b9238ebf31d57ba07d95a2f54",
"wss://relay.damus.io/",
"reply"
],
[
"p",
"8685ebef665338dd6931e2ccdf3c19d9f0e5a1067c918f22e7081c2558f8faf8",
"wss://relay.damus.io/",
"mention"
],
[
"p",
"3efdaebb1d8923ebd99c9e7ace3b4194ab45512e2be79c1b7d68d9243e0d2681",
"",
"mention"
],
[
"client",
"noStrudel",
"31990:266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5:1686066542546"
]
],
"content": "yes search would be useful in clients, currently i have a very low-tech solution for that, a script that queries from my relay's database directly (by kind and pubkey) and runs a regexp on the event contents\n\nwhich, aleady, works better than nostr.band and such, but it's not exactly user friendly",
"sig": "43189cb29b463c4a9a995961f7a371d56269ca3284533bd0ddc10ba38c2e86265cef9f51ffcc5f3eb117cca1a5b6ed490e463a74c6845e376d23dad7c75d51f3"
}