github paulstothard/fast-pptx v1.0.8
fast-pptx v1.0.8

6 hours ago

fast-pptx v1.0.8

This release adds Docker support, making it easy to run fast-pptx without installing dependencies locally. The Docker image includes all required tools and is configured to run as a non-root user with proper file permissions.

Highlights

Docker Support

  • Added Dockerfile to create pstothard/fast-pptx Docker image
  • Image includes all dependencies: pandoc, Graphviz, ImageMagick, poppler, Python 3, Node.js, Playwright with Chromium, mermaid-cli, csv2md, and svgexport
  • Configured to run as non-root user with -u "$(id -u)":"$(id -g)"
  • Fixed script permissions with chmod -R 755 for all scripts
  • Created Python symlink (pythonpython3) for Debian compatibility
  • Set PLAYWRIGHT_BROWSERS_PATH to fixed location with proper read permissions
  • Added --no-sandbox flags for Chrome/Chromium in Docker environment
  • Users can mount current directory and process files without local installations

Docker Usage Examples Added to README

  • Added "Using the fast-pptx Docker image" section to README
  • Placed Docker instructions early in README for easy discovery
  • Follows Docker best practices with relative paths instead of absolute /data/ paths
  • Includes examples for running with sample input and custom directories
  • Shows how to enable verbose output with -v flag

Suppress ImageMagick Warnings

  • Added -quiet flag to ImageMagick convert and magick commands
  • Eliminates harmless "invalid profile length" PNG metadata warnings
  • Cleaner output when processing images

Configuration Files

  • Added scripts/puppeteer-config.json for mermaid-cli sandbox configuration
  • Updated fast-pptx.sh to pass puppeteer config to mmdc command
  • Updated scripts/capture-site.mjs to launch Chromium with --no-sandbox flags

Repository Updates

  • Added sample_output_docker to .gitignore
  • Updated README with Docker quick start section
  • Updated deploy README with Docker build, test, and publish instructions

Docker Usage

Pull the image:

docker pull pstothard/fast-pptx

Run with your own input directory:

docker run --rm \
  -v "$(pwd)":/data \
  -u "$(id -u)":"$(id -g)" \
  -w /data \
  pstothard/fast-pptx -i input -o output

View all options:

docker run --rm pstothard/fast-pptx --help

Requirements

Using Docker (Recommended)

  • Docker

Local Installation

  • pandoc
  • Graphviz
  • poppler
  • ImageMagick
  • Node.js with Playwright (npm install --prefix scripts && npx --prefix scripts playwright install chromium)
  • Python 3
  • csv2md, mermaid-cli, and svgexport

Documentation

See the project README.md for installation, Docker usage, supported input types, output structure, and complete workflow documentation.

Don't miss a new fast-pptx release

NewReleases is sending notifications on new releases.