πŸ’Ύ Archived View for gem.benscraft.info β€Ί mailing-list β€Ί threads β€Ί 251 captured on 2021-12-05 at 23:47:19. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-03)

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

[ANN] New version of Agunua with the recursive downloader

- Stephane Bortzmeyer <stephane at sources.org>

@ Sat, 17 Apr 2021 17:16 +0200

In reply to

View Message

────────────────────────────────────────────────────────────────────────────────

I just released version 1.3 of the Agunua library

<gemini://gemini.bortzmeyer.org/software/agunua/>. It comes with a

command-line client, agunua, but also, new in version 1.3, a recursive

downloader, to get an entire capsule, geminitrack (the name comes from

the Web equivalent httrack). Useful for backups, for instance. I

believe there was no such program in the (rich) Gemini software

ecosystem.

geminitrack gemini://gΓ©meaux.bortzmeyer.org/

And you have all the files at this capsule in your directory.

More details:

Usage

geminitrack URL

And the files will be downloaded to the current directory, in a subdirectory named from the capsule name. The files will be named from the Gemini URL with some caveats (see later). The program limits itself to URLs which start with the original URL. So, it will never go to another capsule, for instance. `geminitrack` does not modify the files at all, so some internal links may break (for instance links to directories, links with queries, etc).

By default, it limits the number of files downloaded and the time spent, mostly to preserve the remote server. *Don't change this behaviour unless you know the remote capsule authorizes it.*

Download is unconditional: whether or not there already exist a file in the destination directory, it will be written over.

Warning: characters in the URL path must be letters, digits and a few others. Everything else will be replaced with underscores.

Options

Licence, author, etc

See [the general README of Agunua](README.md).

════════════════════════════════════════════════════════════════════════════════