Chisle
The coding-agent plugin that bills 52% of a bare model across 20 live tasks. Terse persona + tool-output compressor + context diet.
翻訳待ち
Open any .pptx or start from an empty deck, change slides, charts, and tables through typed functions, and save a file that Keynote, Google Slides, LibreOffice Impress and other common presentation ap
翻訳待ち
開発ツールTypeScript · JavaScriptGitHub @office-kitオンライン所有者未確認
Have you tried it? One tap is enough. No sign-in needed.
A JavaScript library for PowerPoint (PPTX) files
翻訳待ち
Loading the full README.
Read the full README ↗Read, edit, and write .pptx (Office Open XML Presentation) files from
TypeScript, in Node.js and the browser, from a single ESM bundle.
Create slides with AI · Documentation · Playground (inspect a deck in your browser) · REPL (write code, watch the deck redraw)
import { loadPresentation, replaceTokensInPresentation, savePresentation } from '@office-kit/pptx';
// A designer makes template.pptx in a presentation app. Your code fills it in.
const pres = await loadPresentation(templateBytes);
replaceTokensInPresentation(pres, { name: 'Alice', event: 'Re:Invent', date: '2026-12-01' });
const out: Uint8Array = await savePresentation(pres);
Status: 0.x, pre-1.0. The capabilities in the scope table are exercised against real PPTX fixtures and validated in CI (see How output is checked). Until 1.0 the public API is not frozen: a breaking change can land in a minor (
0.x) release, so pin a version or an exact range.
Create presentations in TSX with a live browser preview and Claude Code or Codex
beside the slide. Select an area and ask the agent to change it, edit text
directly, and export an editable .pptx file. Changes are saved in the TSX
source; saving a source file also updates the preview.
Requires Node.js 22.18 or later. Create a project and start the preview in one command (macOS/Linux):
npx --yes @office-kit/pptx-dev@latest init my-slides && cd my-slides && npm install && npm run dev
Open the local URL printed by the server. The generated project includes
deck.tsx, individual slides, a shared theme and a CLAUDE.md authoring guide.
For later sessions, run this inside the project:
npx office-pptx dev deck.tsx
npm run dev starts the same preview. To update an existing project's dev tools,
stop the server, then run:
npm install -D @office-kit/pptx-dev@latest
npm run dev
Run npm run check to type-check the deck and npm run build to export
deck.pptx. AI editing uses your locally installed and authenticated Claude Code
or Codex CLI. After edits, changed-slide screenshots are supplied to the agent
for design review; capture requires Chrome or Playwright Chromium.
See the preview and agent setup, selection, text editing and visual review, and TSX element reference. To let Claude Code handle project setup as well, follow the skill installation guide.
OpenXmlValidator gates every CI run. A file that opens in one presentation
app but breaks Keynote is treated as a bug.fs, Buffer, or zlib on
the hot path, and one runtime dependency (fflate, for ZIP).test/tree-shake.test.ts).Emu numbers, so inches and points
cannot be mixed up by accident.PptxGenJS is the established way to
generate a deck in JavaScript, and it is good at that job. The difference is
direction: PptxGenJS writes new files; @office-kit/pptx reads, edits, and
writes. If your deck starts from a template, or from a file a person made,
PptxGenJS cannot open it.
Compared against PptxGenJS 4.0.1:
This is the beginning of the README. Read the rest at the original. Read the full README ↗