echo nex/info/proxies/nex2gemini.txt | nc nightfall.city 1900 | less
NEX2GEMINI

nex2gemini is a php script that can be dropped in the
cgi-bin folder of a gemini server to proxy nex requests.

You can use it online directly from:
gemini://gemini.lehmann.cx/cgi-bin/nex.php

And find the sources there:
https://tildegit.org/alexlehm/gemini-site/src/branch/main/capsule/cgi-bin/nex.php