Five on Nostr: Filter: Nip01 describes how to construct such a filter with kind 0, since and until ...
Filter:
Nip01 describes how to construct such a filter with kind 0, since and until fields. After that you just match content of downloaded events.
A different approach is to search for human readable strings on relays which support [nip50](
https://nostr-nips.com/nip-50) but that is not yet widely adopted afaik. You could try nostr.band relay e.g. See nostr.watch for nip support and other metrics of different relays.
Relays:
You can't strictly get _any and all_ notes in nostr because you would have to go to and access each and every relay there is, which is unfeasible. You have to select some reasonable relays to your use cases.
In your case I would hit some well-known metadata relays like purplepag.es .
Fields:
As to the name and display_name, there are different nostr apps using different conventions for this. Best-off you check both. Also you can check well-known sdk-s like [NDK](
https://github.com/nostr-dev-kit/ndk) or [rust-nostr](
https://rust-nostr.org/) how they go about this and other fields/tags of nips.
Published at
2025-01-31 05:48:47Event JSON
{
"id": "c1ba7300869639500004580a0bf90e6e488c5493262f4186ef35cb1257c0da41",
"pubkey": "d04ecf33a303a59852fdb681ed8b412201ba85d8d2199aec73cb62681d62aa90",
"created_at": 1738302527,
"kind": 1,
"tags": [
[
"e",
"4a2b8ac5c2aed589f6e10074f497b7f73a26e78a952b264346cd164cabc03946",
"",
"root"
],
[
"p",
"e3aefda887252a72cee3578d33b2dcd90e9fe53b8bed6347ef5e26f74211adbb"
],
[
"r",
"https://nostr-nips.com/nip-50)"
],
[
"r",
"nostr.band"
],
[
"r",
"nostr.watch"
],
[
"r",
"purplepag.es"
],
[
"r",
"https://github.com/nostr-dev-kit/ndk)"
],
[
"r",
"https://rust-nostr.org/)"
]
],
"content": "Filter:\nNip01 describes how to construct such a filter with kind 0, since and until fields. After that you just match content of downloaded events.\nA different approach is to search for human readable strings on relays which support [nip50](https://nostr-nips.com/nip-50) but that is not yet widely adopted afaik. You could try nostr.band relay e.g. See nostr.watch for nip support and other metrics of different relays.\n\nRelays:\nYou can't strictly get _any and all_ notes in nostr because you would have to go to and access each and every relay there is, which is unfeasible. You have to select some reasonable relays to your use cases. \nIn your case I would hit some well-known metadata relays like purplepag.es .\n\nFields:\nAs to the name and display_name, there are different nostr apps using different conventions for this. Best-off you check both. Also you can check well-known sdk-s like [NDK](https://github.com/nostr-dev-kit/ndk) or [rust-nostr](https://rust-nostr.org/) how they go about this and other fields/tags of nips.\n",
"sig": "97fcc2a63644c521c08c5545172676e43c445fa07e7942f5af711c94a33dad3466ccaf2fbc28b82aaa5c0739eb5a5db87d55fb1fc24be5530c57ecba8c7dc0e6"
}