skip to content

// presentation toolkit

deck-kit

HTML slides, a synced presenter view and one file that runs with Wi-Fi off.

A reusable presentation kit built with plain HTML, CSS and TypeScript. Write slides as small HTML files, present with step-aware notes and a pace timer, then ship a self-contained deck or PDF. Four portable agent skills guide research, writing, verification and design, with a review stop after each phase; since v1.2.0 they work with Codex, Claude Code and any agent that reads AGENTS.md.

// presentation06/22
year
2026
type
presentation toolkit
group
developer tools
status
released, mit licensed

//in plain words

A talk needs slides, a script, a shorter version for when time runs out, and a plan for the moment the venue Wi-Fi fails. deck-kit keeps all of that in one folder: slides are small web pages, the presenter screen shows your notes and pace, and the whole talk builds into a single file that opens from a USB stick. AI helpers can draft and fact-check the talk, but you approve every step.

for people who give talks and want them in a repository, not a cloud

the problem

//01the problem

A talk needs more than slides: a script, a shorter cut, reliable presenter controls and a fallback when the network fails. I wanted to keep all of that in a repository, reuse the engine for the next talk and change the design without rewriting the content.

how it works

//02how it works

  1. 01

    Content, theme and engine stay separate

    Each slide is an HTML partial with semantic markup, build steps and speaker notes. A deck manifest sets the order, timing and alternate profiles. CSS tokens and layouts own the design; the vanilla TypeScript engine handles navigation on a fixed 1920 by 1080 canvas, scaled to fit the screen, and tests enforce that the engine holds no visual literals.

  2. 02

    A presenter view that keeps up

    The presenter sees the current step, next slide, highlighted script and pace against target timings. Either window can advance the talk. BroadcastChannel sync has an opener fallback for local files; keyboard, clicker and touch controls share the same navigation, with overview and blackout a key away.

  3. 03

    A workflow with review built in

    Four skills create a talk, add slides, retheme it or prepare delivery. The new-deck workflow moves through brief, research, content, verification and design, pausing for review at each phase. Nothing on screen changes without approval: unapproved text is marked and fails the lint until resolved.

  4. 04

    Lint for slides

    A dev overlay and a check command flag too much prose per slide, em dashes, exclamation marks, emoji, inline styles and tables without captions. A live region announces slides, hidden slides are inert, and axe runs on every slide.

  5. 05

    Ready for the room, with a fallback

    Vite builds a static site or one deck.html that opens from a USB stick, including the presenter view. Export slides to PDF and notes to a printable script. Separate engine and deck browser suites check navigation, sync, slide fit, accessibility, print and offline behavior.

screens

//03screens

  1. The Wi-Fi example deck: The title slide of the first example, a neo-brutalist theme on the same engine as every other deck.
    01The Wi-Fi example deckThe title slide of the first example, a neo-brutalist theme on the same engine as every other deck.
  2. A slide fully stepped: A table and its three conclusions after every step has been revealed; each step is its own line in the presenter's script.
    02A slide fully steppedA table and its three conclusions after every step has been revealed; each step is its own line in the presenter's script.
  3. The presenter window: The current slide at its live step, the next slide, the script with the current step marked, the pace against the plan, and a link status to the audience window.
    03The presenter windowThe current slide at its live step, the next slide, the script with the current step marked, the pace against the plan, and a link status to the audience window.
  4. The overview grid: Every slide as a card, reached with one key; arrows move and Enter jumps.
    04The overview gridEvery slide as a card, reached with one key; arrows move and Enter jumps.
  5. Mid-slide: A diagram slide after its first step, with three more to reveal.
    05Mid-slideA diagram slide after its first step, with three more to reveal.
  6. The keyboard reference: Every key the engine answers, shown in the deck with a single question mark.
    06The keyboard referenceEvery key the engine answers, shown in the deck with a single question mark.

measured

//04measured

1
file to present offline
deck.html includes the slides, assets and presenter view
0
network requests at runtime
fonts, icons and images ship in the build; tests block external requests
80
unit tests, 72 engine browser tests
v1.3.0 release run, chromium and webkit; four expected skips
15 kB
gzipped javascript for the starter deck
no ui framework and no presentation library

decisions

//05decisions

  1. 01

    chose a fixed 1920 by 1080 canvas scaled to the screen

    over responsive slides that reflow

    Layouts never reflow, so what you rehearsed is what the room sees. The cost is letterboxing on screens with another aspect ratio.

  2. 02

    chose no runtime network requests

    over web fonts and hosted icons

    Fonts and icons are packages in the build and images live in the repository. The offline tests block every external request, so the day the venue Wi-Fi fails is a tested path.

  3. 03

    chose one AGENTS.md with CLAUDE.md as a symlink

    over per-agent instruction files

    Codex, Claude Code and any agent that reads the file get the same workflow and the same review stops. Windows needs symlinks enabled, and the docs say to fall back to plain files if they break.

  4. 04

    chose shortcuts by physical key

    over by letter

    The same keys work on AZERTY and Arabic layouts, and Ctrl, Cmd and Alt are left to the browser.

try it

//06try it

  1. //start a talk from the template

    pnpm install && pnpm dev

    after use this template on github; presenter view at /presenter.html

  2. //build the one-file deck for a usb stick

    pnpm build:single

    dist-single/deck.html opens by double-click

  3. //export slides to pdf

    pnpm pdf

highlights

//07highlights

  • Single-file offline delivery, static hosting and PDF export
  • Two-way presenter sync with step-aware notes and a persistent timer
  • Alternate talk profiles with their own slide order and target timings
  • Keyboard and clicker controls, a laser pointer, overview, blackout and touch navigation
  • Portable agent skills with explicit review stages, AGENTS.md canonical
  • Two complete talks with distinct themes on the same framework-free engine

built with

  • TypeScript
  • Vite
  • HTML
  • CSS
  • Vitest
  • Playwright
  • Biome

on githubdeck-kit

license
MIT
language
TypeScript
latest release
v1.3.0 nov 3, 2026
last push
nov 3, 2026

printings

//08printings

  1. v1.0.0

    The engine, presenter sync, profiles, slide lint, the single-file build, the browser suites and four Claude Code skills, with the wireless networks talk as the example.

  2. v1.1.0

    A second complete talk on introductory cryptography with its brief, plan, decisions and fact log published as a worked example.

  3. v1.2.0

    Portable workflows: AGENTS.md canonical, skills moved to a shared folder, tool-neutral instructions that disclose separate passes when an agent has no subagents.

  4. v1.3.0

    A laser pointer on the L key: a red dot with a short fading trail that rings the block under it, and can be driven from the presenter window. The idle cursor now hides itself.

questions

//09questions

Does it work with Wi-Fi off?
Yes. There are no runtime requests, and the single-file build produces one deck.html that runs from a USB stick, presenter view included.
Do I need an AI agent to use it?
No. Slides are HTML partials you can write by hand. The skills are there for Codex, Claude Code or any agent that reads AGENTS.md, and they stop for your review after each phase.
Can one talk have a short version?
Yes. A profile has its own slide order and target timings, and the PDF export produces each profile.
What stops the AI from changing my facts?
On-screen content never changes without approval. Text an agent is unsure about is marked, and a marked slide fails the lint until you resolve it.

related sheets

//10related sheets

//11contact

Say hello.I read everything.

Email is the fastest way to reach me. For anything that needs a conversation, book a call.

to

name
Khaled Saeed
country
Lebanon