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"
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"