๐Ÿ’พ Archived View for bbs.geminispace.org โ€บ u โ€บ gritty โ€บ 4113 captured on 2023-11-04 at 15:47:36. Gemini links have been rewritten to link to archived content

View Raw

More Information

โฌ…๏ธ Previous capture (2023-09-28)

โžก๏ธ Next capture (2023-11-14)

๐Ÿšง View Differences

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

Comment by ๐Ÿ€ gritty

Re: "Bliz server side scripting for Gemini."

In: s/discoveries

@skyjake as I currently use GmCapsule I would definitely welcome this feature.

๐Ÿ€ gritty

2023-08-11 ยท 3 months ago

8 Later Comments โ†“

๐Ÿต michaelnordmeyer

Well, the portability goes out the window. If you switch servers for some reason, you have to change all your files. Reminds me of shortcodes in WordPress.

For the most part, it's adding frontmatter and dynamic output. Excatly the things, I want to get rid of for my website running Jekyll.

What I like most about Gemtext is the staticness and absence of anything non-content. I even don't like the need for a script to create an Atom feed.

2023-08-12 ยท 3 months ago

๐Ÿš€ skyjake

@michaelnordmeyer Using a non-gemtext server-side source format certainly has drawbacks, as you note. It would in practice be a more convenient alternative to CGI for serving dynamic content.

๐Ÿต michaelnordmeyer

@skyjake Wouldn't it be better to write a general Gemini reverse proxy? Then you could proxy to any language, runtime, whatever.

๐Ÿค– alexlehm

@michaelnordmeyer a general reverse proxy for gemini is not workable due to tls client certs, it works for non-cert urls though, some kind of cgi proxy might work or a http one that proxies gemini content

2023-08-29 ยท 2 months ago

๐Ÿต michaelnordmeyer

@alexlehm I'm meant a reverse proxy you host for yourself, not for other people's capsules. Why would such a proxy not be able to handle client certs?

2023-08-30 ยท 2 months ago

๐Ÿค– alexlehm

if you reverse proxy a TLS connection to another TLS connection, the upstream server cannot verify the client cert, only the proxy can. Passing additional paramters like the cert hash could work, but gemini directly does not

๐Ÿต michaelnordmeyer

Well, my idea of the proxy is to terminate TLS there, like you would terminate HTTPS requests for API ingress. Depending of the hosted content, the apps behind the proxy should know as little as possible about what's going on in front of the proxy.

๐Ÿค– alexlehm

yes, HTTPS would not work with client certs either, you have to add some metadata to the internal request. someone suggested using the PROXYv2 protocol. (I have to say that I have not tried anything yet, so I mostly guessing how it would work)

Original Post

๐ŸŒ’ s/discoveries

โ€” Bliz server side scripting

Bliz server side scripting for Gemini. โ€” found this today. looks interesting.

๐Ÿ’ฌ gritty ยท 10 comments ยท 1 like ยท 2023-08-11 ยท 3 months ago