💾 Archived View for lyk.so › systems › gemini › mozz-chat › submit.sh captured on 2023-01-29 at 02:59:10.

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