-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: nostr
action: blob
revision:
path_from: nostr-post.sh
revision_from: refs/heads/master:
path_to:
revision_to:

git.thebackupbox.net

nostr

git://git.thebackupbox.net/nostr

blob of:

nostr

/ 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

-- Response ended

-- Page fetched on Sun Jun 2 14:17:33 2024