Skip to content

private_relays

Robert C. Martin edited this page May 27, 2022 · 7 revisions

private/relays

This file describes all the nostr relays you want to read from and write to. Here's an example of mine.

{
  "wss://nostr-pub.wellorder.net"        {:read true  :write true}
  "wss://wlvs.space"                     {:read true  :write true}
  "wss://nostr.rocks"                    {:read true  :write false}
  "wss://freedom-relay.herokuapp.com/ws" {:read true  :write false}
  "ws://nostr.rocks:7448"                {:read true  :write false}
  "ws://nostr-pub.wellorder.net:7000"    {:read false :write false}
  "wss://rsslay.fiatjaf.com"             {:read true  :write false}
  "wss://nostr-relay.wlvs.space"         {:read true  :write false}
  "wss://nostr.bitcoiner.social"         {:read true  :write false}
  "wss://nostr.semisol.dev"              {:read true  :write false}
  "wss://relay.damus.io"                 {:read true  :write false}
  "wss://nostrrr.bublina.eu.org"         {:read true  :write false}
}

You don't need this many relays. Or, you may want more. I think the format is pretty self-explanatory.

  • if :read is true then more-speech will read events from this relay. At the moment it requests all events that are less than 10 days old.
  • if :write is true then more-speech will write any events you send, and your initial profile upon startup, to that relay.

One day soon I want to automatically update this file with all relays that are recommended by other events. I also want to update the R/W status using the GUI and then reconnect to those relays with the new status.

Clone this wiki locally