Yonle / nostr-rtr

Nostr Relay to Relay

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nostr-rtr
=========

A simple nostr relay-to-relay bridge.

So what was basically this thing doing?

Relay 1   <--- Events ---
  |                     |
  --- Events --->   Relay 2

Syncing all events including realtime to two (or more) relays.


First time using
================
Please run `npm install`.


So how to use this?
===================

Say, you would like to relay wss://relay1.example.com with your relay that were listening at localhost. 

  ~/nostr-rtr $ node rtr.js wss://relay1.example.com ws://localhost:8080

And now feel free to browse, or post stuffs to wss://localhost:8080.

You may also like to disable waiting of EOSE. However this was discouraged:

  ~/nostr-rtr $ NO_WAIT_EOSE=true node rtr.js wss://relay1.example.com ws://localhost:8080

About

Nostr Relay to Relay

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:JavaScript 100.0%