Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.misc > #27010

Re: web

From anthk <anthk@openbsd.home>
Newsgroups comp.misc
Subject Re: web
Date 2025-03-22 21:52 +0000
Organization A noiseless patient Spider
Message-ID <slrnvttq6m.2us4.anthk@openbsd.home> (permalink)
References (11 earlier) <vj49do$3r1ov$1@dont-email.me> <vm1hk3$1etjc$1@dont-email.me> <6Qspx-PwipMTzeeG@violet.siamics.net> <678975ab@news.ausics.net> <874j1yyt0s.fsf@tilde.institute>

Show all headers | View raw


On 2025-01-17, yeti <yeti@tilde.institute> wrote:
> not@telling.you.invalid (Computer Nerd Kev) wrote:
>
>> Curl supports Gopher. Not Gemini though.
>
> Ncat and Netcat (check the existence of '-c' and '-T') can fetch stuff
> from Gemini servers:
>
> ------------------------------------------------------------------------
> $ printf 'gemini://geminiprotocol.net/\r\n' \
>| ncat --ssl geminiprotocol.net 1965 | less
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------
> $ printf 'gemini://geminiprotocol.net/\r\n' \
>| nc -c -T noverify geminiprotocol.net 1965 | less
> ------------------------------------------------------------------------
>
> Wrapping that in some hands full of AWK to find links and iterate over
> them should not require deep magic.
>
> Some browsers capable of accessing gemini: can save the fetched files'
> and gemini pages' source, maybe they would even be easier to integrate
> in own scripts?
>
> TL;DR: There is no showstopper.
>

gem.awk (a gemini client written with gawk+openssl) works like that

I expanded it with some nice features

another one I'd like it's one to batch-dl a full phlog, easy to do
with basename, mkdir -p and a for loop iterating the array of links.

Back to comp.misc | Previous | Next | Find similar


Thread

Re: web anthk <anthk@openbsd.home> - 2025-03-22 21:52 +0000

csiph-web