💾 Archived View for gemini.thegonz.net › glog › 230521-titan-upload.gmi captured on 2023-05-24 at 17:56:06. Gemini links have been rewritten to link to archived content

View Raw

More Information

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

titan-upload.sh

I wrote a simple shell script (a wrapper around openssl s_client) for using titan.

/titan-upload.sh

This is similar to Alex Schroeder's bash implementation, but includes support for client certificates.

Alex Schroeder's gemini and titan bash functions

I also implemented the bare minimum in diohsc to allow it to use titan links which require a client certificate, by setting appropriate environment variables when using the 'browse' command to call external commands (like the above script).

All this prompted by the use of titan in Bubble, the first titan links I've actually been tempted to follow. Implementing explicit titan support in diohsc would cross a clear line, so I'm glad that calling an external command turned out to be sufficient.

Titan

Bubble