dsh-market-card

Turns a repository's README.md and docs/*.png into a publishable market card: bilingual title and tagline, install command, a screenshot wall, capabilities, and an explicit limitations section — as self-contained HTML, a 2400px 2x PNG, a paste-ready card.md, and provenance-rich card.json. It refuses to invent copy: missing English goes into a missing-fields list, --strict exits 2, and a normal run stamps DRAFT. PNG rendering uses the local Chrome or Edge headlessly; without one the HTML is still written and the CLI exits 3. 48 node --test tests, zero runtime dependencies.

Overview

Turns a repository's README.md and docs/*.png into a publishable market card: bilingual title and tagline, install command, a screenshot wall, capabilities, and an explicit limitations section — as self-contained HTML, a 2400px 2x PNG, a paste-ready card.md, and provenance-rich card.json. It refuses to invent copy: missing English goes into a missing-fields list, --strict exits 2, and a normal run stamps DRAFT. PNG rendering uses the local Chrome or Edge headlessly; without one the HTML is still written and the CLI exits 3. 48 node --test tests, zero runtime dependencies.

Installation

Install from GitHub

dsh plugin --profile web add github:dingchenhui0618-arch/dsh-market-card

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.