HUB
Sign inSign up
i-love-open-converter logo

paladini/i-love-open-converter

By paladini

•Updated 5 days ago

Self-hosted PDF & image converter with Docker Compose, OCR, Office, HEIC, RAW and local AI.

Image
0

1.3K

paladini/i-love-open-converter repository overview

⁠I Love Open Converter

A complete, private-by-default PDF, image and document converter that you run on your own server with Docker Compose.

Convert and manage files from a browser without sending them to a third-party conversion service. One multi-platform image runs as a web app and as an isolated background worker.

⁠What it can do

  • PDF tools: compress, merge, split, organize, rotate, edit, protect, repair, compare, redact, OCR, summarize and translate PDFs.
  • PDF exports: convert selectable PDF text to Word, PowerPoint or Excel; export PDF content to Markdown or spreadsheets; extract images into ZIP archives.
  • Image tools: convert, compress, resize, crop, edit, watermark, remove backgrounds, and blur faces or license plates.
  • Broad image support: JPEG, PNG, WebP, BMP, TIFF, static GIF, SVG, PSD, HEIC/HEIF and camera RAW formats.
  • Documents and web: convert Word, PowerPoint and Excel to PDF; render HTML files and public URLs to PDF or images.
  • Private processing: files and jobs stay on your server. PDF summaries use a bundled local model; translation models are also available locally.
  • Docker security: web and worker are separate services. The worker runs without network access, drops Linux capabilities and has resource limits.

⁠Quick start with Docker Compose

Requires Docker Engine and Docker Compose v2. Create a folder, save the following as compose.yaml, then start the app:

services:
  web:
    image: paladini/i-love-open-converter:1.0.0
    init: true
    restart: unless-stopped
    ports:
      - "${APP_PORT:-8080}:8080"
    environment: &app-environment
      DATA_DIR: /data
      MAX_FILE_SIZE_MB: ${MAX_FILE_SIZE_MB:-100}
      MAX_TOTAL_UPLOAD_MB: ${MAX_TOTAL_UPLOAD_MB:-500}
      MAX_FILES_PER_JOB: ${MAX_FILES_PER_JOB:-10}
      JOB_RETENTION_HOURS: ${JOB_RETENTION_HOURS:-24}
      WORKER_POLL_SECONDS: ${WORKER_POLL_SECONDS:-1}
      PYTHONDONTWRITEBYTECODE: "1"
      PYTHONUNBUFFERED: "1"
    volumes:
      - ./data:/data
    user: "${PUID:-1000}:${PGID:-1000}"
    cap_drop:
      - ALL
    security_opt:
      - no-new-privileges:true
    healthcheck:
      test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8080/healthz', timeout=2)"]
      interval: 30s
      timeout: 3s
      retries: 3
      start_period: 15s

  worker:
    image: paladini/i-love-open-converter:1.0.0
    init: true
    restart: unless-stopped
    network_mode: none
    mem_limit: 3g
    pids_limit: 256
    tmpfs:
      - /tmp:size=768m,mode=1777
    command: ["/app/.venv/bin/python", "-m", "i_love_open_converter.worker"]
    environment:
      <<: *app-environment
      OFFICE_NETWORK_ISOLATED: "1"
    volumes:
      - ./data:/data
    user: "${PUID:-1000}:${PGID:-1000}"
    cap_drop:
      - ALL
    security_opt:
      - no-new-privileges:true
    depends_on:
      web:
        condition: service_healthy

Start and open http://localhost:8080⁠:

mkdir -p data
docker compose pull
docker compose up -d
docker compose ps

On Windows PowerShell, create the data folder with New-Item -ItemType Directory -Force data. Check logs with docker compose logs -f web worker; stop the services with docker compose down. Your files remain in the local ./data directory.

On Linux, make sure the data directory is writable by the configured user (defaults: UID/GID 1000). Set PUID and PGID in a .env file to match your account if needed.

⁠Configuration and limits

Defaults: 100 MB per file, 500 MB per request, 10 files per job, and 24-hour retention. Configure these Compose variables in a .env file: APP_PORT, MAX_FILE_SIZE_MB, MAX_TOTAL_UPLOAD_MB, MAX_FILES_PER_JOB, JOB_RETENTION_HOURS, WORKER_POLL_SECONDS, PUID, and PGID.

Public URL conversion accepts bounded public HTTP(S) resources only; JavaScript-heavy pages and login-protected pages are unsupported. PDF signatures are visual; review redactions and generated summaries before sharing.

⁠Image tags and platforms

  • 1.0.0 — pinned stable release (recommended for repeatable deployments)
  • 1.0 — latest patch in the 1.0 series
  • latest — latest stable release

The versioned tags support linux/amd64 and linux/arm64. Platform-specific tags are also available with -amd64 and -arm64 suffixes.

Docker Hub search terms: self-hosted PDF converter, image converter, document converter, Docker Compose, OCR, PDF to Word, PDF to Excel, HEIC converter, RAW image converter, local AI PDF summarizer, privacy-focused file conversion.

Tag summary

Content type

Image

Digest

sha256:643b8d787…

Size

931.3 MB

Last updated

5 days ago

docker pull paladini/i-love-open-converter