nexu-io/html-video
An open-source library that takes HTML, CSS, and data as input and spits out actual MP4 files on your local machine. The angle that earns the pick: most programmatic video tools are cloud APIs that charge per render and lock you into their template system. This one runs locally, is Apache-2.0 licensed, and exposes a pluggable render engine so you can swap out the renderer without rewriting your pipeline. The 21 included templates cover the obvious use cases — data visualizations, social clips, code walkthroughs — and the AI soundtrack layer is a nice addition for anyone shipping video content at scale. Where it gets genuinely interesting is in the coding-agent context: if you are building an agent that needs to produce video artifacts as part of its output, this is one of the few libraries designed with that workflow in mind rather than retrofitted to it. Honest reservation: the template system will hit its limits fast for bespoke output. -> Best for: AI engineer or indie hacker building automated content pipelines or agent-generated video artifacts.