PowerPointCompareForGit 0.4.0
dotnet tool install --global PowerPointCompareForGit --version 0.4.0
dotnet new tool-manifest
dotnet tool install --local PowerPointCompareForGit --version 0.4.0
#tool dotnet:?package=PowerPointCompareForGit&version=0.4.0
nuke :add-package PowerPointCompareForGit --version 0.4.0
<img src="https://raw.githubusercontent.com/LearnWithLlew/PowerPointCompareForGit/main/icon.png" alt="" width="48" align="center"> PowerPointCompareForGit
A .NET tool that shows what changed in a PowerPoint deck across git commits. It renders each version of a .pptx to a single tall PNG (all slides stacked) and opens two versions side by side in your diff tool.
Status: early development. All commands work; the detected diff-tool commands are not yet verified on every OS.
Install
dotnet tool install --global PowerPointCompareForGit
Slides are drawn by DeckCraft. If its deckcraft-cli isn't found, the tool offers to install DeckCraft and the CLI for you.
To draw with LibreOffice instead, pass --renderer LibreOffice:
brew install --cask libreoffice # Mac
winget install TheDocumentFoundation.LibreOffice # Windows
sudo apt install libreoffice # Linux
Usage
CreatePowerpointCheckpoint file.pptx # render the last commit that changed the file
CreatePowerpointCheckpoint file.pptx --commit sha1,sha2,sha3 # render these commits
CreatePowerpointCheckpoint file.pptx --compare # working copy vs last commit that changed the file
CreatePowerpointCheckpoint file.pptx --compare sha1 # working copy vs sha1
CreatePowerpointCheckpoint file.pptx --compare sha1 sha2 # sha1 vs sha2
CreatePowerpointCheckpoint file.pptx --compare --selective # only the slides that changed, works with every form of --compare
CreatePowerpointCheckpoint file.pptx --pages 40 # only slide 40, past the end means the last slide
CreatePowerpointCheckpoint file.pptx --pages 2-25 # only slides 2 to 25, one PNG per slide
CreatePowerpointCheckpoint file.pptx --compare --pages 2-25 # compare only those slides, stitched into one PNG per version
CreatePowerpointCheckpoint file.pptx --renderer LibreOffice # draw with LibreOffice instead of DeckCraft
CreatePowerpointCheckpoint --reset # clear local settings
Previews are cached in .git/pptx-previews/, so git never tracks them and each commit is rendered only once.
Configure
The first --compare asks which diff tool to use and suggests any PNG-capable ones it finds (Beyond Compare, Kaleidoscope, P4Merge, Araxis Merge, WinMerge), or a custom command such as mytool --flags {file1} {file2}. The answer is saved to ~/.createpowerpointcheckpoint/settings.json. --reset deletes that file.
For AI agents
skills/powerpoint-compare/SKILL.md is an Agent Skill that teaches coding agents how to use this tool. Copy the powerpoint-compare folder into your agent's skills directory (e.g. .claude/skills/).
License
Apache-2.0. See LICENSE.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.