Proxying
Solderpunk
solderpunk at posteo.net
Tue Aug 11 19:18:39 BST 2020
On Tue Aug 11, 2020 at 12:14 AM CEST, Ecmel Berk Canlıer wrote:
> But at that point, why not build the pipelines into clients? Assuming
> these scripts work via "stdin -> (script magic) -> stdout", even shell
> clients could run them by piping their "gemini receive" command into
> them. Long-running scripts could probably just be accessed via wrappers
> with netcat, or something else I haven't thought of yet.
This is a nice idea. AV-98 almost supports it already, you can pipe the
body of Gemini responses to arbitrary pipelines based on their MIME
type, which allows for reformatting text and things like that, but
nothing in the pipeline gets access to the URL where the resource came
from, which would be required to make a lot of useful applications work.
But it probably wouldn't be hard at all to pass that information along
via environment variables. Hmm...
Cheers,
Solderpunk
More information about the Gemini
mailing list