💾 Archived View for alpha.lyk.so › systems › gemini › mozz-chat › submit.sh captured on 2022-03-01 at 15:40:25.

View Raw

More Information

-=-=-=-=-=-=-

#!/bin/sh

clear
printf '> '

while read line; do
	gemget \
		-q \
		--cert "$GEMINI_CERT"
		--key "$GEMINI_KEY"
		-o - \
		"gemini://chat.mozz.us/submit?$(echo -n "$line" | perl -MURI::Escape -ne 'print uri_escape($_)')"
	clear
	printf '> '
done