@igness/ccslide
v0.3.0
Published
Local CLI editor and presenter for self-contained HTML slide decks.
Maintainers
Readme
ccslide
ccslide is a local CLI editor and presenter for self-contained HTML slide decks.
Install
Run without installing:
npx --yes @igness/ccslide deckThis creates deck.src.html if needed and opens it in your browser.
Or install globally:
npm install -g @igness/ccslide
ccslide deckRequirements
- Node.js 20 or newer
- Python 3 (
python3orpython; Windows also supportspy -3) - Claude editing: an Anthropic API key
- Codex or Blaze editing: the corresponding authenticated CLI on
PATH
PDF export also requires Chromium. Install it with the same execution method you use for ccslide:
npx --yes @igness/ccslide install-chromium
# or, after a global install:
ccslide install-chromiumYou may instead set CCSLIDE_CHROME_PATH to a Chrome or Chromium executable.
Usage
ccslide deck
ccslide edit deck.src.html
ccslide present deck.html- Click an element to select it.
- Double-click text to edit it.
- Drag or resize selected elements.
- Use
Cmd+Z(macOS) orCtrl+Z(Windows/Linux) to undo. - Use the arrow keys to change slides.
Animation
CSS animations and transitions in a deck run normally in the browser. To make
an element move smoothly between slides, give the corresponding element on
both slides the same data-ccslide-magic value:
<section class="slide active">
<div data-ccslide-magic="product-card" style="position:absolute;left:80px;top:120px">...</div>
</section>
<section class="slide">
<div data-ccslide-magic="product-card" style="position:absolute;left:720px;top:260px">...</div>
</section>Self-contained HTML built with the bundled runtime animates the matched element's position, size, and visual state during presentation. Each non-empty magic-move value must be unique within one slide. Raw templates, browsers without View Transitions support, and reduced-motion preferences fall back to an immediate slide change. Existing decks and custom user templates are not automatically migrated to the bundled runtime.
Templates
ccslide stores user templates and reference files under:
~/.ccslide/templates
~/.ccslide/referencesOptional branded assets in ~/.ccslide/templates:
logo.svgorlogo.pngcover.png,cover.jpg, orcover.webpdivider.png,divider.jpg, ordivider.webpclosing.png,closing.jpg, orclosing.webp
Environment overrides:
CCSLIDE_TEMPLATE_DIR: template directory containingtemplates/andscripts/build.pyCCSLIDE_ASSET_DIR: directory containing branded assets
License
ccslide is proprietary software. Your content and output remain yours, and the bundled templates may be modified and redistributed. See LICENSE.
