hoytech / strfry

a nostr relay
GNU General Public License v3.0
489 stars 96 forks source link

Add nodeinfo support #92

Closed alexgleason closed 9 months ago

alexgleason commented 9 months ago

nodeinfo is a well-known route used in decentralized social media, especially the Fediverse. I think adding nodeinfo to relays could open doors for greater interoperability across protocols, as it will help crawlers automatically discover Nostr relays to add to lists such as FediDB.

This exposes routes at /.well-known/nodeinfo and /nodeinfo/2.1, similar to Mastodon: https://mastodon.social/.well-known/nodeinfo

hoytech commented 9 months ago

I hadn't heard of this standard, but it sounds useful. Thank you!