
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
@leclap/cli
Advanced tools
LeClap CLI — compile videos from JSON templates with ffmpeg-video-composer
The LeClap command-line tool — the human-facing way to scaffold a video project and render it
locally on the ffmpeg-video-composer engine. You
write a JSON template.json, drop media in assets/, and render it to an mp4. init exists to take a
new user from nothing to a first render in one command.
pnpm dlx @leclap/cli init my-video # scaffold a starter project (prompts for MCP + Remotion)
cd my-video
pnpm install
pnpm render # runs the scaffolded `leclap render template.json` script
leclap init [name] # scaffold a starter project (template.json + assets/ + README + scripts)
leclap render <template> # compile a video from a template JSON
leclap diagnose # check your FFmpeg setup
leclap --help # usage (per-command help with `leclap <command> --help`)
leclap --version
leclap <template.json> is a shorthand for leclap render <template.json>.
render reads assets from <cwd>/assets and writes output under <cwd>/build.
init — scaffold a projectinit writes a minimal, immediately-renderable project: a no-external-media template.json (so the
first render just works), package.json, README.md, and assets/. It then prompts whether to
also set up:
.mcp.json wiring @leclap/mcp
so an AI agent can author + render in this project (see below);remotion/ project (an Intro
composition) for animated intros, plus the deps the MCP needs to render it.Skip the prompts with flags (handy for scripts / CI — prompts also auto-default in a non-TTY):
leclap init my-video --yes # accept all defaults (MCP + Remotion)
leclap init my-video --no-mcp --no-remotion # bare CLI-render starter only
leclap init my-video --mcp --no-remotion # MCP wiring, no Remotion
@leclap/mcpThe CLI and the MCP are two front-ends to the same engine:
@leclap/cli — the manual/human path. Scaffold + render template.json on disk yourself.@leclap/mcp — the agent path. An AI agent authors, validates, and renders the
same descriptors over MCP, inside your own project. A template.json from leclap init is equally
usable by the MCP's compose_video.Animated intros are bring-your-own Remotion: the MCP's render_remotion_clip renders a composition
from your Remotion project (the remotion/ starter, when you opt in) to a clip, which compose_video
composites in front of your scenes. Remotion is optional and design-time only (headless Chromium); the
CLI itself never needs it.
The generated
.mcp.jsonuses absolute env paths (this machine). Regenerate or edit them if you move the project.
The engine resolves FFmpeg in this order: system FFmpeg (fastest) → ffmpeg-static → @ffmpeg/ffmpeg
(WASM). Run leclap diagnose to see what your environment provides.
pnpm build:exe produces self-contained executables (Windows / macOS / Linux) under dist/bin via
@yao-pkg/pkg.
FAQs
LeClap CLI — compile videos from JSON templates with ffmpeg-video-composer
The npm package @leclap/cli receives a total of 15 weekly downloads. As such, @leclap/cli popularity was classified as not popular.
We found that @leclap/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.