bento-slides

Installation
SKILL.md

Authoring Bento decks

A Bento deck is one self-contained .bento.html file: a compressed app runtime plus the document as plain JSON in one block:

<script type="application/bento+json" id="bento-doc"> { "format":"bento/slides", ... } </script>
  • Edit that block only, in place. Only upgrade_deck.mjs replaces the runtime.
  • render_check.mjs --write writes the block for you. A hand-written splice must escape every < in the JSON as its unicode escape (a backslash followed by u003c), so the block never contains a literal </script> and a build script can find the block's end at the first </script> after the opening tag.
  • Chat context (no filesystem): the user copies the JSON out (Save > Copy compact JSON) and pastes your replacement back (Save > Replace from JSON). window.bento.loadDoc(json) does the same from the console.

Before touching an existing deck

Installs
4
GitHub Stars
171
First Seen
3 days ago