Deutsch   English   Français   Italiano  
<slrnvttq6m.2us4.anthk@openbsd.home>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: anthk <anthk@openbsd.home>
Newsgroups: comp.misc
Subject: Re: web
Date: Sat, 22 Mar 2025 21:52:32 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <slrnvttq6m.2us4.anthk@openbsd.home>
References: <67447ce1$0$22$882e4bbb@reader.netnews.com>
 <vi3ecs$35u53$1@dont-email.me>
 <6c4ae24b-7bb8-7d84-8f74-1f5fc14c0ec0@example.net>
 <87ed2yjkl8.fsf@tilde.institute>
 <55db8483-58f0-c3dc-de0b-7f44881fa180@example.net>
 <87jzcp4pzy.fsf@enoch.nodomain.nowhere> <viorqr$mnrh$1@dont-email.me>
 <viotl0$n3vg$1@dont-email.me>
 <slrnvl0pq8.1ddsk.candycanearter07@candydeb.host.invalid>
 <vir0m3$17csf$3@dont-email.me> <6754c3a1@news.ausics.net>
 <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>
Injection-Date: Sat, 22 Mar 2025 22:52:32 +0100 (CET)
Injection-Info: dont-email.me; posting-host="e0c097334aaf618441ba30323359d5a1";
	logging-data="906742"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19jSpU0hj0gGdOncDCBkHFM"
User-Agent: slrn/1.0.3 (OpenBSD)
Cancel-Lock: sha1:29ChHYOByLUR1fTxP9mJL3n5Olg=
Bytes: 2706

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.