MODULE-COVER-001: full package for external AI consumption - server.js + renderer.js + generate.js + config.js - templates/ (5 templates: xiaohongshu + dynamic + jike + poster + registry) - package.json + README.md + MODULE.hdlp - INDEX.hdlp + SYSTEM.hdlp (HLDP declarations) - Fonts: Noto Sans CJK SC priority (no tofu blocks) - No domain watermark - Updated module-registry.json - Copyright 2026-A-00037559
18 lines
806 B
Markdown
18 lines
806 B
Markdown
# xiaohongshu-cover · MODULE-COVER-001
|
|
IceShuo · Heartbeat Core Channel · Image Generator Toolkit
|
|
HLDP-DOMAIN-FIFTH-001 · Copyright 2026-A-00037559
|
|
## What
|
|
Puppeteer+Chrome Headless cover image generator for Xiaohongshu.
|
|
Pure HTML/CSS. Zero GPU. Zero AI drawing.
|
|
## How External AI Uses This
|
|
Step 0: Learn HLDP dictionary (read HLDP-SPEC-v2.0.md in repo root)
|
|
Step 1: cd xiaohongshu-cover && npm install
|
|
Step 2: PORT=3913 node server.js
|
|
Step 3: curl POST /api/generate with {templateId,title,subtitle,tag,presetId}
|
|
## Params
|
|
templateId=xiaohongshu | title=required | subtitle=pipe-separated | tag=comma-sep | presetId=warm/tech/minimal/rose/green
|
|
## Fonts
|
|
apt install fonts-noto-cjk fonts-wqy-microhei && fc-cache -fv
|
|
## Copyright
|
|
Guanghu Language World · BingShuo TCS-0002inf · ZhuYuan ICE-GL-ZY001
|