Skip to content
Projects

About

HTML-in-PPT AI agent skill: live web pages inside PowerPoint slide shows · PPT 슬라이드 쇼 안에서 웹 페이지가 그대로 움직이는 AI 스킬 (Claude Code · Codex · Gemini CLI)

Developer Tools

How these counts are measured

Measured star growth

in 24h
+1
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README-EN.md

Original

PPHTML-BD

한국어 · English · 简体中文 · 日本語

Converting PPT to HTML always came out tacky,
so I just crammed the HTML into the PPT.

And made editing dead easy.

release GitHub stars license: MIT Claude Code plugin

Starting the slide show from the PowerPoint editor: every slide becomes a live web page in place (real screen recording)

A real PowerPoint slide show recording. The decks shown are unofficial design homages with no relation to the companies named; all 18 are in ppt-html-examples.

Modern web pages run live inside a PowerPoint slide show: scrolling, animation, glass effects, 3D, canvas/WebGL, forms, View Transitions. If a current browser can do it, the slide can do it. Tell your coding agent (Claude Code, OpenAI Codex or Gemini CLI) "turn this into a deck people can click through" and you get a .pptm.

  • ✏️ Edit by asking: "change the numbers on slide 3", "make it look like this site". During the show you can also fix text in place with the pencil tool.
  • 🎨 Ready-made pieces: 23 example pages, 17 themes, 5 sequences (pitch, quarterly review, product launch, status report, meeting).
  • 📦 One file: no server, no add-in, just a .pptm. A web version .html is built alongside it for places where macros are blocked.
  • 🧩 One-line install: in Claude Code, /plugin install ppt-html --marketplace Krocean/PPHTML-BD

If it is useful to you, a GitHub ⭐ helps other people find it.

▶ Live demo in your browser · 한국어 · 18 example decks · Install · Changelog · How it works · Share your results

One .pptm for Windows and Mac. Whether a deck is built on Windows or on a Mac, every HTML slide carries both the Windows host (a macro that hosts Edge) and the same page as a Microsoft 365 interactive content block. On real PowerPoint for Mac 16.115 and PowerPoint for Windows 16.0.20625, decks built on Windows ran live on the Mac and decks built on the Mac ran live on Windows. On a Mac, opening a .pptm asks once about macros: either answer works (when unsure, Disable Macros). After clicking into an HTML slide, press Esc once, then the arrow keys. The web version .html also opens on phones. Workshop example · Windows and Mac: compatibility and verification

Starting the slide show on a plain slide: the slide burns away and a rocket lifts off in place (real screen recording)

Start the slide show on a plain slide: it burns away and a rocket lifts off right there. A real PowerPoint slide show recording. An unofficial design homage with no relation to SpaceX; get the deck from ppt-html-examples.

Most of the docs (SKILL.md, references/) are in Korean for now. Your agent reads them either way; translations are welcome.

How is this different?

There are two usual ways to make a deck with AI: HTML slides you open in a browser, or a PPTX built from native shapes. ppt-html sits between them. The file is PowerPoint; the screen is a web page.

HTML slides Native-shape PPTX ppt-html
What you get .html .pptx one .pptm (+ a web version .html)
Where you present browser PowerPoint PowerPoint slide show
Scrolling, inputs, canvas, WebGL yes PowerPoint animations and transitions only yes, inside the slide show
Drop into an existing PPT deck opens separately yes yes, on any slide, in any area
Edit as shapes in PowerPoint no yes not the HTML slides (ask the agent, or use the pencil during the show)

It fits when people ask you for "a PowerPoint file" but you want the screen to behave like the web. If the deck has to be hand-edited shape by shape, a native-shape generator is the better choice.

Features

1. Interactive decks from your content

  • Turns your text, numbers and tables into web pages that run in place during the slide show (new-deck.ps1 → html2ppt.ps1).
  • Nearly everything a browser does works: scrolling, animation, glass effects, 3D, canvas/WebGL, inputs, View Transitions, external libraries.
  • One file, no server, no pop-ups or extra windows. Fonts are embedded, so the deck looks the same on a PC without them.
  • 23 example pages (cover, KPI, pricing, timeline, poll …) and 5 sequences to start from.

The 23 example pages: cover, agenda, big number, KPI, pricing, timeline, comparison, poll and more

The 23 bundled example pages (sample text is Korean). Click to enlarge. Every one of them is clickable and animated inside the slide show.

