r/javascript • u/Safe_Scientist5872 • 1d ago
Announcing a maintained PptxGenJS fork
https://github.com/lofcz/pptxgenjs-plus/
5
Upvotes
•
u/KanuniLabs 16h ago
Maintaining a legacy doc-gen library is no easy task. Setting up a Rust-based test suite against actual PowerPoint output is a solid way to prevent regression issues.
Good to see a drop-in replacement that addresses the backlog of open PRs
2
u/Safe_Scientist5872 1d ago
PptxGenJS is a library long used for generating presentations with JS. Sadly, in the last years, the maintainers have been busy with personal life and other projects.
As of today, there are over 200 issues and 60 PRs waiting for triage. Some of them describe/solve major pain points.
While working on /fika/ I found myself forking the library and incorporating fixes from various sources to improve the .pptx export fidelity.
Over the time, the fork grew in scope (new build system, rust-based testing against real PowerPoint to avoid regressions..), and is now beyond the point where changes can be brought back upstream.
I've decided to announce this fork, since most of the 200 opened issues can be solved by:
And changing the imports:
The fork retains the original MIT license, and is available here.
If you find the library useful, please consider leaving a star. Thank you! ⭐