Skip to main content
A playhead moves along a spoken sentence, one tick per word. The slide reacts on exactly the right words.

DeckTalk

Narrated presentations, cut to the word.
You write a markdown script and plain HTML slides. An ElevenLabs voice reads the script. DeckTalk produces one mp4 in which every reveal lands on the word that introduces it.

PyPI ci docs Apache-2.0

It is built for lesson videos, product walkthroughs, and recorded talks. It suits anything you would otherwise re-record every time the script changes.


$ uv tool install decktalk && decktalk setup
$ decktalk init my-lesson && cd my-lesson
$ decktalk build --silent                    # placeholder narration, no key needed
$ cp .env.example .env && decktalk build     # your ElevenLabs voice

The last command writes a finished video to build/out/my-lesson.mp4. The scaffold is a working deck with three HTML scenes and one slot for a clip of your own. Real narration needs an ElevenLabs key and a voice id in .env. Any voice works. A clone of your own voice is the point.

DeckTalk needs Python 3.12 or later. I develop it on macOS, and the test suite runs on Linux, macOS, and Windows in CI. The setup command downloads headless Chromium and ffmpeg once per machine.

Why

A narrated deck is three things that drift apart: what you say, what is on screen, and when each thing appears. Recording tools pin the timing to a timeline, so every edit to the script means re-recording or re-scrubbing.

DeckTalk has no timeline. The narration comes back with a timestamp for every word, so a reveal follows a phrase rather than a second. When you change a sentence, only that section renders again. The script is the edit.

The pipeline began as the machinery behind a hackathon film whose script kept changing until the deadline. This is that machinery, made general.

The nearest tools solve a different problem. Remotion and Motion Canvas time visuals by frame, in code. DeckTalk times them by spoken word, in prose. Descript edits a recording, and DeckTalk never makes one. Synthesia and HeyGen render an avatar, and DeckTalk renders your slides.

How it works

Write a script; your voice reads it with a time for every word; slides reveal on the words in Chromium; ffmpeg cuts one mp4.

A cue names a phrase in the script:

{ "step": "3.1eq", "on": "equation", "offset": 0.2 }

A slide names the cue it waits for:

<div data-cue="3.1eq" data-tex="\frac{d}{dx}\,x^2 = 2x">d/dx x² = 2x</div>

Slides are plain HTML pages that you style yourself. A single file, decktalk-runtime.js, tells a page which step to show and when. You can open a page in a browser to review it, freeze any step, or take a screenshot of every step.

What you get

  • Frame-exact cuts. Each recording carries a visible mark at the moment the narration starts. DeckTalk measures the cut from the frames rather than from a timer.
  • Cached narration. DeckTalk hashes each section by its text and re-synthesizes only the sections that changed.
  • A soundscape. You can add an underscore that ducks under speech, ambience beds, sound effects on cues, and broadcast loudness. Every part of it is optional.
  • Offline drafts. The --silent flag renders the whole film with placeholder narration and estimated word times.
  • Verified output. DeckTalk catches a black or truncated recording before assembly. It stops the build when it cannot find a cue phrase. The verify command proves that each cue changed the picture.
  • Nothing to install by hand. Chromium and ffmpeg arrive through Python packages, and decktalk setup fetches both.

Straight answers

  • What does it cost? A ten-minute narration is roughly 9,000 characters, which fits inside the smallest paid ElevenLabs tier. Because DeckTalk caches sections by text, you pay for the sentences you change rather than for every build.
  • Am I locked into ElevenLabs? It is the only provider today because it returns word timestamps. The provider lives in one file, and anything that returns word times can take its place. The --silent flag needs no provider at all.
  • Why not record the screen? You would record it again after every edit. Here, an edit rebuilds one section in the time it takes to synthesize one sentence.
  • How does the voice sound? It sounds like you, because it is your voice, cloned. Stability, similarity, and speed are settings in decktalk.toml.
  • Do I have to use generated music? No. The soundscape stays off until you configure it, and you can bring your own files.

Docs

The rest lives at docs.decktalk.app: the project file, the page contract, the CLI, configuration, and the Python API. If you want to work on DeckTalk itself, start with CONTRIBUTING.md.

Apache-2.0. Made by Jacob Beaudin.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

decktalk-0.1.0.tar.gz (65.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

decktalk-0.1.0-py3-none-any.whl (81.2 kB view details)

Uploaded Python 3

File details

Details for the file decktalk-0.1.0.tar.gz.

File metadata

  • Download URL: decktalk-0.1.0.tar.gz
  • Upload date:
  • Size: 65.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for decktalk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 589eb5f84f956f454114038567aea8b743f5be5e8dc2430e39d1b3ff3eeb5421
MD5 733687c71f3176e5660660be5d8103a3
BLAKE2b-256 aff1da7f3e0322405fe34b0e45664f9526ee9bfd9aca0aa80a98fce51467418c

See more details on using hashes here.

Provenance

The following attestation bundles were made for decktalk-0.1.0.tar.gz:

Publisher: release.yml on jacobcbeaudin/decktalk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file decktalk-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: decktalk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 81.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for decktalk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 46569d6a1fa24a453f8f7bf2375257005cc3dd0cf323a859122c829f18b8c353
MD5 501ec4977d06002994ddfaa8dd9eecb6
BLAKE2b-256 7433574b2a881c1ea96d5a07ba12eb9d183eedb51e105f9378d4f08a26b0442f

See more details on using hashes here.

Provenance

The following attestation bundles were made for decktalk-0.1.0-py3-none-any.whl:

Publisher: release.yml on jacobcbeaudin/decktalk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page