[Micro SaaS] AI Driven PPTs

[Micro SaaS] AI Driven PPTs

October 10, 2025

Tl;DR

SliDevJS is so cool.

npm init slidev@latest slidev-ba-tech-talk
cd slidev-ba-tech-talk
#npm run dev -- --host 0.0.0.0 --port 4321 #http://192.168.1.11:4321/
#npm run build
#cd ./dist
#npx serve

#npx playwright install
npx slidev export --format pptx --output my-presentation.pptx
#npx slidev export --format pptx --range 1-5,8,10-12
#npx slidev export --format pdf

Remember about http://localhost:3030/overview/ or /exporter to get the .pdf

Then, its all about controlling one slides.md

---
theme: seriph #you can also change this to a company theme
background: '/company-ppt-theme.jpg' #place it in ./public
#background: https://cover.sli.dev
class: 'text-center'
drawings:
  persist: false
transition: slide-left
mdc: true
---

Intro

After this post: https://jalcocert.github.io/JAlcocerT/social-signin-101/#how-to-create-an-slidev-editor

The AI part was pending!

And also to make that each user will have their own bucket/folder with a .md to be edited.

Instead of a common one for all.

Context for AI

https://diagrams.mingrammer.com/docs/getting-started/examples


Conclusions

Other PPT as a Code

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

The most common and effective ways to create presentations “as code” (programmatically or using text-based formats) involve libraries and tools categorized by the language/format they use.

The primary categories and popular tools are:

  1. Programming Libraries (Code-First)

These tools use native language syntax to build the presentation object by object, offering the most granular control.

LanguageTool / LibraryKey Feature
Python 🐍python-pptxThe industry standard for programmatically generating or modifying standard Microsoft PowerPoint (.pptx) files.
JavaScript/Node.js 💻PptxGenJSExcellent for creating .pptx files directly from web applications (browser) or server-side scripts (Node.js).
Go (Golang) 🐹uniofficeA pure Go library for working with all Office Open XML documents, including .pptx.
Ruby ♦️ruby-powerpointAllows manipulation and generation of PowerPoint presentations in Ruby.
JavaApache POIA popular API used to create and maintain other file formats based on Office Open XML (OOXML) or Microsoft’s OLE2, including a component for PowerPoint (.pptx).
  1. Markdown/YAML Tools (Text-First)

These tools allow you to write content in a simplified markup language (like Markdown) and then render or convert it into a presentation format. They prioritize content and speed over complex design.

ToolFormatOutput/Target
SlidevMarkdown, YAMLGenerates HTML slides (often used for technical talks), offering live coding and theming.
MarpMarkdownGenerates HTML/PDF/PPTX slides from Markdown, using CSS and custom themes for styling.
reveal.jsHTML, MarkdownA robust framework for creating interactive, browser-based HTML presentations. Many tools (like Pandoc) can output to this format.
PandocMarkdown, LaTeXThe universal document converter. It can convert Markdown to various formats, including $\LaTeX$-based Beamer slides or even HTML for reveal.js.
Beamer$\LaTeX$A specialized $\LaTeX$ document class used to create high-quality, scientifically styled PDF presentations.
  1. Web Frameworks (UI/Data-First)

While not strictly “code-as-PPT,” these modern tools use code and data to generate web-based presentations that are often exported to PDF or HTML.

  • Observable Plot/Vega-Lite + Static Site Generator (e.g., Gatsby, Next.js): Allows you to generate highly dynamic, data-driven slides using JavaScript/React and modern visualization code.
  • Quarto: An open-source scientific and technical publishing system (successor to R Markdown) that can output beautiful presentations (Reveal.js, Beamer, Powerpoint) directly from notebooks containing code and Markdown.