git-nostr-tools

git nostr tools
git clone git://jb55.com/git-nostr-tools
Log | Files | Refs

commit 943e204956f02dba4d775b794f82130cd8e85791
parent 5f5ecc9d74a6e0d66eca6f9850d3d55206729b78
Author: William Casarin <jb55@jb55.com>
Date:   Thu, 17 Nov 2022 18:57:54 -0800

more examples

Diffstat:
MREADME.txt | 37++++++++++++++++++++++++++++++++-----
1 file changed, 32 insertions(+), 5 deletions(-)

diff --git a/README.txt b/README.txt @@ -4,10 +4,21 @@ git-nostr-tools Send and receive patches over nostr + Install ------- -sudo make install +Set your default relay: + + git config --global nostr.relays wss://relay.damus.io + +Set your hex nostr secret key: + + git config --global nostr.secretkey abcdef.... + +Install: + + sudo make install Dependencies @@ -19,10 +30,26 @@ nostril: https://cdn.jb55.com/tarballs/nostril/ nostcat: https://github.com/blakejakopovic/nostcat -Tools ------ +Examples +-------- + +Send a patch to nostr (remove -d to actually send): + + git send-nostr -d HEAD^- -t testproject + +Show latest patches + + git show-nostr + +Show latest patches from pubkey + + export JB55=32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245 + git show-nostr -p $JB55 + +Show latest patches for some project -git-show-nostr: list patches and show patches -git-send-nostr: send patches to nostr + git show-nostr -t damusweb +Apply patches + git show-nostr -t damusweb | git am