💾 Archived View for lyk.so › systems › gemini › mozz-chat captured on 2023-06-16 at 16:17:51. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
Updated 2022-02-07
Mozz hosts a Gemini-based chat room. I threw together a few scripts to make using it comfortable in my tiling window manager. I run notify.sh in a small window alongside another window runnign stream.sh, and I run submit.sh in a window that runs along the bottom of the screen. This gives me a pretty traditional chat experience.
These scripts are all pretty trivial (it took longer to document and release them than it did to write them in the first place), but they make for a nice experience.
#!/bin/sh gemget -o - gemini://chat.mozz.us/stream | while read line; do msg="$(echo "$line" | tail -c+24)" notify-send "$msg" done
#!/bin/sh gemget -o - gemini://chat.mozz.us/stream
#!/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