News for hackers. Stuff that matters.

Ask HN: Best Slide API?

Hey all - we're looking for an API for rendering PowerPoint slides... is there any third party service that you've had a good experience with?

Ideally, we're looking to send a JSON payload describing the slide and receive back the URL to download it.

If you haven't used a third party, any tips on building this? Does anyone currently deal with creating slides programmatically for clients?

Many thanks, Josh

( 11 comments | 7 points | on HN )
Re:Ask HN: Best Slide API? by rococode on Monday May 04, 2020 @01:55PM (#23071147)
I've only played around with it a bit and haven't used it extensively before, but PptxGenJS may be what you need to build this yourself.

https://github.com/gitbrent/PptxGenJS

https://gitbrent.github.io/PptxGenJS/

Re:Ask HN: Best Slide API? by itslogotime on Monday May 04, 2020 @03:09PM (#23072027)
Thank you - this is helpful.

Have you ever had to add slide rendering as a feature for customers?

Re:Ask HN: Best Slide API? by jklein11 on Monday May 04, 2020 @03:07PM (#23071998)
If you are comfortable using Google Slides instead of powerpoint they have an API that might be useful here.

https://github.com/gsuitedevs/md2googleslides

Re:Ask HN: Best Slide API? by itslogotime on Monday May 04, 2020 @03:10PM (#23072045)
Thanks - have you ever had to add slide rendering as a customer-facing feature?

This gsuite functionality looks good!

Re:Ask HN: Best Slide API? by jklein11 on Tuesday May 05, 2020 @09:16PM (#23086987)
Nope, can't say that I have.
Re:Ask HN: Best Slide API? by doittoit on Monday May 04, 2020 @02:23AM (#23065109)
We had to back burner this feature, because making slides wasn't a core feature for us.

But it is a pain... haven't seen a third party, but have made something similar in the past with open source libs

Re:Ask HN: Best Slide API? by sammysosa4ever on Monday May 04, 2020 @02:25AM (#23065121)
Yeah there are open source libs; but it's kind of annoying to implement. Think OP is asking for third party service
Re:Ask HN: Best Slide API? by itslogotime on Monday May 04, 2020 @12:10PM (#23069738)
Anyone else have any insight / advice on this? Would really appreciate it!
Re:Ask HN: Best Slide API? by ridikulous on Monday May 04, 2020 @02:26AM (#23065125)
dont know of any services that do this, but there are plenty of open source libs
Re:Ask HN: Best Slide API? by itslogotime on Monday May 04, 2020 @02:27AM (#23065130)
Thanks - can you point me to one of the open source libs you've had a good experience with?
Re:Ask HN: Best Slide API? by mmedinalr on Monday May 04, 2020 @04:56PM (#23073146)
would you buy it if I build it?