| name | giil |
| description | Download full-resolution images from iCloud, Dropbox, Google Photos share links. Use when extracting images from cloud share URLs, remote debugging with screenshots, or downloading shared photo albums. |
GIIL — Get Image [from] Internet Link
Core Capability: Zero-setup CLI that downloads full-resolution images from cloud photo shares. The missing link between iPhone screenshots and remote AI coding sessions.
Quick Start
curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/giil/main/install.sh?v=3.0.0" | bash
giil "https://share.icloud.com/photos/02cD9okNHvVd-uuDnPCH3ZEEA"
giil "https://share.icloud.com/photos/..." --json
giil "https://share.icloud.com/photos/..." --all --output ~/album
Note: First run downloads Playwright Chromium (~200MB, cached in ~/.cache/giil/).
THE EXACT PROMPT — Remote AI Debugging Workflow
iPhone Screenshot → iCloud Sync → Photos.app Share Link → Paste to SSH → giil Downloads → AI Analyzes
IMAGE_PATH=$(giil "https://share.icloud.com/photos/XXX" --output /tmp 2>/dev/null)
THE EXACT PROMPT — Output Modes
giil "https://share.icloud.com/photos/XXX"
giil "..." --json
giil "..." --base64 | base64 -d > image.jpg
giil "..." --print-url
Supported Platforms
| Platform | URL Patterns | Browser Required |
|---|
| iCloud | share.icloud.com/photos/* | Yes |
| Dropbox | dropbox.com/s/*, dropbox.com/scl/fi/* | No (fast) |
| Google Photos | photos.app.goo.gl/*, photos.google.com/share/* | Yes |
| Google Drive | drive.google.com/file/d/* | Yes |
Dropbox Fast Path: Direct curl download, 1-2 seconds, no browser overhead.
Essential Options
| Flag | Description |
|---|
--output DIR | Output directory (default: .) |
--json | Output JSON metadata |
--all | Download all photos from album |
--preserve | Keep original bytes (skip compression) |
--convert FMT | Convert to: jpeg, png, webp |
--quality N | JPEG quality 1-100 (default: 85) |
--base64 | Output base64 to stdout |
--timeout N | Page load timeout in seconds (default: 60) |
--debug | Save debug artifacts on failure |
Exit Codes
| Code | Meaning |
|---|
0 | Success |
10 | Network error |
11 | Auth required (link not public) |
12 | Not found (expired/deleted) |
13 | Unsupported type (video, doc) |
References