yamlreel

Write a short YAML file. Get a finished video.

An open-source project by Nitin Sijwali (@nsijwali)

Featured on Noonlaunch A diagram building itself: a YAML spec and VoiceStudio feed yamlreel, which hands frames and audio to ffmpeg to produce the video
Watch the 1-minute demo GitHub PyPI

yamlreel turns a YAML file into a finished video: system-design explainers, code tips, project launches and feature demos for YouTube Shorts, YouTube and LinkedIn. It draws animated diagrams and typed code, generates original background music, and adds an optional voiceover in your own cloned voice, all on your own machine.

Install

pip install "yamlreel[ffmpeg]"
yamlreel init system-design my-video.yaml
yamlreel render my-video.yaml --preview

What you get from one file

A video is a list of scenes

theme: midnight
formats: [vertical, landscape]
scenes:
  - type: type
    text: What is a cache stampede?
    narration: Ever seen one expired cache key take down a whole database?
  - type: bullets
    title: The fix
    items: [Let one request rebuild the key, Serve stale while it refreshes, Add jitter to every TTL]
  - type: stat
    value: "10,000 → 1"
    label: database queries per expiry
Every scene of the cache-stampede example video: a typed hook, a cache diagram, bullet lists, highlighted code, a big stat and an end card