Skip to content

Commit

Permalink
improved scripts. added new relay lists for scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalxl committed Mar 17, 2024
1 parent 7a3a224 commit 9252a59
Show file tree
Hide file tree
Showing 4 changed files with 94 additions and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/relay_list_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,5 @@ nostr_relays=(


# reference
# https://nostr-registry.netlify.app/
# nostr.info
# nostr.watch
# https://nostr.watch/relays/find
28 changes: 28 additions & 0 deletions scripts/relay_list_best.txt
Original file line number Diff line number Diff line change
@@ -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"
)
62 changes: 62 additions & 0 deletions scripts/relay_list_nostr_info.txt
Original file line number Diff line number Diff line change
@@ -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"
)
3 changes: 3 additions & 0 deletions scripts/send_request.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 9252a59

Please sign in to comment.