Skip to main content
The Deno 2 Release Candidate is here
Learn more

nosdump

A command line tool which dumps events stored in Nostr relays, in a form of JSON-Lines (also known as NDJSON).

Installation

Install Deno and run:

deno install --allow-net https://deno.land/x/nosdump@0.1.0/main.ts

Usage

nosudmp <relay URLs>

Example

Dumping all events stored in the relay wss://relay.damus.io to a file:

nosdump wss://relay.damus.io > dump.jsonl