github hugohe3/ppt-master v2.6.0

7 hours ago

Highlights

Native PPTX ↔ SVG round-trip

  • pptx_to_svg — semantic OOXML→SVG converter (reverse of svg_to_pptx). Reads .pptx directly via zipfile + xml.etree, no PowerPoint COM, no Keynote→PDF rasterization. Each <p:sp prst=\"rect\"> becomes <rect>, each <p:pic> becomes <image>, each <p:txBody> becomes real <text>+<tspan> with original font preserved. 14 modules under scripts/pptx_to_svg/ (~2.6k LOC).
  • svg_to_pptx improvements: consume svg_output/ directly for native pptx, auto-split source per product, elliptical-corner rect via custGeom, croppable images preserved, tspan flattening + whitespace fixes, honour preserveAspectRatio=\"meet\".
  • finalize_svg consolidation — crop / fix-aspect / embed-images merged into a single align-images pass.

/create-template overhaul

  • Native-only PPTX import: drops legacy PowerPoint-COM / Keynote-PDF renderer, drops inline_* asset normalization, removes reference_svg_selection.json. pptx_template_import.py shrinks ~460 → ~110 lines, runs anywhere Python runs.
  • Replication mode: standard (default 5-page roster) | fidelity (preserve every distinct layout cluster from source PPTX). Variant naming follows letter-suffix convention (02a_chapter_full.svg, 03a_content_two_col.svg); variants reuse parent placeholder set.
  • layouts_index.json gains a pages field listing the SVG roster — Strategist template selection can see fidelity templates' coverage.

SVG visual editor (browser)

  • Element-level annotation editor with multi-select, Ctrl+click, rubber-band selection, keyboard shortcuts, element property display, in-place project edit. Security hardening: javascript: protocol stripping, sanitizer fixes. English UI.
  • Surfaced as a standalone visual-edit workflow — easier trigger recognition.

Web image search (zero-config)

  • License-tier filtered web image acquisition path, added as a first-class alternative to AI image generation.
  • Quality-first sourcing with attribution checks; query relevance is the primary scoring dimension.

Audio narration backends

  • ElevenLabs, MiniMax Qwen, CosyVoice — multi-backend with voice cloning surfaced as first-class.
  • Default MiniMax endpoint switched to domestic api.minimaxi.com.

Other

  • Image generation: ModelScope backend (#83); negative prompts removed across docs/CLI/backends.
  • Claude Code plugin manifest (Option C, npx-validated).
  • docs/rules/ — style guides for references and Python code.
  • technical-design.md rewritten as why-only (drops how-detail duplication).

Install / upgrade

See README for the four supported install paths (Claude Code / Cursor / VS Code + Copilot / Codebuddy). No breaking changes for existing projects; the legacy --legacy-render flag in pptx_template_import.py has been removed (was opt-in only).

Full Changelog: v2.5.0...v2.6.0

Don't miss a new ppt-master release

NewReleases is sending notifications on new releases.