etsy-listing-generator
Etsy Listing Image Generator
Generate professional Etsy listing images from HTML templates via Playwright screenshot rendering.
Quick Start — Single Image
node scripts/render.mjs <template> <image-url> <title> <subtitle> <badge> <output>
Example:
node scripts/render.mjs \
assets/puppet-listing.html \
"http://localhost:3021/api/output/moses-characters.png" \
"Bible Story Puppet Printables" \
"Moses & The Exodus" \
"12 ELEMENTS + 4 BACKGROUNDS" \
output/moses-listing.png
Quick Start — Batch
Create a JSON file with an array of objects:
[
{ "file": "http://localhost:3021/api/output/moses-characters.png", "subtitle": "Moses & The Exodus" },
{ "file": "http://localhost:3021/api/output/david-characters.png", "subtitle": "David & Goliath" }
]
Run:
node scripts/render.mjs --batch assets/puppet-listing.html stories.json output/listings/
Batch JSON Fields
| Field | Required | Default | Description |
|---|---|---|---|
file / image / url |
Yes | — | Product image URL (HTTP or file://) |
title |
No | "Bible Story Puppet Printables" | Large top text on banner |
subtitle / name |
No | — | Smaller bottom text on banner |
badge |
No | "12 ELEMENTS + 4 BACKGROUNDS" | Left badge text |
output |
No | Auto from subtitle | Output filename |
Template Placeholders
Templates are plain HTML files. The renderer replaces these strings:
PRODUCT_IMAGE_URL→ product/character imageTITLE_TEXT→ large banner textSUBTITLE_TEXT→ smaller banner textBADGE_LEFT_TEXT→ left pill badgeINSTANT DOWNLOAD→ right badge (hardcoded, edit HTML to change)
Template Design — Current Base (puppet-listing.html)
- 1400×2000px portrait format
- White background, sage green (#4D6840) bottom banner
- Gold pill badges (top-left: custom, top-right: INSTANT DOWNLOAD)
- Poppins font throughout
- Product image uses
object-fit: cover; object-position: center center - Subtle TheSunDaisy watermark
Creating New Templates
Copy assets/puppet-listing.html and modify. Key CSS to adjust:
.canvaswidth/height — canvas dimensions.bannerheight — green section size.product-areatop/bottom — image boundaries.badgestyling — pill badge appearance.title/.subtitle— typography
Keep the placeholder strings (PRODUCT_IMAGE_URL, etc.) for the renderer to replace.
Serving Local Images
If product images are local files, either:
- Serve via Image Forge backend: copy to
/projects/image-forge/output/→ accessible athttp://localhost:3021/api/output/filename.png - Use
file://URLs (must be absolute paths) - Start any local HTTP server in the image directory
Dependencies
- Node.js
- Playwright (
npx playwright install chromiumif not installed)
More from mmcmedia/openclaw-agents
etsy-keyword-research
Deep Etsy keyword research for digital products. Use when researching keywords for Etsy listings, finding profitable niches, analyzing search volume and competition, or optimizing listing tags. Produces actionable keyword lists with search volume estimates, competition scores, and strategic recommendations.
85etsy-expert
Etsy shop optimization expert (Bailey from Bailey Design Co style) specializing in digital products, listing optimization, mockups, pricing strategy, and ROAS tracking for creative entrepreneurs.
76etsy-listing-analyzer
Analyze Etsy competitor listings to understand success factors. Use when reverse-engineering top sellers, understanding what images/descriptions work, analyzing pricing strategies, or finding gaps in competitor listings. Uses visual analysis of listing images and detailed review of copy/structure.
68shorts-creator
Create vertical 9:16 video clips from full music videos for Instagram Reels, TikTok, and YouTube Shorts. Takes full-length music video and extracts key moments, re-frames for mobile, and optimizes for social platforms. Use when creating short-form social content from PsalMix music videos or any video content.
64chief-of-ai
Chief of AI who researches new AI/tech developments, recommends tools, automation opportunities, and strategies to stay on the cutting edge. Monitors AI news, evaluates new tools, and identifies leverage points.
51ga4-analytics
Google Analytics 4, Search Console, and Indexing API toolkit. Analyze website traffic, page performance, user demographics, real-time visitors, search queries, and SEO metrics. Use when the user asks to: check site traffic, analyze page views, see traffic sources, view user demographics, get real-time visitor data, check search console queries, analyze SEO performance, request URL re-indexing, inspect index status, compare date ranges, check bounce rates, view conversion data, or get e-commerce revenue. Requires a Google Cloud service account with GA4 and Search Console access.
39