Skip to content

Greebbie/html4presentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

html4presentation

html4presentation is an agent skill that generates single-file HTML presentations editable like PowerPoint — in the browser, offline, with no build step, server, or dependencies. Every deck it produces embeds a drop-in editor, so it ships ready to edit.

How it works

A deck is one self-contained .html file: inline CSS, your slides, and a drop-in editor <script>. Open it by double-clicking — present with the arrow keys, or press E to edit. The editor injects its own interface and strips all of it on save, so the written file stays clean and re-opens editable.

Features

  • Edit in place — click any text to type; drag an image file onto a picture to replace it (embedded as a data URL).
  • Restructure — reorder, add, duplicate, and delete slides; cycle layouts; drag and resize elements with alignment guides.
  • Author tools — undo/redo, text formatting, per-slide backgrounds, and a thumbnail sidebar.
  • Present — press F for fullscreen; navigate with Space.
  • SaveCtrl/Cmd+S. Chromium writes straight back to the file; other browsers download an updated copy.
  • No dependencies — vanilla JS in one classic <script>; runs from file://.

Quick start

Open the reference deck and try it:

demo/index.html

Press E to edit, F to present, Ctrl/Cmd+S to save. A second example lives at demo/genshin-impact.html.

Generate a deck with an agent

The editor is delivered as a portable skill — one source of truth, two entry points:

  • Claude Code — install skills/html-deck/, then ask for a deck (or run /html-deck).
  • Codex and other agentsAGENTS.md points them at skills/html-deck/SKILL.md.

Ask for something like “make me a 6-slide deck about X.” The agent emits one .html with the editor embedded.

Authoring contract

<div class="deck" data-layouts="default title statement image-right center">
  <section class="slide is-active">
    <div class="stage" data-layout="title">
      <h1 data-editable>Headline</h1>
      <p data-editable>Subtitle</p>
    </div>
  </section>
  <!-- editor block from skills/html-deck/assets/deck-editor.inline.html, pasted verbatim -->
</div>
  • .deck.slide.stage — the first slide carries is-active; each .stage is a fixed 1280×720 canvas the editor scales to fit.
  • data-editable marks editable text; data-slot marks swappable images.
  • data-layout sets a stage's layout; data-layouts lists what Layout cycles through.

Full reference: skills/html-deck/references/convention.md.

Repository layout

Path Purpose
skills/html-deck/SKILL.md The skill an agent follows to generate a deck
skills/html-deck/references/convention.md Attribute reference and copy-paste layout CSS
skills/html-deck/assets/deck-editor.inline.html The drop-in editor — single source of truth
demo/ Working reference decks
AGENTS.md Entry point for Codex and other agents

About

vibe generated editable html for presentation slides

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages