Skip to content

Repository files navigation

Deckforge

Deckforge turns a .pptx template into a data-driven PowerPoint deck while preserving its existing design. It edits values in place with python-pptx.

deckforge inspect template.pptx -o structure.json
deckforge fill template.pptx data.json -o report.pptx --strict
deckforge debrand template.pptx -o plain.pptx

Use {{ token }} placeholders in text boxes or table cells. Mapping data can be flat text values or namespaced with text and charts keys. Unknown tokens remain visible. inspect emits the tokens and chart shape names an agent needs to author the mapping.

debrand is conservative: it whites slide backgrounds and optionally removes pictures and shapes named brand, logo, or watermark. It does not rewrite theme or master colours, so heavily themed templates can retain accents.

Generate and exercise the synthetic example with:

python examples/quickstart.py

About

Data-driven PowerPoint templates with design-preserving edits

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages