Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 1.46 KB

README.md

File metadata and controls

35 lines (29 loc) · 1.46 KB

📡 nostr-bestrelays


nostrbestrelays1nostrbestrelays2

⚙️ Short explaination of how the script is working:

First he get a list of online relays from https://api.nostr.watch/v1/online
then he ping relays with a timeout of 0.250 seconds,
then he takes all the output and save the 10 with slowest ping as relays-list.txt
done.

Requirements:

  • wget ping sed cat awk cut head aka: nothing much :)

✔️ How to use nostr-bestrelays?

curl -L https://raw.githubusercontent.com/gourcetools/nostr-bestrelays/master/nostr-bestrelays.sh | bash
or
git clone https://github.com/gourcetools/nostr-bestrelays
cd ./nostr-bestrelays
maybe sudo chmod a+rwx ./nostr-bestrelays.sh
./nostr-bestrelays.sh


wait...
You should have 10 fast relays in nostr-bestrelays/relays-list.txt


================================= 🙋‍♂️ Need help?