office-ppt

Builds presentations by driving the LibreOffice installed on the machine over UNO instead of writing OOXML in JavaScript: `lo_build` opens a real Impress document from structured slides and lets LibreOffice export editable PPTX/ODP plus PDF and per-slide PNG, `lo_render` re-renders an existing PPTX/PPT/ODP, `lo_convert` converts between Office formats, `lo_probe` reports the detected soffice path, version and UNO bridge, and `lo_config` edits the stored settings. Needs a local LibreOffice (verified on 26.8.1.1); it uses the bundled Python, so no system Python is needed, and it keeps one warm soffice process between calls. Fully verified on Windows only; on Linux it falls back to the system python3, which needs python3-uno.

Overview

Builds presentations by driving the LibreOffice installed on the machine over UNO instead of writing OOXML in JavaScript: `lo_build` opens a real Impress document from structured slides and lets LibreOffice export editable PPTX/ODP plus PDF and per-slide PNG, `lo_render` re-renders an existing PPTX/PPT/ODP, `lo_convert` converts between Office formats, `lo_probe` reports the detected soffice path, version and UNO bridge, and `lo_config` edits the stored settings. Needs a local LibreOffice (verified on 26.8.1.1); it uses the bundled Python, so no system Python is needed, and it keeps one warm soffice process between calls. Fully verified on Windows only; on Linux it falls back to the system python3, which needs python3-uno.

Installation

Install from GitHub

dsh plugin --profile web add github:pawpress/office-ppt

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands