-- Leo's gemini proxy

-- Connecting to bbs.geminispace.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini; charset=utf-8

hello there!


I'm glad to join all of you in geminispace! I have my capsule with agate server, but it doesn't support CGI afaik. Does somebody know how to add them to it? Maybe it's possible to host another server that supports them and make them work on the same domain but different pages? I'm a bit lost


#agate #cgi

๐Ÿ“ก byte

2023-11-03 ยท 7 months ago ยท ๐Ÿ‘ Minko_Ikana


5 Comments โ†“


๐Ÿ Addison ยท 2023-11-03 at 15:19:

What's the CGI for, out of curiosity?


Lots of servers can do stuff like this, like my MoonGem for example


๐Ÿ“ก byte [OP] ยท 2023-11-03 at 15:21:

idk yet, just for testing for starters, maybe for a guestbook later


๐ŸŒฒ sloum ยท 2023-11-03 at 21:04:

Will this be for a multiuser server where you dont trust all of the users? Golang previously required running with more privileges than you might like in that situation (so a Go based server that has not been updated lately may not be the best call). That said, if it is just you: I recommend solderpunks server Molly Brown (which I _think_ has been updated to fix that issue). It works well, the cgi makes sense. Nicely configurable.


๐Ÿ“ก byte [OP] ยท 2023-11-04 at 15:35:

@sloum I found a rust thingie - gemserv. Although it look like semi-abandonware, I made it work locally with cgi after some patching. Probably gonna fork it on the sourcehut and screw around with it until it breaks


๐Ÿ€ gritty ยท 2023-11-04 at 15:55:

โ€” HOWTO amd examples


I use GmCapsule by Skyjake, which/who also runs the BBS here. if you scroll to the bottom of my how-to linked below you can find example CGI scripts to try out.

-- Response ended

-- Page fetched on Sun May 19 16:03:34 2024