From 9252a59e4ac4e81aa9260915708e5b149e4b01f0 Mon Sep 17 00:00:00 2001 From: Vishal <64505169+vishalxl@users.noreply.github.com> Date: Sun, 17 Mar 2024 22:26:27 +0530 Subject: [PATCH] improved scripts. added new relay lists for scripts --- scripts/relay_list_all.txt | 3 +- scripts/relay_list_best.txt | 28 ++++++++++++++ scripts/relay_list_nostr_info.txt | 62 +++++++++++++++++++++++++++++++ scripts/send_request.sh | 3 ++ 4 files changed, 94 insertions(+), 2 deletions(-) create mode 100644 scripts/relay_list_best.txt create mode 100644 scripts/relay_list_nostr_info.txt diff --git a/scripts/relay_list_all.txt b/scripts/relay_list_all.txt index b39cc0d..a281514 100644 --- a/scripts/relay_list_all.txt +++ b/scripts/relay_list_all.txt @@ -80,6 +80,5 @@ nostr_relays=( # reference -# https://nostr-registry.netlify.app/ # nostr.info -# nostr.watch +# https://nostr.watch/relays/find diff --git a/scripts/relay_list_best.txt b/scripts/relay_list_best.txt new file mode 100644 index 0000000..7b7f0d7 --- /dev/null +++ b/scripts/relay_list_best.txt @@ -0,0 +1,28 @@ + +nostr_relays=( + + "wss://relay.snort.social" + "wss://relay.damus.io" + "wss://nostr-01.bolt.observer" + "wss://nos.lol" + "wss://nostr.wine" + + "wss://relay.current.fyi" + "wss://relay.nostr.band" + "wss://offchain.pub" + + "wss://relay2.nostrchat.io" + "wss://nostr.swiss-enigma.ch" + "wss://offchain.pub" + "wss://relay.stoner.com" + + + # info site + "wss://nostr.bitcoiner.social" + "wss://nostr.fmt.wiz.biz" + "wss://nostr.oxtr.dev" + "wss://nostr.roundrockbitcoiners.com" + "wss://nostr.vulpem.com" + "wss://relay.nostr.band" + "wss://soloco.nl" +) diff --git a/scripts/relay_list_nostr_info.txt b/scripts/relay_list_nostr_info.txt new file mode 100644 index 0000000..5c16051 --- /dev/null +++ b/scripts/relay_list_nostr_info.txt @@ -0,0 +1,62 @@ +# https://nostr.info/relays/ >> info relay list.txt +# echo "nostr_relays=( "; for relay in `grep -o -E "wss://[a-z0-9.\-]+" info\ relay\ list.txt` ; do echo "\"$relay\""; done ; echo ")" + + +nostr_relays=( + +"wss://relayable.org" +"wss://lightningrelay.com" +"wss://nostr.wine" +"wss://at.nostrworks.com" +"wss://brb.io" +"wss://btc.klendazu.com" +"wss://deschooling.us" +"wss://knostr.neutrine.com" +"wss://nos.lol" +"wss://nostr-01.bolt.observer" +"wss://nostr3.actn.io" +"wss://nostr.bch.ninja" +"wss://nostr.bitcoiner.social" +"wss://nostr.cercatrova.me" +"wss://nostr.easydns.ca" +"wss://nostr.einundzwanzig.space" +"wss://nostr.fmt.wiz.biz" +"wss://nostr.middling.mydns.jp" +"wss://nostr.mom" +"wss://nostr.nodeofsven.com" +"wss://nostr.noones.com" +"wss://nostr.orangepill.dev" +"wss://nostr.oxtr.dev" +"wss://nostr.pobblelabs.org" +"wss://nostr-pub.semisol.dev" +"wss://nostr-relay.bitcoin.ninja" +"wss://nostrrelay.com" +"wss://nostr-relay.derekross.me" +"wss://nostr-relay.schnitzel.world" +"wss://nostr.roundrockbitcoiners.com" +"wss://nostr.sectiontwo.org" +"wss://nostr.semisol.dev" +"wss://nostr.slothy.win" +"wss://nostr.swiss-enigma.ch" +"wss://nostr-verified.wellorder.net" +"wss://nostr-verif.slothy.win" +"wss://nostr.vulpem.com" +"wss://relay.damus.io" +"wss://relay.farscapian.com" +"wss://relay.lexingtonbitcoin.org" +"wss://relay.minds.com" +"wss://relay.n057r.club" +"wss://relay.nostr.band" +"wss://relay.nostr.bg" +"wss://relay.nostrid.com" +"wss://relay.nostr.nu" +"wss://relay.nostr.ro" +"wss://relay.oldcity-bitcoiners.info" +"wss://relay-pub.deschooling.us" +"wss://relay.snort.social" +"wss://relay.sovereign-stack.org" +"wss://relay.stoner.com" +"wss://nostr.mining.sc" +"wss://nostr.cheeserobot.org" +"wss://soloco.nl" +) \ No newline at end of file diff --git a/scripts/send_request.sh b/scripts/send_request.sh index 45c721b..af1cb0a 100644 --- a/scripts/send_request.sh +++ b/scripts/send_request.sh @@ -1,5 +1,8 @@ #!/bin/bash +# two events from jb55 and jack +# ./send_request.sh '["REQ","nnn",{"limit":3,"ids":["76443db69b9851219ff96ed02d6e5dfe83d85214c64e10520b1706b729f19ebe", "6ca7cc0fabb88e62567cfcc24f57142cdb5acf63a98267d67c138851fb061ef1"]}]' + configfile="./relay_list_all.txt" if [[ $# -eq 0 ]] ; then