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"]]}]
+```
Published at
2023-09-07 14:15:11Event JSON
{
"id": "8f1db85a5a331c3f31bdff3c09df7574a04928b90f55e70522b9d85f298d59e2",
"pubkey": "d4d8d344469f0467a0b85bd78366531737a03f9de17b1131a22fbfdeed4fe2b6",
"created_at": 1694096111,
"kind": 1,
"tags": [
[
"weeble",
"2100"
],
[
"wobble",
"221398"
],
[
"blockheight",
"806607"
]
],
"content": "diff --git a/README b/README\nnew file mode 100644\nindex 0000000..73fc9bb\n--- /dev/null\n+++ b/README\n@@ -0,0 +1,10 @@\n+## clone-org.sh\n+\n+```shell\n+gnostr-query -i 01d4c53f86cf057fd9ac8d5c01a645004f7e83b2318618d94e7de642c601b4fe | gnostr-cat -u wss://relay.damus.io\n+\n+```\n+\n+```git\n+[\"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\u003e/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\u003e/dev/null || true\\n- git checkout -q master 2\u003e/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\u003e/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\u003e/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\u003e/dev/null || true\\n- git checkout -q master 2\u003e/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\"]]}]\n+```",
"sig": "fb28d28e6a077d9a2b277ccd4033ec8a81a2e446ce2d50e8845a929332d30da20c442fd5e87aa8a18f493eca4a5962bd3eb96d840a31b498f0ffcc927c9465a9"
}