hugohe3/ppt-master

GitHub: hugohe3/ppt-master

一款AI驱动的原生PPT生成器,把任意文档转成可编辑的PPTX,解决现有工具仅输出图片而无法编辑的问题。

Stars: 5322 | Forks: 615

# PPT Master — AI 从任意文档生成可原生编辑的 PPTX [![Version](https://img.shields.io/badge/version-v2.3.0-blue.svg)](https://github.com/hugohe3/ppt-master/releases) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![GitHub stars](https://img.shields.io/github/stars/hugohe3/ppt-master.svg)](https://github.com/hugohe3/ppt-master/stargazers) [![AtomGit stars](https://atomgit.com/hugohe3/ppt-master/star/badge.svg)](https://atomgit.com/hugohe3/ppt-master) English | [中文](./README_CN.md)

Live Demo · About Hugo He · Examples · FAQ · Contact

Drop in a PDF, DOCX, URL, or Markdown — get back a **natively editable PowerPoint** with real shapes, real text boxes, and real charts. Not images. Click anything and edit it. **[Why PPT Master?](./docs/why-ppt-master.md)** There's no shortage of AI presentation tools — what's missing is one where the output is **actually usable as a real PowerPoint file**. I build presentations every day, but most tools export images or web screenshots: they look nice but you can't edit anything. Others produce bare-bones text boxes and bullet lists. And they all want a monthly subscription, upload your files to their servers, and lock you into their platform. PPT Master is different: - **Real PowerPoint** — if a file can't be opened and edited in PowerPoint, it shouldn't be called a PPT. Every element PPT Master outputs is directly clickable and editable - **Transparent, predictable cost** — the tool is free and open source; the only cost is your own AI editor, and you know exactly what you're paying. As low as **$0.08/deck** with VS Code Copilot - **Data stays local** — your files shouldn't have to be uploaded to someone else's server just to make a presentation. Apart from AI model communication, the entire pipeline runs on your machine - **No platform lock-in** — your workflow shouldn't be held hostage by any single company. Works with Claude Code, Cursor, VS Code Copilot, and more; supports Claude, GPT, Gemini, Kimi, and other models **[See live examples →](https://hugohe3.github.io/ppt-master/)** · [`examples/`](./examples/) — 15 projects, 229 pages ## 画廊
Magazine style — Garden building guide
Magazine — warm earthy tones, photo-rich layout
Academic style — Medical image segmentation research
Academic — structured research format, data-driven
Dark art style — Music video analysis
Dark Art — cinematic dark background, gallery aesthetic
Nature style — Wildlife wetland documentary
Nature Documentary — immersive photography, minimal UI
Tech style — Claude AI subscription plans
Tech / SaaS — clean white cards, pricing table layout
Product launch style — Xiaomi spring release
Product Launch — high contrast, bold specs highlight
## 由 Hugo He 构建 I'm a finance professional (CPA · CPV · Consulting Engineer (Investment)) who got tired of spending hours on presentations that could be automated. So I built this. PPT Master started from a simple frustration: existing AI slide tools export images, not editable shapes. As someone who reviews and edits hundreds of slides in investment and consulting work, that was unacceptable. I wanted real DrawingML — click on any element and change it, just like you built it by hand. This project is my attempt to bridge the gap between **domain expertise** and **product engineering** — turning a complex professional pain point into an open-source tool that anyone can use. 🌐 [Personal website](https://www.hehugo.com/) · 📧 [heyug3@gmail.com](mailto:heyug3@gmail.com) · 🐙 [@hugohe3](https://github.com/hugohe3) ## 快速开始 ### 1. 先决条件 **You only need Python.** Everything else is installed via `pip install -r requirements.txt`. | Dependency | Required? | What it does | |------------|:---------:|--------------| | [Python](https://www.python.org/downloads/) 3.10+ | ✅ **Yes** | Core runtime — the only thing you actually need to install |
Windows — see the dedicated step-by-step guide ⚠️ Windows requires a few extra steps (PATH setup, execution policy, etc.). We wrote a **step-by-step guide** specifically for Windows users: **📖 [Windows Installation Guide](./docs/windows-installation.md)** — from zero to a working presentation in 10 minutes. Quick version: download Python from [python.org](https://www.python.org/downloads/) → **check "Add to PATH"** during install → `pip install -r requirements.txt` → done.
macOS / Linux — install and go ``` # macOS brew install python pip install -r requirements.txt # Ubuntu / Debian sudo apt install python3 python3-pip pip install -r requirements.txt ```
Edge-case fallbacks — 99% of users don't need these Two external tools exist as fallbacks for edge cases. **Most users will never need them** — install only if you hit one of the specific scenarios below. | Fallback | Install only if… | |----------|-----------------| | [Node.js](https://nodejs.org/) 18+ | You need to import WeChat Official Account articles **and** `curl_cffi` (part of `requirements.txt`) has no prebuilt wheel for your Python + OS + CPU combination. In normal setups `web_to_md.py` handles WeChat directly through `curl_cffi`. | | [Pandoc](https://pandoc.org/) | You need to convert legacy formats: `.doc`, `.odt`, `.rtf`, `.tex`, `.rst`, `.org`, or `.typ`. `.docx`, `.html`, `.epub`, `.ipynb` are handled natively by Python — no pandoc required. | ``` # macOS(仅当上述条件适用时) brew install node brew install pandoc # Ubuntu / Debian sudo apt install nodejs npm sudo apt install pandoc ```
### 2. 选择 AI 编辑器 | Tool | Rating | Notes | |------|:------:|-------| | **[Claude Code](https://claude.ai/)** | ⭐⭐⭐ | Best results — native Opus, largest context | | [Cursor](https://cursor.sh/) / [VS Code + Copilot](https://code.visualstudio.com/) | ⭐⭐ | Good alternatives | | Codebuddy IDE | ⭐⭐ | Best for Chinese models (Kimi 2.5, MiniMax 2.7) | ### 3. 设置 **Option A — Download ZIP** (no Git required): click **Code → Download ZIP** on the [GitHub page](https://github.com/hugohe3/ppt-master), then unzip. **Option B — Git clone** (requires [Git](https://git-scm.com/downloads) installed): ``` git clone https://github.com/hugohe3/ppt-master.git cd ppt-master ``` Then install dependencies: ``` pip install -r requirements.txt ``` To update later (Option B only): `python3 skills/ppt-master/scripts/update_repo.py` ### 4. 创建 **Provide source materials (recommended):** Place your PDF, DOCX, images, or other files in the `projects/` directory, then tell the AI chat panel which files to use. The quickest way to get the path: right-click the file in your file manager or IDE sidebar → **Copy Path** (or **Copy Relative Path**) and paste it directly into the chat. ``` You: Please create a PPT from projects/q3-report/sources/report.pdf ``` **Paste content directly:** You can also paste text content straight into the chat window and the AI will generate a PPT from it. ``` You: Please turn the following into a PPT: [paste your content here...] ``` Either way, the AI will first confirm the design spec: ``` AI: Sure. Let's confirm the design spec: [Template] B) Free design [Format] PPT 16:9 [Pages] 8-10 pages ... ``` The AI handles everything — content analysis, visual design, SVG generation, and PPTX export. ### 5. AI 图像生成(可选) ``` cp .env.example .env # then edit with your API key ``` ``` IMAGE_BACKEND=gemini # required — must be set explicitly GEMINI_API_KEY=your-api-key GEMINI_MODEL=gemini-3.1-flash-image-preview ``` Supported backends: `gemini` · `openai` · `qwen` · `zhipu` · `volcengine` · `stability` · `bfl` · `ideogram` · `siliconflow` · `fal` · `replicate` Run `python3 skills/ppt-master/image_gen.py --list-backends` to see tiers. Environment variables override `.env`. Use provider-specific keys (`GEMINI_API_KEY`, `OPENAI_API_KEY`, etc.) — global `IMAGE_API_KEY` is not supported. ## 文档 | | Document | Description | |---|----------|-------------| | 🆚 | [Why PPT Master](./docs/why-ppt-master.md) | How it compares to Gamma, Copilot, and other AI tools | | 🪟 | [Windows Installation](./docs/windows-installation.md) | Step-by-step setup guide for Windows users | | 📖 | [SKILL.md](./skills/ppt-master/SKILL.md) | Core workflow and rules | | 📐 | [Canvas Formats](./skills/ppt-master/references/canvas-formats.md) | PPT 16:9, Xiaohongshu, WeChat, and 10+ formats | | 🛠️ | [Scripts & Tools](./skills/ppt-master/scripts/README.md) | All scripts and commands | | 💼 | [Examples](./examples/README.md) | 15 projects, 229 pages | | 🏗️ | [Technical Design](./docs/technical-design.md) | Architecture, design philosophy, why SVG | | ❓ | [FAQ](./docs/faq.md) | Model selection, cost, layout troubleshooting, custom templates | ## 贡献 ## 许可证 [MIT](LICENSE) ## 致谢 [SVG Repo](https://www.svgrepo.com/) · [Tabler Icons](https://github.com/tabler/tabler-icons) · [Robin Williams](https://en.wikipedia.org/wiki/Robin_Williams_(author)) (CRAP principles) · McKinsey, BCG, Bain ## 联系与合作 Looking to collaborate, integrate PPT Master into your workflow, or just have questions? - 💬 **Questions & sharing** — [GitHub Discussions](https://github.com/hugohe3/ppt-master/discussions) - 🐛 **Bug reports & feature requests** — [GitHub Issues](https://github.com/hugohe3/ppt-master/issues) - 📧 **Business & consulting inquiries** — [heyug3@gmail.com](mailto:heyug3@gmail.com) - 🌐 **Learn more about the author** — [www.hehugo.com](https://www.hehugo.com/) ## 星标历史 If this project helps you, please give it a ⭐! Star History Chart
标签:AI生成, AI编辑器, DOCX转换, Markdown转PPT, PDF转换, PowerPoint, PPTX, PPT生成, SEO词: AI演示, SEO词: PPT生成工具, SEO词: 免费PPT生成, SEO词: 可编辑PPTX, SEO词: 开源PPT工具, URL转PPT, VS Code扩展, 二进制发布, 低成本AI, 免费工具, 内容生成, 原生形状, 可编辑PPT, 开源工具, 文档处理, 文档转换, 无需设计技能, 演示文稿自动化, 真实图表, 真实文本框, 逆向工具, 透明成本