Why Nostr? What is Njump?
2023-09-07 14:15:11

npub16n…smw3t on Nostr: diff --git a/README b/README new file mode 100644 index 0000000..73fc9bb --- ...

diff --git a/README b/README
new file mode 100644
index 0000000..73fc9bb
--- /dev/null
+++ b/README
@@ -0,0 +1,10 @@
+## clone-org.sh
+
+```shell
+gnostr-query -i 01d4c53f86cf057fd9ac8d5c01a645004f7e83b2318618d94e7de642c601b4fe | gnostr-cat -u wss://relay.damus.io
+
+```
+
+```git
+["EVENT","gnostr-query",{"content":"diff --git a/.gitignore b/.gitignore\nnew file mode 100644\nindex 0000000..c987c6b\n--- /dev/null\n+++ b/.gitignore\n@@ -0,0 +1 @@\n+gnostr-org\ndiff --git a/clone-org.sh b/clone-org.sh\nold mode 100644\nnew mode 100755\nindex ed25076..3b521f1\n--- a/clone-org.sh\n+++ b/clone-org.sh\n@@ -9,7 +9,6 @@ export GSED\n SED=${GSED:-SED}\n export SED\n echo SED=$SED\n-exit\n result=${PWD##*/} | $SED 's/[.]+/-/g'\n export result\n org=${result/-/.}\n@@ -17,27 +16,22 @@ export org\n echo $result\n echo $org\n \n-## if [ -z \"$1\" ]; then\n-## echo \"-z $1\"\n-## ORG=gnostr-org\n-## else\n-## echo \"! -z $1\"\n-## ORG=$1\n-## fi\n-exit\n+if [ -z \"$1\" ]; then\n+ echo \"-z $1\"\n+ ORG=gnostr-org\n+else\n+ echo \"! -z $1\"\n+ ORG=$1\n+fi\n \n-gh repo list $1 --limit 1000 | while read -r repo _; do\n- gh repo clone \"$repo\" \"$repo\" -- -q 2>/dev/null || (\n- cd \"$repo\"\n- # Handle case where local checkout is on a non-main/master branch\n- # - ignore checkout errors because some repos may have zero commits,\n- # so no main or master\n- git checkout -q main 2>/dev/null || true\n- git checkout -q master 2>/dev/null || true\n- git pull -q\n- )\n-done\n-gh repo list rust-nostr --limit 1000 | while read -r repo _; do\n+\n+ORG=${1/./-}\n+echo org=$org\n+\n+## exit\n+\n+gh repo list $ORG --limit 1000 | while read -r repo _; do\n+ echo \"cloning $repo\"\n gh repo clone \"$repo\" \"$repo\" -- -q 2>/dev/null || (\n cd \"$repo\"\n # Handle case where local checkout is on a non-main/master branch\n@@ -48,14 +42,3 @@ gh repo list rust-nostr --limit 1000 | while read -r repo _; do\n git pull -q\n )\n done\n-gh repo list github --limit 1000 | while read -r repo _; do\n- gh repo clone \"$repo\" \"$repo\" -- -q 2>/dev/null || (\n- cd \"$repo\"\n- # Handle case where local checkout is on a non-main/master branch\n- # - ignore checkout errors because some repos may have zero commits,\n- # so no main or master\n- git checkout -q main 2>/dev/null || true\n- git checkout -q master 2>/dev/null || true\n- git pull -q\n- )\n-done\n\\ No newline at end of file","created_at":1694095440,"id":"01d4c53f86cf057fd9ac8d5c01a645004f7e83b2318618d94e7de642c601b4fe","kind":1,"pubkey":"d4d8d344469f0467a0b85bd78366531737a03f9de17b1131a22fbfdeed4fe2b6","sig":"83e738f62597c21ab3f747ff6e8d2fd35f6263d235ca979812334e88ab4788a7f216611a742af6c594f9dfdf08468f2ee3ee3c7c6aac59a88e8fdadc2dc0af11","tags":[["weeble","2100"],["wobble","220734"],["blockheight","806607"]]}]
+```
Author Public Key
npub16nvdx3zxnuzx0g9ct0tcxejnzum6q0uau9a3zvdz97laam20u2mqmsmw3t