About this project

lolly-cli is a headless shell implementation that renders tools from the lolly catalogue to files. It is designed as a host-agnostic transport layer, ensuring that the CLI and GUI share the same input logic (treating CLI arguments as URL parameters) to prevent feature drift. Key capabilities include: - Tool Execution: Render specific tools from the catalogue using command-line arguments. - Batch Processing: Support for multi-row runs via CSV or JSON inputs. - Validation: A built-in verifier for Content Credentials, including neural pixel-watermark scanning. - Output Management: Support for various export formats (SVG, PNG, PDF, etc.) with strict format sniffing to ensure output integrity. - Environment Control: Capability to manage state via a dedicated state directory and handle signing identities for Content Credentials using PEM keys and certificates. - Rasterization Tiers: Tier A uses resvg for SVG-native PNGs, while Tier B utilizes a scoped Chromium instance for complex HTML-layout rasterization and video. The tool is integrated as a submodule within the larger lolly umbrella repository and leverages Node.js for direct TypeScript execution without a separate build step.