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.
wget ping sed cat awk cut head
aka: nothing much :)
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?
- Nostr: [email protected] | [email protected]
- Telegram: @bitpaint | Twitter: @bitpaintclub