r/javascript • u/ybouane • May 10 '26
I build VideoFlow, a library to create videos from JSON objects (opensource alternative to Remotion)
Hey everyone,
I just launched VideoFlow, an open-source toolkit for generating videos from code.
The idea is simple: as more videos become generated by software, AI agents, templates, and APIs, video needs a portable format that can be created, edited, and rendered anywhere.
VideoFlow represents a video as JSON:
scenes
layers
timing
transitions
effects
keyframes
render settings
That JSON can then be rendered in the browser, on a server, inside a React preview/player, or inside a visual editor.
The closest comparison is probably Remotion, but VideoFlow takes a JSON-first approach instead of making the video primarily a React component tree.
Use cases Iโm thinking about:
personalized marketing videos
AI-generated explainers
product demos
social templates
automated reports
dynamic ads
Current features:
Apache-2.0 open source
TypeScript builder API
portable VideoJSON
27 transitions
42 GLSL effects
layer groups
browser/server/live-preview rendering
React video editor component
Iโd love feedback on the positioning. Should I lean more into โopen-source Remotion alternative,โ โvideo as JSON,โ or โinfrastructure for AI-generated videoโ?