File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,21 @@ nostr-command(lin)er. A word play.
5959 - Once program is compiled, the executable will be available in target/release/nostr-commander-rs.
6060 - ` ./target/release/nostr-commander-rs --version # run it and get version `
6161
62+ # No Config File
63+
64+ If desired, you can work without a config file. If you already have a private key (nsec)
65+ then you can do simple commands like this:
66+
67+ E.g. fire-and-forget: send a message without a config file and forget everything after message has been sent:
68+
69+ - ` nostr-commander-rs --nsec nsec1SomeStrangeString --add-relay "wss://some.relay.net/" --publish "some text" `
70+ - ` nostr-commander-rs --nsec $NSEC --add-relay "wss://some.relay.net/" --publish - < SOMETEXTFILE.txt `
71+
6272# Config File
6373
74+ For more functionality or in order to create a new user you will want to
75+ work with a simple JSON credentials file.
76+
6477You don't need to know any of this. This is just for the curious ones.
6578
6679The default location of the config file is
@@ -70,7 +83,7 @@ $HOME/.local/share/nostr-commander-rs/credentials.json
7083or equivalent for other platforms.
7184
7285The config file looks something like this. If you want to do some quick testing,
73- you can copy and paste this config file to get going real fast.
86+ you can copy and paste this config file to get going fast.
7487
7588```
7689{
You can’t perform that action at this time.
0 commit comments