Comment by ๐ gritty
Re: "Find: Stargazer Gemini Server"
@stack Fair. I guess it's not that I can't, per se, given enough time and effort, but at current I don't think I could create anything better than what's already out there. Well, not in a weekend at least! I don't code for a living, so I figure (what I assume to be) the professionals have more insight on optimization, concurrency, error handling and general organization.
Jan 02 ยท 4 months ago
2 Later Comments โ
๐ stack ยท Jan 03 at 01:15:
Oh, I thought you meant that for some reason you could not compile stuff!
I didn't think I had it in me either, but once faced with the tasks of building a server I found that there is a lot of information on how to do it. But I have dealt with sockets and such before, so it was more of figuring out the details of how to do what I already more or less understood.
๐ฝ spc476 ยท Jan 03 at 04:29:
It's underdocumented (that's an understatement) but GLV-1.12556 does support Unix sockets for SCGI. To use it, you just create a symbolic link to the socket. If the destination link is "scgi://hostname:port/" it will use TCP, and if it's "scgi:/path/to/socket" it will use a UNIX socket.
Original Post
Find: Stargazer Gemini Server โ Today I found Stargazer, a gemini server written in Rust that supports SCGI. I've been using Molly Brown for SCGI development but wanted to see what else is out there. I know GLV-1.12556 supports it as well, but I think it's only via TCP(?), and I wanted to use UNIX Domain sockets instead. Stargazer does both. As some of you may remember, I've been toying around with SCGI on and off for a bit. My drive is/was to reduce the overhead of spinning up a new...