-- Leo's gemini proxy
-- Connecting to bbs.geminispace.org:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini; charset=utf-8
If you hit that script with a client certificate attached, you will see the certificate info as well! That is how you can track sessions or whatever.
Mar 27 ยท 2 months ago
That's neat! Thanks for this ๐ I've been pondering making a CGI script too so being able to peek behind the curtains like this helps.
i have some examples on my HOWTO
See the Skylab misfin client source for a pretty complex CGI gemini application:
Thanks for the tip to look around on GitHub, Sourcehut or similar for Gemini CGI scripts applications. I didn't have that on my screen. Thanks for that
The main differences between Gemini and http cgis are:
you output a gemini response;
html is not used for output;
client certificate hash may be used to identify clients.
Keeping that in mind, any cgi tutorial is useful (not just gemini)
CGI: I am interested in CGI tutorials for Gemini applications. I have basic knowledge but need some best practice tutorials. maybe to get more insights on common pitfalls. would be very interested in getting some hints. thankx
-- Response ended
-- Page fetched on Sun Jun 2 16:15:14 2024