Papermorph

Turns textbooks, stories and ideas into narrated, animated web books, paper-puppet picture books, documentaries and phone-sized shorts.

Video & Audioanimationpicture bookseducationdocumentaryby DozenTwelve1.2kGitHub

What it is

A production kit for teachers, writers and creators who want to turn material into animated, narrated pieces that play in a web browser. It makes three kinds of book. Lessons come from a textbook PDF, each chapter a short film with quick checks and practice inside the picture. Picture books come from a story, a joke or a fairy tale, acted by paper puppets in front of sets. Films are narrated documentaries built from public-domain pictures and maps, or upright shorts under three minutes for YouTube Shorts, TikTok or Reels.

Instead of one long prompt, it runs a production process. A short click-through conversation records your words about the look, the voices and which AI model handles which step in a style file that every chapter follows. You approve one pilot chapter before the rest are made, often by a team of helper agents. About forty bundled Python scripts handle narration with word timing, loudness levelling, sound effects, music cutting, public-domain picture search with licences, screenshots, and checks in Chromium and Firefox for errors and stutter. A fresh director agent reviews each cut.

The result is a static folder of HTML, scripts and MP3 files you can preview locally and host anywhere, plus optional 1080p MP4 and subtitle exports. Default voices come from Microsoft's free online Edge text-to-speech, or Kokoro offline; painted pictures, ElevenLabs voices and video clips are paid steps through OpenRouter that you choose. The player interface has English, Russian, Chinese, Japanese and Arabic built in. It is technical underneath, a full book uses many AI calls, and putting it online is a separate job.

What it can do

  • Turns a textbook PDF into animated lesson chapters with narration, in-picture questions and practice.
  • Makes picture-book films of paper puppets with several character voices, sound effects and music.
  • Builds narrated documentaries from public-domain pictures, recordings and maps, recording each licence.
  • Cuts upright shorts under three minutes that make a single point, sized for phone feeds.
  • Times every animation to the spoken word and adds captions, using free Edge or Kokoro voices.
  • Checks each chapter for page errors, stutter, empty moments and audio levels in two browsers.
  • Exports chapters to MP4 with an SRT subtitle file for uploading.

When to use it

  • You teach physics and want each textbook chapter as a short animated lesson students can replay.
  • You wrote a children's story and want it as a narrated paper-puppet film to share with family.
  • You run a book channel and want a documentary-style video about a classic book using only public-domain images.
  • You have one argument to make and want a series of YouTube Shorts that each make one point.

How it works

  1. 1Asks a few click-to-answer questions about the source, look, voices and which models do which steps, and saves the answers in a style file.
  2. 2Starts a book folder with its starter script, which copies in the player engine and downloads it from GitHub if needed.
  3. 3Writes the narration and storyboard, generates voices with word timings, and animates each beat on an SVG stage (SVG is a vector image format).
  4. 4Runs its checking scripts and a fresh reviewer, fixes problems, and shows you the pilot chapter for approval.
  5. 5Makes the remaining chapters, alone or with helper agents, and delivers the static book with a local preview command and optional MP4 export.

Try asking

“Turn this algebra textbook PDF into an animated lesson book, starting with chapter 1.”
“Make a picture book of Little Red Riding Hood with paper puppets.”
“Make a narrated documentary about Thoreau's Walden.”
“Make a YouTube Short about why we procrastinate.”

How to install

Install with the skills CLI (recommended)

Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.

npm
npx skills add https://github.com/DozenTwelve/Papermorph/tree/main/.claude/skills/papermorph
pnpm
pnpm dlx skills add https://github.com/DozenTwelve/Papermorph/tree/main/.claude/skills/papermorph

Install manually

Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the papermorph folder and upload it in the Skills section of Settings.

Terminal
git clone --depth 1 https://github.com/DozenTwelve/Papermorph.git
mkdir -p ~/.claude/skills
cp -r Papermorph/.claude/skills/papermorph ~/.claude/skills/papermorph

Then just ask in plain language, for example: “Turn this algebra textbook PDF into an animated lesson book, starting with chapter 1.”