@renderify/cli
v0.6.0
Published
A CLI for Renderify
Maintainers
Readme
@renderify/cli
CLI utilities for Renderify.
@renderify/cli is the fastest way to run prompts, inspect generated RuntimePlan JSON, probe plan dependencies, execute plan files, and open the browser playground.
Install
pnpm add -D @renderify/cli
# or
npm i -D @renderify/cliRun directly from your project:
npx renderify helpCommands
renderify run <prompt> # Render prompt and print HTML
renderify plan <prompt> # Print RuntimePlan JSON
renderify probe-plan <file> # Probe plan dependencies and policy compatibility
renderify render-plan <file> # Execute RuntimePlan JSON file and print HTML
renderify playground [port] [--debug] [--no-llm-log] # Start browser playground serverQuick Start
# Generate and render HTML from a prompt
renderify run "build a KPI dashboard with a chart"
# Generate RuntimePlan JSON
renderify plan "build a todo app"
# Probe and execute a local plan file
renderify probe-plan ./examples/runtime/recharts-dashboard-plan.json
renderify render-plan ./examples/runtime/recharts-dashboard-plan.jsonUseful Environment Variables
RENDERIFY_LLM_API_KEYRENDERIFY_LLM_PROVIDER(openai,anthropic,google)RENDERIFY_LLM_MODELRENDERIFY_LLM_BASE_URLRENDERIFY_LLM_MAX_RETRIES(e.g.0for single-attempt HTTP calls)RENDERIFY_LLM_STRUCTURED_RETRY(true,false)RENDERIFY_LLM_STRUCTURED_FALLBACK_TEXT(true,false)RENDERIFY_SECURITY_PROFILE(strict,balanced,relaxed)RENDERIFY_PLAYGROUND_DEBUG(1,true,yes,on)RENDERIFY_PLAYGROUND_LLM_LOG(true,false, defaulttrue)
Playground prints outbound LLM request/response payload logs to terminal by default ([playground-llm]) with sensitive values redacted.
When debug mode is enabled, playground also prints key inbound/outbound request summaries, exposes /api/debug/stats, and renders an in-page Debug Stats panel with manual/auto refresh.
See ../../docs/getting-started.md and ../../docs/security.md for runtime and policy options.
Notes
- Node.js
>=22is required. - The CLI composes
@renderify/core,@renderify/runtime,@renderify/security,@renderify/llm, and@renderify/ir.
