Gemini Chat

This is a test client. All it does is handle repeatedly post stuff to a Gemini URL. For example, assume that gemini://transjovian.org/do/chat/say is the URL where you say stuff and gemini://transjovian.org/do/chat/listen is where you read the chat.

First, generate your client certificate for as many or as few days as you like:

    openssl req -new -x509 -newkey ec -subj "/CN=Alex" \
      -pkeyopt ec_paramgen_curve:prime256v1 -days 100 \
      -nodes -out alex-cert.pem -keyout alex-key.pem

Then start this program to say something:

    gemini-chat --cert=alex-cert.pem --key=alex-key.pem \
      --listen=gemini://transjovian.org/do/chat/listen \
      --say=gemini://transjovian.org/do/chat/say \