💾 Archived View for midnight.pub › replies › 6620 captured on 2023-07-10 at 13:40:15. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
I played around a bit with the protocol and came up with a shell command that can retrieve Nex urls, e.g. to get my page:
echo "/alexlehm/"|nc nex.nightfall.city 1900|less
this even works to get images like this:
echo "/alexlehm/Alex_in_Anzug.jpg"|nc nex.nightfall.city 1900 > alex.jpg
this is really cool! I never used netcat before.
I added what you did in a little script:
#!/bin/ksh echo $2 | nc $1 1900 | less
and it can be used like that:
rex nex.nightfall.city /m15o/