Your Nostr data isn't yours until you hold it locally.
I just wrote a lightweight Python script that connects to the main relays and instantly backs up your entire Nostr identity:
- Kind 0 (Profile metadata)
- Kind 1 (All your posts, exported as raw JSON and readable Markdown!)
- Kind 3 (Follows list)
- Kind 10002 (Relay list)
Code:
https://termbin.com/bd7o
Usage: `python3 nostr_export.py <your_hex_pubkey>`
Takes 5 seconds. Run it, zip the folder, and keep your history safe.
#nostr #nostrdev #python #plebdev