What problem does it solve?
Provides a structured, repeatable way to create, render, and optionally upload high-quality diagrams into Feishu (Lark) whiteboards, eliminating manual drawing and ad-hoc positioning errors for architecture diagrams, charts, and other visual assets.
Core Features & Use Cases
- Dual rendering paths: support Mermaid text for auto-layout diagrams and a precise DSL + JSON path for fully controlled layouts.
- Scripted generation for precision: templates and Node.js script patterns for fishbone, flywheel, funnel, treemap, pyramid and chart coordinate calculations to avoid overlaps and ensure visual correctness.
- Safe upload workflow: commands and mandatory dry-run checks before overwriting an existing Feishu whiteboard token; supports token extraction from docs and user-confirmed overwrite behavior.
- Use case: convert a design spec into a DSL JSON, render to PNG with the whiteboard CLI, validate visually, and upload to a Feishu doc after obtaining user consent for overwrites.
Quick Start
Create a DSL or Mermaid source, render it to PNG using the whiteboard CLI, run a dry-run upload to inspect changes, and only upload to the target Feishu whiteboard token after the user confirms overwrite.