From 239eb4454dff702ae554d35bb72c80d066cd22eb Mon Sep 17 00:00:00 2001 From: Skander Helali <2225618+SkanderHelali@users.noreply.github.com> Date: Thu, 29 Dec 2022 05:21:13 +0100 Subject: [PATCH 01/14] add wss://nostr-verif.slothy.win --- relays.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/relays.yaml b/relays.yaml index c388692..d546670 100644 --- a/relays.yaml +++ b/relays.yaml @@ -59,6 +59,7 @@ relays: - wss://nostr-relay.nonce.academy - wss://nostr.rewardsbunny.com - wss://nostr.slothy.win + - wss://nostr-verif.slothy.win - wss://nostr.coinos.io - wss://relay.nostropolis.xyz/websocket - wss://lv01.tater.ninja From d2f8ae6381e28a1bf8b05d1e867c28d4f0af0ca8 Mon Sep 17 00:00:00 2001 From: Ivo Greshev Date: Thu, 29 Dec 2022 21:32:13 +0200 Subject: [PATCH 02/14] Update relays.yaml add new relay --- relays.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/relays.yaml b/relays.yaml index d546670..b52c199 100644 --- a/relays.yaml +++ b/relays.yaml @@ -166,3 +166,4 @@ relays: - wss://nostr.zenon.wtf - wss://nostr.massmux.com - wss://no.contry.xyz + - wss://relay.nostr.bg From 11b1651fc6cf4e603f839f48dcce78ab1372338e Mon Sep 17 00:00:00 2001 From: ptrio42 aka pitiunited Date: Fri, 30 Dec 2022 14:32:11 +0100 Subject: [PATCH 03/14] Add wss://nostr.uselessshit.co --- relays.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/relays.yaml b/relays.yaml index b52c199..d0011a7 100644 --- a/relays.yaml +++ b/relays.yaml @@ -167,3 +167,4 @@ relays: - wss://nostr.massmux.com - wss://no.contry.xyz - wss://relay.nostr.bg + - wss://nostr.uselessshit.co From b9b98d6329d12d285aea31f17dff01a7c2c93e1d Mon Sep 17 00:00:00 2001 From: nvk Date: Fri, 30 Dec 2022 16:05:27 -0500 Subject: [PATCH 04/14] Added brb.io --- relays.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/relays.yaml b/relays.yaml index d0011a7..8483e24 100644 --- a/relays.yaml +++ b/relays.yaml @@ -168,3 +168,4 @@ relays: - wss://no.contry.xyz - wss://relay.nostr.bg - wss://nostr.uselessshit.co + - wss://brb.io From e18312c9f938b1f697884b31307f88cd0c8d3ec1 Mon Sep 17 00:00:00 2001 From: dskvr Date: Sat, 31 Dec 2022 16:25:52 +0100 Subject: [PATCH 05/14] hotfix? remove circular dependency --- scripts/relays.js | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/scripts/relays.js b/scripts/relays.js index d660718..de0d4ae 100644 --- a/scripts/relays.js +++ b/scripts/relays.js @@ -2,7 +2,8 @@ const { RelayPool, Relay } = require('nostr'), crypto = require('crypto'), writeYamlFile = require('write-yaml-file'), fs = require('fs'), - fetch = require('cross-fetch') + fetch = require('cross-fetch'), + yaml= require('js-yaml'); const result = {}, relays_endpoint = 'https://nostr.watch/relays.json' @@ -47,9 +48,13 @@ const concatRelays = function(){ } async function getRelays(){ - return await fetch(relays_endpoint, { method: "Get" }) - .then(res => res.json()) - .then(json => relaysKnown = json.relays) + // return await fetch(relays_endpoint, { method: "Get" }) + // .then(res => res.json()) + // .then(json => relaysKnown = json.relays) + const relaysObj = yaml.load(fs.readFileSync('./relays.yaml', 'utf8')) + relaysKnown = relaysObj.relays + console.log(relaysKnown) + return } async function discover(){ @@ -79,7 +84,6 @@ async function discover(){ pool.close() resolve(true) }, 10*1000 ) - }) } From ed15a0273d73200540b3ebf6e57b58e162a1d8f0 Mon Sep 17 00:00:00 2001 From: 0xNitron <108939826+0xNitron@users.noreply.github.com> Date: Sat, 31 Dec 2022 10:57:52 -0800 Subject: [PATCH 06/14] Added new relay --- relays.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/relays.yaml b/relays.yaml index 8483e24..a6cd1fb 100644 --- a/relays.yaml +++ b/relays.yaml @@ -1,4 +1,5 @@ relays: + - wss://relay.nostr.vision - wss://nostr-3.orba.ca - wss://satstacker.cloud - wss://freedom-relay.herokuapp.com/ws From f9daf3dfa0ffbec8cd168fbb7a91fbfbd00ed8ae Mon Sep 17 00:00:00 2001 From: Tranbert Date: Sun, 1 Jan 2023 21:30:42 +0100 Subject: [PATCH 07/14] Update relays.yaml wss://nostream.gromeul.eu in tests --- relays.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/relays.yaml b/relays.yaml index a6cd1fb..6e0db0e 100644 --- a/relays.yaml +++ b/relays.yaml @@ -170,3 +170,4 @@ relays: - wss://relay.nostr.bg - wss://nostr.uselessshit.co - wss://brb.io + - wss://nostream.gromeul.eu From b4305b36fb0ff2efd5f7e63a137d34023ff94329 Mon Sep 17 00:00:00 2001 From: Raul Piraces Alastuey Date: Mon, 2 Jan 2023 00:23:06 +0100 Subject: [PATCH 08/14] Add new relay nostr.developer.li Relay located at nostr.developer.li. General purpose public relay using nostream v1.16.0. --- relays.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/relays.yaml b/relays.yaml index 6e0db0e..40f31aa 100644 --- a/relays.yaml +++ b/relays.yaml @@ -171,3 +171,5 @@ relays: - wss://nostr.uselessshit.co - wss://brb.io - wss://nostream.gromeul.eu + - wss://nostr.developer.li + From 7ac521b2b7f20ca7200c9ebba147a10cc7084381 Mon Sep 17 00:00:00 2001 From: "nostr.ro" <121780215+nostrro@users.noreply.github.com> Date: Mon, 2 Jan 2023 06:08:19 +0200 Subject: [PATCH 09/14] Adding nostr.ro public relay URL: https://relay.nostr.ro Software: https://git.sr.ht/~gheartsfield/nostr-rs-relay Version: 0.7.15 --- relays.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/relays.yaml b/relays.yaml index 6e0db0e..53c9988 100644 --- a/relays.yaml +++ b/relays.yaml @@ -171,3 +171,4 @@ relays: - wss://nostr.uselessshit.co - wss://brb.io - wss://nostream.gromeul.eu + - wss://relay.nostr.ro From 1ddc35ac4a0fbe65a0667946153b156771add55a Mon Sep 17 00:00:00 2001 From: JungKwung <121815680+JungKwung@users.noreply.github.com> Date: Mon, 2 Jan 2023 08:49:58 -0700 Subject: [PATCH 10/14] Update relays.yaml Adding wss://nostr.screaminglife.io --- relays.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/relays.yaml b/relays.yaml index 4af0d9b..dea2ea6 100644 --- a/relays.yaml +++ b/relays.yaml @@ -173,3 +173,4 @@ relays: - wss://nostream.gromeul.eu - wss://relay.nostr.ro - wss://nostr.developer.li + - wss://nostr.screaminglife.io From 30e8c1e8dcabb29791ef1c5505b7ac3f681091ae Mon Sep 17 00:00:00 2001 From: "Dave St.Germain" Date: Mon, 2 Jan 2023 15:22:36 -0500 Subject: [PATCH 11/14] Update relays.yaml nostr.pobblelabs.org has moved to relay-pub.deschooling.us also added deschooling.us as a verified-only relay --- relays.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/relays.yaml b/relays.yaml index dea2ea6..a52ccbd 100644 --- a/relays.yaml +++ b/relays.yaml @@ -85,7 +85,6 @@ relays: - wss://nostr.jiashanlu.synology.me - wss://nostr.radixrat.com - wss://nostr.shawnyeager.net - - wss://nostr.pobblelabs.org - wss://relay.dev.kronkltd.net - wss://nostr2.namek.link - wss://nostr-dev.wellorder.net @@ -174,3 +173,6 @@ relays: - wss://relay.nostr.ro - wss://nostr.developer.li - wss://nostr.screaminglife.io + - wss://deschooling.us + - wss://relay-pub.deschooling.us + From 4942b99431034f3f8ee9631cdf62522f4a2513e1 Mon Sep 17 00:00:00 2001 From: Sandwich <299465+dskvr@users.noreply.github.com> Date: Tue, 3 Jan 2023 03:02:11 +0100 Subject: [PATCH 12/14] Create LICENSE --- LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..f53899f --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) Sandwich Farm LLC + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. From 17793412d736ed82bc6a67ab70afc372a2a61e36 Mon Sep 17 00:00:00 2001 From: NostrTroy <121823250+NostrTroy@users.noreply.github.com> Date: Tue, 3 Jan 2023 13:06:17 -0500 Subject: [PATCH 13/14] Update relays.yaml --- relays.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/relays.yaml b/relays.yaml index a52ccbd..0be6683 100644 --- a/relays.yaml +++ b/relays.yaml @@ -175,4 +175,5 @@ relays: - wss://nostr.screaminglife.io - wss://deschooling.us - wss://relay-pub.deschooling.us + - wss://nostr-pub1.southflorida.ninja From 09853bd1de2ec1783e5ceee5b2463d4f20b02b1a Mon Sep 17 00:00:00 2001 From: Kenton McHenry Date: Tue, 3 Jan 2023 16:24:01 -0600 Subject: [PATCH 14/14] Update relays.yaml Adding nostr.ncsa.illinois.edu --- relays.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relays.yaml b/relays.yaml index 0be6683..24a25ad 100644 --- a/relays.yaml +++ b/relays.yaml @@ -176,4 +176,4 @@ relays: - wss://deschooling.us - wss://relay-pub.deschooling.us - wss://nostr-pub1.southflorida.ninja - + - wss://nostr.ncsa.illinois.edu