Alex Gleason 🐍🚬 on Nostr: You would use relay hints inside of events to discover new relays automatically. Then ...
You would use relay hints inside of events to discover new relays automatically. Then you connect to those and keep downloading and crawling. Similar to how Google crawlers use links to find the whole web. Primal's Nostr crawler does this.
Published at
2024-10-25 20:10:30Event JSON
{
"id": "6f62a54d66cfb2da5c723543fbe9e3728aead0f757cef8cdeee15b4fd8d6143c",
"pubkey": "0461fcbecc4c3374439932d6b8f11269ccdb7cc973ad7a50ae362db135a474dd",
"created_at": 1729887030,
"kind": 1,
"tags": [
[
"e",
"280e6e9b133fc0a9472e617137259db9176162f23c788b120f67001fa04245cf",
"wss://gleasonator.dev/relay",
"root",
"52b4a076bcbbbdc3a1aefa3735816cf74993b1b8db202b01c883c58be7fad8bd"
],
[
"e",
"13d03f60c929b17375b127c5a6c2051e6f7ae878f43fb00e7b3043ea80271245",
"wss://gleasonator.dev/relay",
"reply",
"3f770d65d3a764a9c5cb503ae123e62ec7598ad035d836e2a810f3877a745b24"
],
[
"p",
"3f770d65d3a764a9c5cb503ae123e62ec7598ad035d836e2a810f3877a745b24",
"wss://gleasonator.dev/relay"
],
[
"p",
"52b4a076bcbbbdc3a1aefa3735816cf74993b1b8db202b01c883c58be7fad8bd",
"wss://gleasonator.dev/relay"
]
],
"content": "You would use relay hints inside of events to discover new relays automatically. Then you connect to those and keep downloading and crawling. Similar to how Google crawlers use links to find the whole web. Primal's Nostr crawler does this.",
"sig": "4b1aa670cc8ef07526386938509757f6578b6983cfc968cd0e5c84566b5b8a7c00f30129bd3f5ea722271c760f5664ac4338abc19ec17279f417806271b9344a"
}