SLIDECK-HTML · OPEN SOURCE · ZERO DEPENDENCY
Write one small file per slide, run one command, and get a polished 1920×1080 deck as a single offline .html, plus PDF and editable PowerPoint.
This page is itself a slideck-html deck. Use ← → or click to go through it, or download it as PDF.
THE PROBLEM
They look good, but they are binary files: hard to review in git, hard to generate from code or with AI.
Flexible, but you inherit packages, a build chain and CDN links, and the result is a folder, not a file.
Easy to share, but frozen. Nobody can fix a typo or update a chart without the original.
WHAT IT IS
ONE FILE
A typical deck is 150–250 KB, fonts included.
No server, no internet and nothing to install for the audience.
Email it, drop it in a chat, or host it as a page like this one.
No CDN links or web fonts that can disappear; images are embedded too.
HOW A SLIDE LOOKS
<slide layout="two-content"> <ph name="kicker">Q3 REVIEW</ph> <ph name="title">Revenue grew 18%, led by enterprise</ph> <ph name="left"><ul><li>Enterprise +31%</li> <li>Churn flat at 2.1%</li></ul></ph> <ph name="right"><chart type="doughnut"> labels: Enterprise | SMB | Self-serve Revenue: 41 | 22 | 9 </chart></ph> </slide>
10 layouts, like PowerPoint's: title, two-content, comparison, content-aside…
Empty ones are dropped; overflowing text shrinks to fit.
Charts, diagrams and icons are drawn at build time in the theme's colours.
19 DESIGNS · 1 OF 2
Click any design to open its full example deck.
19 DESIGNS · 2 OF 2
slideck new-designCustom designs live in your deck folder and are checked against 13 rules on every build.
10 THEMES
38 TEMPLATES · 1 OF 2
Click a template to open it in a filled example deck. Every template follows your design and theme; the build flags any text left in brackets.
38 TEMPLATES · 2 OF 2
SKILL.md gives an order per deck type: report, startup pitch, consulting proposal, thesis defence, lecture.
BUILT-IN VISUALS
Bar, horizontal bar, line, area, pie and doughnut, from a few lines of data.
Venn, 2×2 matrix, cycle, funnel, pyramid, scale, TAM/SAM/SOM, positioning map and Gantt.
Laid out at build time; no mermaid.js and no network.
Plain or in a coloured circle, recoloured by the theme.
Chevrons, arrows and callouts, plus connectors between them.
Text that overflows shrinks to fit, like PowerPoint's "shrink on overflow".
MOTION & INTERACTION
Corporate, cinematic, editorial, keynote or static; content enters in reading order and charts draw themselves.
data-step and data-steps="dim" reveal one point at a time; #4.2 links to that exact moment.
Swap, tabs, peek cards, hotspots, count-up numbers and morph between slides.
The PDF prints every step and every tab; the PowerPoint keeps the steps as click animations.
WHERE IT FITS
This slide is a <diagram type="matrix"> with six lines of text.
OUTPUTS
Keyboard and touch navigation, a live theme switcher, speaker notes and in-place text editing.
slideck build
One slide per page, with speaker notes printed as their own pages.
slideck pdf
Real text boxes, tables and shapes with the fonts embedded. Import a .pptx back into slides too.
slideck pptx
FOR AI AGENTS
"A 10-slide board update from this spreadsheet, consulting design, export a PDF."
Storyline first, a full-sentence takeaway as every title, copy-paste recipes.
The agent reads the check screenshots and fixes the worst problems, at least twice.
In Claude Code:
/plugin marketplace add
mahdyarief/slideck-html
/plugin install
slideck-html@mahdyarief
Other agents can read AGENTS.md in the repo.
QUALITY
Text that still overflows after autofit is flagged per slide.
Each slide is compared with a baseline, so you see what changed.
Huge, tiny, tall or wide images always fit their box.
TUTORIAL
STEP 1 OF 4
deck.json, a slides/ folder with two sample slides, and a .gitignore.
STEP 2 OF 4
<slide layout="title-content"> <ph name="kicker">PRIORITIES</ph> <ph name="title">Start with the quick wins</ph> <ph name="body"><diagram type="matrix" key="2"> Big bets: high impact, high effort Quick wins: high impact, low effort Fill-ins: low impact, low effort Avoid: low impact, high effort x: Effort y: Impact </diagram></ph> </slide>
Make the title a full sentence: the titles alone should tell the story.
One number: big stat. A trend: chart. Priorities: matrix.
key="2" on a diagram, or class="is-key" on a card or row.
STEP 3 OF 4
→ dist/deck.html, one file
slideck buildOverflow report and screenshots
slideck checkOne slide per page, notes included
slideck pdfEditable, fonts embedded
slideck pptxSTEP 4 OF 4
{
"title": "Board update Q3",
"footer": "Acme | Q3 2026",
"output": "board-q3.html",
"design": "consulting",
"theme": "slate-rust"
}
slideck new-design acme --from consulting
slideck new-theme acme-blue --from navy
slideck lintSpacing, cards, type treatment. Never a fixed colour.
Colour and font tokens only, checked for contrast.
13 rules keep any design working with any theme.
GET STARTED
Download this deck: HTML · PDF · PowerPoint · MIT licence