-- Leo's gemini proxy
-- Connecting to kwiecien.us:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
Author: Ben <benk@tilde.team>
Fri Sep 17 03:16:12 PM +0430 2021
This is pretty close to how I am updating Antenna myself. The only difference is that I'm guessing bombadillo doesn't run non-interactively, but with diohsc I can execute this from the command line or shell script and it will output the result of the request and then quit. For something like Antenna, it's almost ideal, although a simpler program might work slightly better.
The slight catch is that diohsc will refuse to connect to a capsule non-interactively if its cert changes, because accepting the new cert would require user input. The loophole for this is to run diohsc in ghost mode (read-only) with a specified alternate config directory lacking any certs. That way every request will be a "first time" connection and blindly accept any cert.
-- Response ended
-- Page fetched on Fri Apr 26 20:52:26 2024