Skip to content

giil v3.3.0

Latest

Choose a tag to compare

@Dicklesworthstone Dicklesworthstone released this 22 Nov 06:30

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=1 preserves 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 exit 0. 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 exit 3.
  • 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 exit 3 and upgrade instructions on older Node releases.
    • Records the pinned runtime spec in $GIIL_HOME/.installed so existing caches from older releases upgrade cleanly in place on the next run.
    • Redirects all first-run installer and gum spin output to stderr, keeping stdout clean for --json, --format toon, and path output.
  • iCloud unavailable-link detection: Intercepts iCloud's records/resolve status language-independently to exit 12 (NOT_FOUND) on expired/revoked/invalid shares or 11 (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 -u for GNU Bash 4.0 compatibility; added detect_file_mime_type() magic-byte and HTML/XML detection for direct Dropbox downloads when file(1) is absent, plus same-second filename collision protection.

Installation

curl -fsSL https://raw.githubusercontent.com/Dicklesworthstone/giil/main/install.sh | bash

Verify 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