git-nostr-tools

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

README.txt (1047B)


      1 
      2 git-nostr-tools
      3 ===============
      4 
      5 Send and receive patches over nostr
      6 
      7 
      8 Install
      9 -------
     10 
     11 Set your default relay:
     12 
     13 	git config --global nostr.relays wss://relay.damus.io
     14 
     15 Set your hex nostr secret key:
     16 
     17 	git config --global nostr.secretkey abcdef....
     18 
     19 Install:
     20 
     21 	sudo make install
     22 
     23 
     24 Dependencies
     25 ------------
     26 
     27 jq, fzf, nostril, nostcat
     28 
     29 nostril: https://cdn.jb55.com/tarballs/nostril/
     30 nostcat: https://github.com/blakejakopovic/nostcat
     31 
     32 
     33 Examples
     34 --------
     35 
     36 Send a patch to nostr (remove -d to actually send):
     37 
     38   git send-nostr -d HEAD^- -t testproject
     39 
     40 Send a patch to nostr, notifying someone in particular
     41 
     42   git send-nostr -d master^- -t damusweb -p <hex-pubkey>
     43 
     44 Show latest patches
     45 
     46   git show-nostr
     47 
     48 Show latest patches for some project
     49 
     50   git show-nostr -t damusweb
     51 
     52 Show patches notifying a particular user
     53 
     54   git show-nostr -p <pubkey>
     55 
     56 Show patches created by a particular user
     57 
     58   export JB55=32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245
     59   git show-nostr -a $JB55
     60 
     61 Apply patches
     62 
     63   git show-nostr -t damusweb | git am