💾 Archived View for gemi.dev › gemini-mailing-list › 000869.gmi captured on 2023-11-04 at 13:10:05. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
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
On Sat, Apr 17, 2021 at 05:16:26PM +0200, Stephane Bortzmeyer <stephane at sources.org> wrote a message of 45 lines which said: > 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. It seems there is a second one, now: https://codeberg.org/oppenlab/cget
---
Previous Thread: [tech] tls user_canceled issue with Java server + Go client