MCPcopy Index your code
hub / github.com/MM-Lehmann/pptx2h5p

github.com/MM-Lehmann/pptx2h5p @v1.3.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.3.2 ↗ · + Follow
12 symbols 42 edges 2 files 4 documented · 33%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

pptx2h5p

Powerpoint to .h5p course presentation converter. Windows (+ MS Office) only.

Instructions

  1. Download the executable of this tool
  2. As user @dgcruzing described it in issue #1:
  3. Create a shortcut on your desktop to it. i.e right click on "ppt2h5p" -> sendto -> Desktop
  4. Open your explorer, type shell:sendto into the addressbar
  5. hit enter, this should take you to your users/yourusername/Appdata/roaming/Microsoft/windows/Sendto folder
  6. drag the shortcut here you have created
  7. Right-click on your .pptx file, send to "ppt2h5p". Let the magic happen.
  8. Upload .h5p into your H5P repository

How it works

pptx2h5p makes use of the COM interface offered by an installed powerpoint on the host. 1. opens the .pptx file in powerpoint 2. exports each slide as .png file 3. analyses images for width/height to adjust scaling for h5p 4. imports the .png files into an .hp5 archive (it's a zip essentially)

Core symbols most depended-on inside this repo

get_image_metadata_from_bytesio
called by 2
get_image_size.py
get_pyinstaller_version
called by 1
pptx2h5p.py
ppt2image
called by 1
pptx2h5p.py
add_to_json
called by 1
pptx2h5p.py
get_image_size
called by 1
get_image_size.py
get_image_metadata
called by 1
get_image_size.py
to_str_row
called by 0
get_image_size.py
to_str_row_verbose
called by 0
get_image_size.py

Shape

Function 7
Method 3
Class 2

Languages

Python100%

Modules by API surface

get_image_size.py9 symbols
pptx2h5p.py3 symbols

For agents

$ claude mcp add pptx2h5p \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page