You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[feature] commit-sprout card — export plant as SVG for README badge #27
Backlog PLAN.md §8.10. Export the current plant as an SVG (and stdout ASCII) so people can embed a live-ish plant badge in their README.
Pitch: The green-squares badge is culture. A commit-sprout card subcommand that renders the plant to an SVG file gives users a shareable artifact — screenshot-free, embeddable, on-brand.
Acceptance criteria:
New card cobra subcommand: commit-sprout card [--out plant.svg].
Renders current PlantState to a self-contained SVG (monospace tspans mirroring the ASCII art + stage/streak caption). No external assets.
--out - writes SVG to stdout; default writes plant.svg in cwd (atomic write).
Color path honors the render theme; --no-color yields a mono SVG.
Unit test asserts valid SVG root + expected glyph rows for a known state.
Opened #30 implementing the SVG card export: new commit-sprout card [--out plant.svg] subcommand (--out - streams to stdout, default atomic write), themed color + --no-color mono, unit tests (valid SVG root + glyph rows + color theme), and a README badge section. All builds/tests green.
Activity
rwrife commentedon Jul 16, 2026
Opened #30 implementing the SVG card export: new
commit-sprout card [--out plant.svg]subcommand (--out -streams to stdout, default atomic write), themed color +--no-colormono, unit tests (valid SVG root + glyph rows + color theme), and a README badge section. All builds/tests green.Add card subcommand: export plant as embeddable SVG badge (#27) (#30)