Welcome to "nostr-commander-rs", a Nostr CLI client. ─── On the first run use --create-user to create a user. On further runs you can publish notes, send private DM messages, etc. Alternatively, you can skip creating a user and do a fire-and-forget publish like this: nostr-commander-rs --nsec nsec1SomeStrangeString --add-relay "wss://some.relay.net/" --publish "test". ─── Have a look at the repo "https://github.com/8go/nostr-commander-rs/" and see if you can contribute code to improve this tool. Safe! Usage: nostr-commander-rs [OPTIONS] Options: --contribute Please contribute -v, --version [] Print version number or check if a newer version exists on crates.io. --usage Prints a very short help summary. -h, --help Prints short help displaying about one line per argument. --manual Prints long help. --readme Prints README.md file, the documenation in Markdown. -d, --debug... Overwrite the default log level. --log-level ... Set the log level by overwriting the default log level. --verbose... Set the verbosity level. -c, --credentials Specify a path to a file containing credentials. --create-user Create a new user, i.e. a new key pair. --delete-user Delete the current user, i.e. delete the current key pair. --name Specify an optional user name. --display-name Specify an optional display name. --about Specify an optional description. --picture Specify an optional picture or avatar. --nip05 Specify an optional nip05 name. --nsec Provide one private key. -p, --publish [...] Publish one or multiple notes. --publish-pow [...] Publish one or multiple notes with proof-of-work (POW). --dm [...] Send one or multiple DMs to one given user. --send-channel-message [...] Send one or multiple messages to one given channel. --add-relay [...] Add one or multiple relays. --proxy Specify a proxy for relays. --remove-relay [...] Remove one or multiple relays from local config file. --tag Specify one or multiple tags to attach to notes or DMs. --show-metadata Display current metadata. --change-metadata Modify existing metadata of the user. --pow-difficulty Specify optional proof-of-work (POW) difficulty. --show-public-key Show public key. --show-secret-key Show private, secret key. --whoami Print the user name used by "nostr-commander-rs". -o, --output Select an output format. -l, --listen Listen to events, notifications and messages. --add-contact Add one or more contacts. --remove-contact Remove one or more contacts. --show-contacts Display current contacts. --alias [...] Provide one or multiple aliases (nicknames). --key [...] Provide one or multiple public keys. --relay [...] Provide one or multiple relays. --npub-to-hex [...] Convert one or multiple public keys from Npub to Hex. --hex-to-npub [...] Convert one or multiple public keys from Hex to Npub. --subscribe-pubkey [...] Subscribe to one or more public keys. --subscribe-author [...] Subscribe to authors with to one or more public keys of accounts. --subscribe-channel [...] Subscribe to public channels with one or more hashes of channels. --unsubscribe-pubkey [...] Unsubscribe from public key. --unsubscribe-author [...] Unsubscribe from author. --unsubscribe-channel [...] Unsubscribe from public channel. --limit-number Limit the number of past messages to receive when subscribing. --limit-days Limit the messages received to the last N days when subscribing. --limit-hours Limit the messages received to the last N hours when subscribing. --limit-future-days Limit the messages received to the next N days when subscribing. --limit-future-hours Limit the messages received to the last N hours when subscribing. PS: Also have a look at scripts/nostr-commander-tui. Use --manual to get more detailed help information.