Stephane Bortzmeyer stephane at sources.org
Sat Apr 17 16:16:26 BST 2021
- - - - - - - - - - - - - - - - - - -
I just released version 1.3 of the Agunua library<gemini://gemini.bortzmeyer.org/software/agunua/>. It comes with acommand-line client, agunua, but also, new in version 1.3, a recursivedownloader, to get an entire capsule, geminitrack (the name comes fromthe Web equivalent httrack). Useful for backups, for instance. Ibelieve there was no such program in the (rich) Gemini softwareecosystem.
geminitrack gemini://gémeaux.bortzmeyer.org/
And you have all the files at this capsule in your directory.
More details:
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