Bento, the office suite that fits in a file
TypeScript mit-licenseofficeoffice-365office-suiteoffice-toolsoffice365open-sourcepowerpointself-hostedsingle-page-appslidesslideshareslideshowslideshow-galleryslideshow-makerslideshows
Landing: restore the 'Ways to build it with AI' section into the SOURCE
nyblnetb254d1a8e82e
diff --git a/site-src/landing.html b/site-src/landing.htmlindex 3d7fa671..465d3d12 100644--- a/site-src/landing.html+++ b/site-src/landing.html@@ -243,6 +243,15 @@ section:not(.paper) .lede b { color: #fff; }.card .tick { width: 44px; height: 6px; border-radius: 3px; background: var(--peach); margin-bottom: 16px; }.card h3 { font-size: 16.5px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }.card p { font-size: 14.5px; line-height: 1.6; }+.card ol { margin: 8px 0 0; padding-left: 20px; font-size: 14px; line-height: 1.55; }+.card ol li { margin: 5px 0; }+.card .prompt {+ margin: 11px 0 3px; padding: 11px 13px; border-radius: 10px;+ background: rgba(13, 27, 46, 0.05); border: 1px solid rgba(13, 27, 46, 0.10);+ font-size: 13px; line-height: 1.5; color: #33465e; font-style: italic;+}+.card code { background: rgba(13, 27, 46, 0.07); border-radius: 4px; padding: 1px 5px; font-size: 12.5px; font-family: ui-monospace, Menlo, monospace; }+.card .num { color: var(--peach); font-weight: 800; font-style: normal; }section:not(.paper) .card { background: var(--panel); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35); }section:not(.paper) .card h3 { color: #fff; }section:not(.paper) .card p { color: var(--mist); }@@ -622,15 +631,16 @@ body.kdeck header, body.kdeck footer { display: none; }<div class="kicker rv">Local-first · AI-native</div><hr class="hairline rv" style="max-width:220px"><h2 class="rv">Designed for AI.<br>Entirely optional.</h2>- <p class="lede rv d1">Bento is local-first <b>and</b> built for the AI era. The document is plain JSON sitting openly in the file — so a chatbot round-trips it and an agent harness <b>edits the file directly</b>. That's how the gallery above was made. No converters, no uploads, no .pptx archaeology: <b>orders of magnitude leaner</b> than driving PowerPoint with a bot. Bringing an old deck across? Hand the <b>.pptx</b> to any AI alongside <b>bento.page/agents.md</b> and ask it to rebuild — you get real Bento slides (morph, live charts), <b>re-authored, not lossily imported</b>. And if you never touch AI, nothing here ever will either.</p>+ <p class="lede rv d1">Bento is local-first <b>and</b> built for the AI era. The whole app and its data are one file with plain JSON inside — so you can <b>just drop it into a new chat or project</b> (Cowork, Codex, Gemini…) and it edits the deck, or point a coding agent at it on disk. That's how the gallery above was made. No converters, no uploads, no .pptx archaeology: <b>orders of magnitude leaner</b> than driving PowerPoint with a bot. Bringing an old deck across? Hand the <b>.pptx</b> to any AI alongside <b>bento.page/agents.md</b> and ask it to rebuild — you get real Bento slides (morph, live charts), <b>re-authored, not lossily imported</b>. And if you never touch AI, nothing here ever will either.</p><div class="chips rv d2"><span class="chip"><b>The format is the API</b></span><span class="chip">No binary .pptx to decode</span>- <span class="chip">Agents edit the file in place</span>- <a class="chip" href="/agents.md" style="text-decoration:none"><b>bento.page/agents.md</b> — the recipe for your agent</a><span class="chip">Nothing phones home</span><span class="chip">You choose the AI to use</span></div>+ <p class="rv d2" style="margin-top:22px">+ <a class="btn primary" href="/agents.md" style="text-decoration:none">The agent guide → bento.page/agents.md</a>+ </p></div><div class="codebox rv d1" aria-label="The document format, as it appears inside every file"><span class="c"><!-- inside every .bento.html --></span><script type=<span class="s">"application/bento+json"</span> id=<span class="s">"bento-doc"</span>>@@ -648,6 +658,39 @@ body.kdeck header, body.kdeck footer { display: none; }window.bento.doc <span class="c">// read</span>window.bento.loadDoc(json) <span class="c">// write, undoable</span></div></div>++ <!-- how to actually drive it with AI -->+ <h3 class="rv" style="margin-top:52px;font-size:15px;letter-spacing:.14em;text-transform:uppercase;color:#C25B3F">Ways to build it with AI</h3>+ <div class="cards rv">+ <div class="card">+ <div class="tick"></div>+ <h3>Drop the file in a chat or project</h3>+ <p>The whole app <i>and</i> its data are one <code>.bento.html</code> — so any assistant that takes a file has everything it needs. Attach it in <b>Cowork</b>, <b>Codex</b>, <b>Gemini</b> or a <b>ChatGPT project</b>, say what you want, get the edited file back.</p>+ <div class="prompt">“Here's my deck (<code>Deck.bento.html</code>). Following <b>bento.page/agents.md</b>, add a slide comparing Q3 vs Q4 signups as a bar chart that morphs from the previous slide.”</div>+ </div>+ <div class="card">+ <div class="tick"></div>+ <h3>Let a coding agent edit it on disk</h3>+ <p>Claude Code, Cursor, or your own harness — pointed straight at the file:</p>+ <div class="prompt">“Read <b>bento.page/agents.md</b>, then edit <code>Deck.bento.html</code>: turn the pricing table into a chart and add speaker notes to every slide.”</div>+ <p style="margin-top:10px">It rewrites just the <code>#bento-doc</code> JSON block — the app around it is untouched. No export, no re-import.</p>+ </div>+ <div class="card">+ <div class="tick"></div>+ <h3>Chat-only? Paste the JSON</h3>+ <p>For an assistant with no file support, round-trip the document by hand:</p>+ <ol>+ <li><b>About → Copy document JSON</b></li>+ <li>Paste it into the chat with your ask</li>+ <li><b>About → Replace document from JSON</b> — ⌘Z undoes</li>+ </ol>+ </div>+ <div class="card">+ <div class="tick"></div>+ <h3>The <code>agents.md</code> recipe</h3>+ <p>One page the model reads first. It maps your material to the right feature — numbers → a <b>chart</b>, a comparison → a <b>table</b>, “before/after” → a <b>morph</b>, a drill-down → a <b>state slide</b> — so you get a real deck, not a wall of text. Claude Code users get it as the <b>bento-deck</b> skill.</p>+ </div>+ </div></div></section>