Download cloud-hosted images for visual debugging with giil.
What Is GIIL?
GIIL (Get Image from Internet Link) downloads full-resolution images from cloud sharing services directly to your terminal. When a user shares a screenshot via iCloud, Dropbox, or Google Photos, GIIL fetches the actual image for AI agent analysis.
This bridges the gap between mobile screenshots and terminal-based debugging. Users capture bugs on their phone, share a link, and agents can immediately view and analyze the image.
Multi-Platform
iCloud, Dropbox, Google Photos, Drive
Full Resolution
Downloads original quality images
Visual Debugging
AI agents can analyze images
Album Support
Download all photos with --all
Supported Platforms
GIIL extracts images from these cloud sharing services:
iCloud
share.icloud.com/*Dropbox
dropbox.com/s/*, dl.dropbox.com/*Google Photos
photos.google.com/*Google Drive
drive.google.com/*Essential Commands
Visual Debugging Workflow
GIIL enables a powerful visual debugging pattern for AI-assisted development:
User Screenshots Bug
User captures the issue on their phone or desktop
Share Cloud Link
User shares iCloud/Dropbox/Google Photos link with agent
GIIL Downloads Image
giil "<url>" fetches full-resolution image to working directory
Agent Analyzes
AI agent can now view and understand the visual context
# Example: User reports UI bug# They share: https://share.icloud.com/photos/abc123# Download the screenshotgiil "https://share.icloud.com/photos/abc123"# Image saved to current directory# Agent can now analyze: screenshot.jpg
Exit Codes
GIIL uses specific exit codes to indicate different outcomes:
Advanced Usage
# Download to specific directorygiil "https://share.icloud.com/photos/abc123" --output ~/debug-screenshots# Get JSON metadata (useful for scripting)giil "https://dropbox.com/s/xyz789/screenshot.png" --json# Download all images from a shared albumgiil "https://photos.google.com/share/album123" --all# Check if download succeeded in a scriptif giil "$URL" 2>/dev/null; thenecho "Image ready for analysis"elseecho "Download failed with code $?"fi