Hacker News new | ask | show | jobs
by jron 755 days ago
Unlike web scraping where spaghetti logic is required to follow abstracted JS links, archival of nostr events can be as simple as running a relay and mirroring blog content.[1][2] nostr does a lot of what NNTP did but with additional flexibility.

[1] https://logperiodic.com/rbsr.html#nostr

[2] https://github.com/hoytech/strfry/blob/master/docs/negentrop...

1 comments

For that you will need to connect to all relays in existence, right?
Not necessarily, the gossip/outbox model (NIP-65) tells clients which relays they should check:

https://mikedilger.com/gossip-model/

It is of course possible to combine this approach with undifferentiated access to well known relays, to fetch content from not followed people.

Users currently tend to push events to massive relays but decentralization is still a goal:

https://raw.githack.com/dtonon/oracolo/master/examples/fiatj...

https://github.com/nostr-protocol/nips/blob/master/65.md

Still, the short answer to your question would be "yes."