Overview

Nostr is a decentralized protocol for social networking and data exchange. It uses relays to store and distribute events. Relay’s instance directory maps naturally onto Nostr’s event model.

Planned Integration

Instance Directory as Nostr Events

Each instance in the directory would be published as a Nostr event with a custom kind. This makes the directory:

  • Censorship-resistant — events are signed and distributed across Nostr relays
  • Interoperable — any Nostr client can read instance announcements
  • Decentralized — no single relay controls the directory

Announcement Flow

  1. An operator adds an instance to a Relay node
  2. The Relay node publishes a signed Nostr event describing the instance
  3. Other Relay nodes subscribe to these events and merge them into their directories
  4. The Nostr network becomes an additional discovery channel

Relay as Nostr Client

Each Relay node would also act as a Nostr client:

  • Subscribe to instance announcement events from specific pubkeys or relays
  • Validate signatures and merge verified instances
  • Publish its own directory state periodically

Status

This integration is in the planning stage. It is on the roadmap but not yet implemented.