2. Design from a reference

  • Give it a web address, HTML, PPT or picture and it reads the colours, fonts and shapes into a theme and a design.md (get-style.ps1).
  • Follows a design-rules document such as design.md, or builds a new theme from a few values (new-theme.ps1).
  • 17 ready-made themes (cobalt, paper, ink, midnight, seoul …).

The same KPI page in all 17 themes

One page in all 17 themes. "Switch the theme to ink" is all it takes.

3. Existing HTML onto slides

  • Places finished HTML as is, one page per slide. React and Vue builds work too.
  • Can append to an existing deck or fill a given area ("bottom half of slide 3"). The original deck is never changed.

4. PPT to a web page

  • Converts a .pptx into a single .html that opens anywhere (ppt2html.ps1).
  • Arrow keys, click or swipe to move; overview (G), speaker notes (N), full screen (F), print.

5. Presenter tools

  • A toolbar appears when the mouse reaches the bottom-right corner of the screen.
  • Long-press the page number to see every slide as a thumbnail and jump to it.
  • Fix and move text with the pencil; the change is carried into the slide picture when the show ends.
  • Pen, click to zoom. Values such as poll results are kept in the file.

6. Automatic checking

  • After building, runs a real slide show in a hidden PowerPoint instance, confirms every slide is live without script errors, and reports pictures and problems.
  • check-html.ps1 checks a single page in seconds without PowerPoint.

7. Sharing and diagnostics

  • Packs the .pptm, the web version and a read-me into a share folder and zip.
  • doctor.ps1 checks whether a PC can run it; pack.ps1 zips the skill for someone else.

How it works

  • When the slide show starts, a small macro in the file hosts Microsoft Edge's engine (WebView2) inside the slide-show window, exactly over the HTML area. The page lives inside the file.
  • On a PC without WebView2 it falls back to the Internet Explorer 11 engine with an automatically converted copy, and failing that to a still picture in the same place. The file never breaks.
  • The same HTML area also holds the page as a Microsoft 365 interactive content block. PowerPoint for Mac, and current Windows PowerPoint with macros blocked, run that one without macros. When the macro runs on Windows, it hides the block during the show so the page runs once; on a Mac the macro does nothing.
  • Where neither can run (PowerPoint for the web, older Office with macros blocked), share the web version .html that is built alongside.

Details: references/how-it-works.md.

It contains a macro. Can I trust it?

  • The macro source is in scripts/vba as plain text. Every deck gets the same code, and what it does is written down in how it works (Korean).
  • It does not change the registry, security settings or trusted locations, and it does not remove the block mark from files you received.
  • You do not have to enable the macro. In Microsoft 365 PowerPoint the HTML slides run as interactive content, and the web version .html built alongside opens in any browser.
  • Found a security problem? See SECURITY.md.

Requirements

  • Building on Windows: Windows 10 / 11. For the Mac copy of each page, also Python 3.9+ (without it you get a warning and the slides show pictures on a Mac).
  • Building on a Mac: Python 3.9+ (/usr/bin/python3 will do) and, for rendered previews, Chrome or Edge: python3 scripts/portable_pptm.py -o deck.pptm first.html second.html. The Windows host goes in automatically.
  • The PowerPoint desktop app (Microsoft 365 or Office 2013 or later). PowerPoint for the web cannot build decks.
  • One of these coding agents:
AI Program
Claude Claude Code (the Code tab of the Claude desktop app, or claude in a terminal)
GPT OpenAI Codex (the Codex app, or codex in a terminal)
Gemini Gemini CLI (gemini in a terminal)

It does not work in the web chat of claude.ai, ChatGPT or Gemini, because those have no Windows or PowerPoint.

  • Microsoft Edge ships with Windows. Nothing else to install, and building needs no internet.

Install

Pick one.

1. Ask your agent (easiest)

Open your agent (Claude Code, Codex or Gemini CLI) and say:

Install this skill: https://github.com/Krocean/PPHTML-BD

2. One command

Paste the line for your agent into PowerShell (git required). Run every line that applies if you use several agents.

Claude Code:

git clone https://github.com/Krocean/PPHTML-BD.git "$env:USERPROFILE\.claude\skills\ppt-html"

Codex (GPT) · Gemini CLI (both read this folder):

git clone https://github.com/Krocean/PPHTML-BD.git "$env:USERPROFILE\.agents\skills\ppt-html"

3. Claude Code plugin

Type this in Claude Code (Claude Code 2.1.275 or later). New versions arrive through the plugin menu (/plugin).

/plugin install ppt-html --marketplace Krocean/PPHTML-BD

