💾 Archived View for midnight.pub › replies › 6620 captured on 2024-05-10 at 14:35:55. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-07-10)

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

< The Nightfall Express

~alexlehm

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

Write a reply

Replies

~m15o wrote:

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/