Simple tool used to combine IMG files as a combined PDF
- Remove Python codebase and packaging files - Consolidate Go application to single main.go file - Add Makefile for build management - Update README with new Go-only structure - Remove unused dependencies and legacy scripts |
||
|---|---|---|
| mockup | ||
| scripts | ||
| .gitignore | ||
| go.mod | ||
| main.go | ||
| Makefile | ||
| README.md | ||
img2pdf
A minimalist Go application for batch converting images to PDF, designed to reproduce the exact mockup specification.
Setup
Prerequisites
- Go (1.19 or later)
- GUI development libraries (required for Fyne)
Linux (Fedora/CentOS/RHEL)
sudo dnf install libX11-devel libXcursor-devel libXrandr-devel libXi-devel mesa-libGL-devel libXinerama-devel
Linux (Ubuntu/Debian)
sudo apt-get install libgl1-mesa-dev libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev
macOS
xcode-select --install
Windows
Install MinGW-w64 or TDM-GCC for development headers.
Installation
# Clone and setup
git clone <repository-url>
cd img2pdf
# Install dependencies
./scripts/install.sh
# Build the application
./scripts/build.sh
# Or use Makefile
make build
Usage
# 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 applicationmake- Alternative build system with targets: build, run, install, clean
Color Palette
- Cream Main:
#E6E1D6 - Cream Inset:
#E3DDCF - Ink Primary:
#1E1F22 - Ink Soft:
#2A2B2F