Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leesalminen/nostr-broadcast
https://github.com/leesalminen/nostr-broadcast
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/leesalminen/nostr-broadcast
- Owner: leesalminen
- License: mit
- Created: 2023-02-06T14:44:01.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-23T10:07:47.000Z (over 1 year ago)
- Last Synced: 2024-04-20T14:23:16.015Z (8 months ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 25
- Watchers: 2
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-nostr - nostr-broadcast - broadcast.svg?style=social) - This tool lets you take your events from some relays and broadcast them to another relay. Could be helpful for backing up your notes to a private relay. (Tools / Client reviews and/or comparisons)
README
# nostr-rebroadcast
This tool allows you to take events from one relay and publish them to another
## Pre-requisites
You must have node.js (18) and npm installed.
## Steps
```
git clone https://github.com/leesalminen/nostr-rebroadcast.git
cd nostr-rebroadcast
npm install
```Open `index.js` with your favorite text editor and change to your values as needed.
- YOUR_HEX_ENCODED_PUBLIC_KEY_HERE
- TO_RELAY_URLNote, you can also change the values of the `relayFromUrls` array to match your current relay list as desired.
Save the changes to the file then run
```
node index.js
```