OfficeBuddy Closes the Loop on Document Edits by Rendering Through Real Microsoft Office and Diffing Screenshots
richardChenzhihui/OfficeBuddy (created 2026-07-29, 41 stars, Python) drives real Word and Excel over AppleScript, exports to PDF after each edit, rasterizes at 144 dpi, then pixel-diffs against the last verified baseline rather than the previous render. The verification step is a separate stateless multimodal call that sees only the red-box-annotated screenshot, never the edit history or the model's own reasoning, and a pass is what advances the baseline. Warm renders take about 0.6 seconds against a 1 to 2 minute cold start per session. It is macOS-only by construction and honest about gaps: resaving .xlsx files drops existing charts and images via openpyxl, and tracked changes, comments, footnotes and TOC updates are unsupported.
Source
↳ Follow the thread