Repository navigation
giil v3.3.0
Highlights
- Multi-URL batch downloads: Pass multiple share URLs in a single invocation. Playwright-handled platforms (Google Drive, Google Photos, iCloud) share one headless Chromium instance with bounded tab concurrency (
GIIL_BATCH_CONCURRENCY, default 3) and isolated per-URL browser contexts (GIIL_NO_BATCH=1preserves the legacy per-URL path). - Honest exit codes across every path (Closes #5): Single-URL, batch,
GIIL_NO_BATCH=1, TOON, and multi-Dropbox invocations preserve per-URL failures instead of masking them as exit0. Every requested URL is still attempted, successful downloads are kept, and the run exits with the highest documented failure code. Failed writes of the embedded extractor exit3. - Upgraded embedded runtime (
playwright@1.65.1,sharp@0.35.5,exifr@7.1.3):- Enforces the actual minimum Node.js
>=20.10.0(required by Playwright 1.65 and Sharp 0.35 ESM import attributes), failing fast with exit3and upgrade instructions on older Node releases. - Records the pinned runtime spec in
$GIIL_HOME/.installedso existing caches from older releases upgrade cleanly in place on the next run. - Redirects all first-run installer and
gum spinoutput tostderr, keepingstdoutclean for--json,--format toon, and path output.
- Enforces the actual minimum Node.js
- iCloud unavailable-link detection: Intercepts iCloud's
records/resolvestatus language-independently to exit12(NOT_FOUND) on expired/revoked/invalid shares or11(AUTH_REQUIRED) on permission failures instead of screenshotting the "Shared photos not available" page as success; ignores iCloud web-app chrome assets. - GNU Bash 4.0 and minimal Linux container fixes: Replaced Bash 4.3 namerefs and guarded empty array expansion under
set -ufor GNU Bash 4.0 compatibility; addeddetect_file_mime_type()magic-byte and HTML/XML detection for direct Dropbox downloads whenfile(1)is absent, plus same-second filename collision protection.
Installation
curl -fsSL https://raw.githubusercontent.com/Dicklesworthstone/giil/main/install.sh | bashVerify Installation (Optional)
# Verify giil script
echo "$(curl -fsSL https://github.com/Dicklesworthstone/giil/releases/download/v3.3.0/giil.sha256) giil" | sha256sum -c -Checksums
SHA256 checksums for this release are attached as checksums.sha256, giil.sha256, and install.sh.sha256.
Full Changelog: v3.2.1...v3.3.0