html-marketing
v1.0.1
Published
Write HTML. Render store and social creatives. Studio card. Built for agents.
Maintainers
Readme
html-marketing turns HTML into pixel-exact App Store, Play Store, Chrome Web Store, and social images, plus short MP4s. Author on a fixed canvas. Preview in the browser. Export locally with Playwright and FFmpeg.
Same production loop as Hyperframes: plan, write valid HTML, lint, preview, render. Sizes and Phosphor icons are looked up, not invented. No PowerShell. macOS, Linux, and Windows.
Quick start
With an AI coding agent
npx html-marketing skills update
npx skills add nicholasxdavis/html-marketing --full-depth/html-marketing is the router. It installs each creation workflow on demand.
npx html-marketing skills update store-listingUsing
/html-marketing, create a Chrome Web Store screenshot set for a local tab search extension. Style Studio. Remake the popup from source. Five beats: hook, mechanism, differentiator, benefit, trust.
Manually with the CLI
npm install -g html-marketing
npx playwright install chromium
npx html-marketing init my-listing --non-interactive
cd my-listing
npx html-marketing preview
npx html-marketing renderRequirements: Node.js 22+, FFmpeg (for video)
Skills
Read /html-marketing first.
| Skill | Use when |
|-------|----------|
| /html-marketing | Any request to make, edit, or render marketing creatives |
| /store-listing | 5-frame screenshot set for Chrome, App Store, or Play |
| /promo-graphics | Promo tile, marquee, Play feature graphic |
| /social-post | Instagram, Facebook, Reddit, X, YouTube thumb, PFP, OG |
| /motion-sting | Short unnarrated MP4, typically under 10s |
| /product-launch-set | Full campaign from a brief or URL |
Domain skills (installed with core): /html-marketing-core, -creative, -device, -prompts, -cli.
CLI
npx html-marketing doctor
npx html-marketing sizes youtube
npx html-marketing specs icons
npx html-marketing lint
npx html-marketing check
npx html-marketing preview
npx html-marketing render
npx html-marketing render path.html -o out.png --preset cws-screenshot
npx html-marketing video path.html -o out.mp4 --duration 4 --fps 30
npx html-marketing prompts studio
npx html-marketing skills update store-listingrender with no file reads manifest.yaml.
Examples
Demo campaign (Northline). Studio card. Remade command UI. No Harbor split.
Authoring rules
- Look up the size.
npx html-marketing sizes <platform-or-id>. - Paste
prompts/styles/studio.mdunless BRIEF names another style. bodyand.canvasmatch the preset. Studio card. Remade UI at native width.- Promo tiles: brand color + type. No remade UI.
- Phosphor Regular for icons. No emoji. No em dashes.
- Video implements
window.__hm.seek(t). lintandcheckmust pass beforerender. Then RSI the PNGs.
License
MIT.
