Package Exports
- migstr
- migstr/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (migstr) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
migstr - nostr relay migration
Simple tool to download events from nostr relays and either print them out or push them to a destination relay. Use this to easily migrate events from a number of relays to another or just to save your events to a file.
Run the following commands to print out events from a single relay:
$ author=61ba7de10f2617ddd1731af540b2d727285904419641b29dd0193b7121aa874d
$ npx migstr $author wss://relay.damus.io >/tmp/events.ndjson
If more than one relay is specified, the last relay is interpreted as the destination relay and events from the first relays will be sent to it.