https://github.com/leesalminen/nostr-broadcast
https://github.com/leesalminen/nostr-broadcast
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/leesalminen/nostr-broadcast
- Owner: leesalminen
- License: mit
- Created: 2023-02-06T14:44:01.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-10T15:13:41.000Z (about 2 years ago)
- Last Synced: 2025-07-09T20:50:08.946Z (about 1 year ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 29
- Watchers: 1
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Self-Hosting-Guide - nostr-broadcast - A 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. (Install from Source / Nostr)
- 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_URL
Note, 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
```