From 914e1fd11138f32bd9dbd241822bedfb68d8a381 Mon Sep 17 00:00:00 2001 From: Joel Klabo Date: Sun, 22 Jan 2023 14:32:14 -0800 Subject: [PATCH 1/4] Change README to `.md` for Formatting to Work Fixes: #7 --- Makefile | 2 +- README.txt => README.md | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename README.txt => README.md (100%) diff --git a/Makefile b/Makefile index f7fe313..3000e1e 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ all: nostril docs docs: doc/nostril.1 -doc/nostril.1: README.txt +doc/nostril.1: README.md scdoc < $^ > $@ version: nostril.c diff --git a/README.txt b/README.md similarity index 100% rename from README.txt rename to README.md From 65c7077cce02016f444165b974b987e5ff76cceb Mon Sep 17 00:00:00 2001 From: Sonny Alves Dias Date: Tue, 21 Feb 2023 15:02:30 +0800 Subject: [PATCH 2/4] Adds install doc for Ubuntu (#24) --- doc/INSTALL.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/INSTALL.txt b/doc/INSTALL.txt index d506d79..5b2d67e 100644 --- a/doc/INSTALL.txt +++ b/doc/INSTALL.txt @@ -7,3 +7,15 @@ $ make # Optional - install to system PATH $ sudo make install + +###################### + +Ubuntu +------ + +$ sudo apt install libtool make automake +$ make + +# Optional - install to system PATH + +$ sudo make install From d657ccdf84dd5e2b4463b0abaeca7c7b99837ecb Mon Sep 17 00:00:00 2001 From: William Casarin Date: Sun, 5 Mar 2023 11:00:31 -0500 Subject: [PATCH 3/4] add replacable list param to nostril-query --- nostril-query | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nostril-query b/nostril-query index 4227352..8ed2145 100755 --- a/nostril-query +++ b/nostril-query @@ -8,6 +8,7 @@ parser = argparse.ArgumentParser(prog = 'nostril-query', description = 'Construc parser.add_argument('-a', '--authors') parser.add_argument('-p', '--mentions') parser.add_argument('-e', '--references') +parser.add_argument('-d', '--parameter') parser.add_argument('-t', '--hashtag') parser.add_argument('-i', '--ids') parser.add_argument('-k', '--kinds') @@ -48,6 +49,9 @@ if args.mentions is not None: if args.references is not None: filt["#e"] = args.references.split(",") +if args.parameter is not None: + filt["#d"] = args.parameter.split(",") + if args.kinds is not None: kinds = args.kinds.split(",") filt["kinds"] = [a for a in map(lambda s: int(s), kinds)] From 8726ad3b15f10e5a09864bbef61f7a35d1d2f3d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20D=C6=B0=C6=A1ng?= Date: Tue, 8 Aug 2023 13:35:39 -0300 Subject: [PATCH 4/4] Add --sec to the documentation Closes: https://github.com/jb55/nostril/pull/32 --- README.md | 3 +++ doc/nostril.1 | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/README.md b/README.md index e783209..21d3876 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,9 @@ nostril - generate nostr events *--created-at* Set the created at. Optional, this is set automatically. +*--sec* + Set the secret key for signing, otherwise one will be randomly generated. + *--mine-pubkey* Mine a pubkey. This may or may not be cryptographically dubious. diff --git a/doc/nostril.1 b/doc/nostril.1 index 550f0cd..9d69e8b 100644 --- a/doc/nostril.1 +++ b/doc/nostril.1 @@ -47,6 +47,11 @@ Set the kind of the note Set the created at.\& Optional, this is set automatically.\& .P .RE +\fB--sec\fR +.RS 4 +Set the secret key for signing, otherwise one will be randomly generated.\& +.P +.RE \fB--mine-pubkey\fR .RS 4 Mine a pubkey.\& This may or may not be cryptographically dubious.\&