omar-polo / gmid

a Gemini server
https://gmid.omarpolo.com
ISC License
102 stars 7 forks source link

Titan support? #19

Open omar-polo opened 1 year ago

omar-polo commented 1 year ago

While personally I don't like the titan protocol, it seems it's starting to gain popularity in the Geminispace.

I don't want gmid to start modifying files, so one way to handle titan would be via FastCGI and/or proxying. In both situation it would be a separate program to handle the titan request, and gmid would only need to do some basic validation but otherwise forward the request as-is.

omar-polo commented 1 year ago

since I'm starting to take some interest in this, I've added a barebone titan client implementation in 2ff1e2a9237514d5d473b2b3562ec767542b55bc. While maybe useful on its own, the intent is to use it in the future regress after gmid will learn how to handle titan. titan(1) will be shipped as part of the next release anyway. (still lacks a manpage and some cleanup.)