repo: nostr action: blob revision: path_from: nostr-post.sh revision_from: refs/heads/master: path_to: revision_to:
blob of:
/ nostr-post.sh
refs/heads/master:/nostr-post.sh
#!/usr/bin/env bash post="$(nostril --sec "$(cat ~/.config/nostr/me.sec)" --envelope --content "$1" )" cat ~/.config/nostr/relays.lst | while read relay;do printf "%s" "$post" | websocat --text --exit-on-eof "$relay" done