David Härer on Nostr: #!/bin/sh file=$(mktemp) hx "$file" content=$(cat "$file") rm "$file" nsec=$(nitropy ...
#!/bin/sh
file=$(mktemp)
hx "$file"
content=$(cat "$file")
rm "$file"
nsec=$(nitropy nk3 secrets get-password "Nostr" --password)
nak event --content "$content" --sec "$nsec" "relay.damus.io"
Published at
2024-07-28 12:05:02Event JSON
{
"id": "300a45dc052abe77f0f56b4ebde65529a7d33c52ba5f3120d027695f8c9279ce",
"pubkey": "4f3f04381a9bf26990a2bb99d4f30bf3a385e97b8728cee3ef94d4168f76570b",
"created_at": 1722168302,
"kind": 1,
"tags": [],
"content": "#!/bin/sh\nfile=$(mktemp)\nhx \"$file\"\ncontent=$(cat \"$file\")\nrm \"$file\"\nnsec=$(nitropy nk3 secrets get-password \"Nostr\" --password)\nnak event --content \"$content\" --sec \"$nsec\" \"relay.damus.io\"",
"sig": "77a9f3b18e43ba39d432368286215cef47d1d722432d3190bf40b5c4e92dcd92f74bbb15f8e6802908cad787a88689e0593788df440701e8ee7247398215e95b"
}