On older versions, run these two lines in order:

/plugin marketplace add Krocean/PPHTML-BD
/plugin install ppt-html@ppt-html

If you already cloned it into .claude\skills\ppt-html with method 2, delete that folder; otherwise the same skill shows up twice.

4. The skills command (Node.js 22.20 or later)

Install with skills. It asks which agents (Claude Code, Codex, Gemini CLI) to install into.

npx skills add Krocean/PPHTML-BD -g

Check the install

Restart your agent and say:

Use the ppt-html skill to check whether this PC can run it

You get an OK / NOTE / PROBLEM list. If there is a PROBLEM, please report it in an issue.

Try it

  • "Turn this into slides people can click through inside PowerPoint", then paste your content (text, numbers, tables) below.
  • "Put my content on slides in the style of this site (or this PPT)"
  • "Turn this PPT into a web page that opens anywhere"

You can also run it without an agent:

powershell -NoProfile -ExecutionPolicy Bypass -File scripts\doctor.ps1 -Full
powershell -NoProfile -ExecutionPolicy Bypass -File scripts\new-deck.ps1 -To C:\work\mydeck -Blank 3 -Name "My deck"
powershell -NoProfile -ExecutionPolicy Bypass -File scripts\html2ppt.ps1 -Job C:\work\mydeck\job.json

Full usage is in SKILL.md; how to write pages is in references/modern-web.md.

It asks for a Star once

The first time you ask it to build something, the agent asks once, before starting, whether it may star this repository.

  • Yes: if the GitHub CLI (gh) is signed in, it stars with that account; otherwise it opens the repository page so you can press Star yourself.
  • No: it moves on and never asks again. Everything works the same.
  • Your answer is stored only on this PC, with a date, in %LOCALAPPDATA%\ppt-html\star.json (sent nowhere). Delete it to be asked again.
  • It never stars without your yes. What it does is in scripts/star.ps1.

Opening a built file

  • The first time, press [Enable Content] on the yellow bar (macros). Pages move only in the slide show (F5); the editor shows still pictures.
  • Windows blocks macros in files received by mail. Open the file's Properties, tick [Unblock], then open it.

Common problems

Situation Try this
I'm on a Mac Build with python3 scripts/portable_pptm.py -o deck.pptm first.html second.html, or open a deck built on Windows: both run on a Mac. Windows and Mac
It doesn't work in the web chat (claude.ai, ChatGPT, Gemini) It runs only in Claude Code, Codex and Gemini CLI. See Requirements.
The agent doesn't seem to know the skill Check that SKILL.md is at %USERPROFILE%\.claude\skills\ppt-html\SKILL.md (Claude Code) or %USERPROFILE%\.agents\skills\ppt-html\SKILL.md (Codex, Gemini CLI), then restart the agent.
The HTML shows as a still picture Make sure you are in the slide show (F5) and pressed [Enable Content]. For files received by mail or messenger, use [Unblock] in Properties.
A deck I made earlier shows only pictures on a Mac It was built before 3.2. python3 scripts/upgrade_pptm.py --in-place deck.pptm (Windows: py -3 scripts\upgrade_pptm.py --in-place deck.pptm) adds the Mac copy without rebuilding.
Macros are blocked on my work PC Company policy can't be bypassed. A current Microsoft 365 PowerPoint still runs the pages as interactive content blocks (when Python was on the build PC); otherwise use the web version .html built alongside.
Still stuck Open an issue and paste the check result under "PC result". Asking the agent "run a full check with the ppt-html skill" produces it. Remove user names and paths.

Where it stands (honestly)

  • Checked on one development PC (Windows 11, PowerPoint LTSC 2024 64-bit, Edge 157) with a hidden slide show. Other PCs and Office versions are not confirmed yet; doctor.ps1 -Full tests the PC it runs on.
  • Not yet checked: a person clicking on a real monitor, Korean IME composition, touch, sound and video playback.
  • Scope and limits are written up in the "Limits" part of SKILL.md and at the end of references/how-it-works.md.

The biggest help is telling us how it went on your PC, working or not, in an issue or in Discussions.

Contributing

Anyone can read the code and propose changes (pull requests). A maintainer reviews and accepts each one. Please read CONTRIBUTING.md first, and the code of conduct.

Made a deck with this skill? Show it in Discussions. With your permission it can go into the examples.

Featured in

License

MIT. Bundled fonts and build tools follow their own open licenses: THIRD-PARTY-NOTICES.md.

Star History

Explore related projects

Loading…