img2pdf/README.md
Leak Technologies 465f90a8f8 Simplify project structure and update build system
- 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
2026-01-09 03:34:58 -05:00

79 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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 <repository-url>
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`