# img2pdf A minimalist Go application for batch converting images to PDF, designed to reproduce the exact mockup specification. ## Setup ### Prerequisites 1. **Go** (1.19 or later) 2. **GUI development libraries** (required for Fyne) #### Linux (Fedora/CentOS/RHEL) ```bash sudo dnf install libX11-devel libXcursor-devel libXrandr-devel libXi-devel mesa-libGL-devel libXinerama-devel ``` #### Linux (Ubuntu/Debian) ```bash sudo apt-get install libgl1-mesa-dev libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev ``` #### macOS ```bash xcode-select --install ``` #### Windows Install MinGW-w64 or TDM-GCC for development headers. ### Installation ```bash # Clone and setup git clone cd img2pdf # Install dependencies ./scripts/install.sh # Build the application ./scripts/build.sh # Or use Makefile make build ``` ## Usage ```bash # Run the application ./scripts/run.sh # Or using Makefile make run ``` ## Design This application follows a strict late-80s/early-90s IBM utility aesthetic: - Fixed window size: 420×380 - IBM beige color palette - No animations, gradients, or shadows - Flat, functional interface - Explicit visual hierarchy ## Scripts - `./scripts/install.sh` - Install all dependencies - `./scripts/build.sh` - Build the application - `./scripts/run.sh` - Run the application - `make` - Alternative build system with targets: build, run, install, clean ## Color Palette - Cream Main: `#E6E1D6` - Cream Inset: `#E3DDCF` - Ink Primary: `#1E1F22` - Ink Soft: `#2A2B2F`