How kuuhaku-u/pptxhell works
PowerPoint to HTML Converter is a Go command-line tool that opens a PPTX archive, extracts slide content and formatting, and writes HTML for a selected slide. The main workflow is coordinated in main.go: background, text, math, shape, image, and video extraction feed HTML generation. The README also advertises tables, charts, links, and grouped elements; these are shown as documented capabilities, but their implementation wiring is not established by the sampled source. The graph reflects the CLI path; the JavaScript wrapper is an alternate launcher. Some feature claims come from the README rather than inspected implementation.
Main entry points: main.go Converter CLI · textfinder.go Text extraction · helper.go Slide HTML builder · index.js JS launcher
Components 18
Entry points
- Converter CLI
main.go - JS launcher
pptXhellJs/index.js
Slide extraction
- Background finder
bgfinder/bgfinder.go - Text extraction
textfinder/textfinder.go - Text color fallback
textfinder/fallback.go - Math extraction
math/math.go - Shape extraction
shapefinder/shapefinder.go - Image extraction
imagefinder/imagefinder.go - Video extraction
videofinder/videofinder.go
HTML rendering
- Slide HTML builder
helper/helper.go
Documented features
- Table support
textfinder - Chart support
textfinder - Hyperlink support
textfinder - Grouped elements
textfinder
Other components
- Presentation user
- PPTX archive
- HTML slide files
- MathJax
Connections 19
- Presentation user → Converter CLI: runs conversion
README.md - Presentation user → JS launcher: runs wrapper
pptXhellJs/index.js - JS launcher → Converter CLI: executes binary
pptXhellJs/index.js - Converter CLI → PPTX archive: opens archive
main.go - Converter CLI → Background finder: finds background
main.go - Converter CLI → Text extraction: extracts text
main.go - Converter CLI → Text color fallback: applies fallback
main.go - Converter CLI → Math extraction: extracts equations
main.go - Converter CLI → Shape extraction: extracts shapes
main.go - Converter CLI → Image extraction: extracts images
main.go - Converter CLI → Video extraction: extracts videos
main.go - Converter CLI → Slide HTML builder: builds slide HTML
main.go - Slide HTML builder → HTML slide files: returns HTML
helper/helper.go - Converter CLI → HTML slide files: writes files
main.go - Slide HTML builder → MathJax: references renderer
README.md - Text extraction → Table support: supports tables
README.md - Text extraction → Chart support: supports charts
README.md - Text extraction → Hyperlink support: supports links
README.md - Text extraction → Grouped elements: supports groups
README.md