How huima-pty/papergit2video works
papergit2video is a local agent skill that turns papers or code repositories into narrated explainer videos or interactive pages. The main workflow is source reading, audience-specific script drafting, narration and visual rendering, then export; the README also documents style, language, subtitle, and performance options. The sampled source verifies caption checking and the Kokoro TTS server path. Other rendering and interactive-page details are represented from README descriptions, not inspected implementation, so those links cite the README.
Main entry points: SKILL.md Script drafting · render.sh Diagrams and charts · papergit2video Interactive explainer · espeak-ng TTS launcher
Components 15
Source and script
- Skill workflow
skills/papergit2video/SKILL.md - Source reading
skills/papergit2video/SKILL.md - Script drafting
skills/papergit2video/SKILL.md - Caption checks
skills/papergit2video/scripts/caption_check.py
Narration and visuals
- Narration lines
skills/papergit2video/SKILL.md - Diagrams and charts
skills/papergit2video/scripts/render.sh - Frame rendering
skills/papergit2video/scripts/render.sh - Video export
skills/papergit2video/scripts/render.sh - Interactive explainer
skills/papergit2video
Local runtime
- TTS launcher
skills/papergit2video/bin/espeak-ng - Persistent TTS server
skills/papergit2video/scripts/tts_server.py - Kokoro synthesis
skills/papergit2video/scripts/kokoro_tts.py
Other components
- AI agent
- Paper or code
- MP4 or HTML
Connections 15
- AI agent → Skill workflow: invokes
README.md - Paper or code → Source reading: provides source
README.md - Skill workflow → Source reading: reads
README.md - Source reading → Script drafting: informs
README.md - Script drafting → Caption checks: checks captions
README.md - Script drafting → Narration lines: supplies lines
README.md - Narration lines → TTS launcher: requests speech
README.md - TTS launcher → Persistent TTS server: forwards requests
skills/papergit2video/scripts/tts_server.py - Persistent TTS server → Kokoro synthesis: writes WAV
skills/papergit2video/scripts/tts_server.py - Script drafting → Diagrams and charts: defines scenes
README.md - Diagrams and charts → Frame rendering: draws frames
README.md - Frame rendering → Video export: encodes video
README.md - Video export → MP4 or HTML: exports MP4
README.md - Skill workflow → Interactive explainer: offers alternative
README.md - Interactive explainer → MP4 or HTML: produces page
README.md