ruliad-renderer
v0.1.0
Published
Deterministic renderer and review package generator for Ruliad render plans.
Maintainers
Readme
Ruliad Renderer
Isolated renderer service for the public Ruliad launch stack.
This renderer speaks the same contract the MCP server expects:
POST /renderGET /render/{jobId}GET /artifacts/{jobId}/artifact.jsonGET /artifacts/{jobId}/preview.html
Current implementation:
- accepts
timelineSpecfrom the MCP server - consumes
timelineSpec.assemblyTemplateandtimelineSpec.renderPlanwhen present - compiles a deterministic commerce end-card render artifact
- writes an isolated artifact bundle under
.renders/ - serves a human-readable HTML preview plus the structured JSON artifact
- emits a richer review package with
package.html,endcard.svg, andstoryboard.svg - can be managed from the CLI
Run flow:
npm run buildnpm start
Default port: 8788
CLI:
node cli.mjs health --base-url http://localhost:8788node cli.mjs demo-payloadnode cli.mjs render --base-url http://localhost:8788 --file ./payload.jsonnode cli.mjs status --base-url http://localhost:8788 --job-id render_123node cli.mjs artifact --url http://localhost:8788/artifacts/render_123/artifact.json
Promotion surface:
- install CTA:
npx ruliad-renderer@latest help - action CTA:
npx ruliad-renderer@latest demo-payload - docs CTA: this README plus the MCP public contract
- immediate output CTA: render and open
package.html
Recommended public install path:
npx ruliad-renderer@latest helpIntegration:
- point
RULIAD_RENDERER_BASE_URLinruliad-mcp-servertohttp://localhost:8788 - call
export_videothrough MCP - the MCP export flow will create a live render job and return the artifact preview URL
