Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

github.com/jeremyd/nostr-contacts

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/jeremyd/nostr-contacts


Version published
Created
Source

nostr-contacts

A command line tool for making a backup of your #nostr contact list.

(Also known as follows).

See nostr protocol.

Features

  • Support Linux / Mac / Windows
  • Backup contacts as a flat .txt file
  • Restore contacts from a backup

Download the release from github.

Unpack and run.

help:

nostr-contacts --help

example backing up contacts:

nostr-contacts backup --relay wss://nostr21.com --relay wss://nostr-pub.wellorder.net --pubkey npub1xxx

example restoring contacts:

export NOSTR_PRIVATE=<your private key>
# this will prompt for confirmation before broadcasting
nostr-contacts restore --file <path to backup.txt> --relay wss://nostr-pub.wellorder.net

Contacts Backup .txt file format

Contacts will be saved in contacts-(pubkey)-(unix timestamp).txt in the current directory.

This file contains a list of the pubkeys of your follows (one per line).

FAQs

Package last updated on 12 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc