💾 Archived View for gamma.lyk.so › systems › gemini › mozz-chat › submit.sh captured on 2024-08-18 at 17:20:40.

View Raw

More Information

⬅️ Previous capture (2023-07-22)

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

#!/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