Repository navigation
Releases: anmutu/kdp-helper
Release list
v0.2.0 — 新手引导 · 官网 · 使用手册
v0.2.0 focuses on making the tool teachable: an in-app onboarding guide, an official website, and a full user manual. No breaking changes — git pull && npm install to upgrade.
新手引导 Onboarding
- 做一本书 · 新手引导任务卡:六项任务(核对规格 / 写好每一页 / 连接生图服务·可选 / 挑选插画 / 完成封面 / 导出草稿),完成状态从书本、服务配置与导出历史自动推导,实时进度条;每项附「为什么这一步存在」——包括为什么需要 API 地址与 Key、没有 Key 怎么办。点击直达对应步骤,可收起并从侧栏唤回。
- 四个阶段的「为什么是这一步」导语:规格先行 / 付费拦截 / 封面随页数联动 / 屏幕≠印刷,各 2–3 句讲透因果。
- 情境提示:设置弹窗开场解释 Key 的作用与可跳过性;候选区空状态给出无 Key 的两条路径。
官网 Website
- 双语官网上线并随仓库自动部署:https://anmutu.github.io/kdp-helper/
- 「打开工作台」按钮:探测本机服务运行状态,运行中一键直达
127.0.0.1:3210,未运行引导三步启动(含兜底直开链接) - 四张真实运行界面截图(规格/候选/封面/导出四阶段)进入官网与 README
手册 Manual
- 《使用手册》十二章:安装启动、四步骤每项控件的作用与设计原由、费用护栏机制、备份恢复、模型设置、上传 KDP 流程、FAQ 与安全边界——
docs/user-guide.md(在线)与 Word 版docs/用户手册-KDP-Helper.docx(打印/转发)
其他
- macOS 双击启动器
启动绘本工坊.command入库:clone 后双击即可启动并打开浏览器 - 测试 108 → 116 项(新增引导状态推导等用例),CI / 部署工作流全绿
English summary: v0.2.0 adds an in-app onboarding checklist (six auto-tracked tasks, each with a "why this step exists" note — including what the API URL/Key are for and the no-key import path), collapsible per-stage explainers, a bilingual auto-deployed website with a local-detection "Open the workbench" button, real UI screenshots, a twelve-chapter user manual (Markdown + Word), and a macOS double-click launcher. Not affiliated with Amazon; KDP is a trademark of Amazon.com, Inc.
v0.1.0 — first public release
First public release of KDP Helper (绘本工坊) — a local-first, MIT-licensed workbench for making print-ready children's picture books for Amazon KDP.
Highlights
- Spec-first print setup — trim (8.25×8.25 / 8.5×8.5 / 8×10 / 8.5×11), black & white (white/cream paper), standard & premium color, with/without bleed. Page ranges, spine width, bleed geometry, gutter tiers and 300-DPI pixel minimums all come from official KDP documentation with source links and checked dates (
src/domain/print-spec.ts). - Illustration pipeline with money guardrails — call your own image API (OpenAI-compatible) or import your own art; paid calls are refused when requested pixels can't print, batches pause on low-res results, uncertain requests never auto-retry (persistent operation IDs prevent double billing).
- Candidate compare & pick — zoom-in lightbox with source/prompt/model provenance, 2–3 image side-by-side compare, per-page re-generation.
- Layout & cover — two page templates, font size & print-safe text colors, zoom/crop with live effective-DPI, spread preview, wraparound cover (back + spine + front) computed from final page count, reuse an interior illustration as cover.
- Validated export — real
interior.pdf+cover.pdf+upload-notes.txt; odd page counts, missing glyphs, text overflow, sub-300-DPI images and placeholder text block production export (watermarked drafts always available). Embedded CJK font (OFL), CMYK-flattened images, B&W interiors export grayscale. - Costs & royalty — US printing-cost estimate per ink/paper tier and royalty estimate including the $9.98/$9.99 (50%→60%) rate breakpoint.
- Local & private — no accounts, no cloud, no telemetry; API key stays in a local file; 127.0.0.1 only. Works fully offline with imported images.
Verification
115 offline tests (print rules, jobs, store, real PDF files, offline route-to-file flow) + typecheck + lint + build, green in CI (Node 24).
Known limits
- UI is Chinese-first; README has a full English section; i18n is on the roadmap.
- Rules checked against the US marketplace (amazon.com); always re-verify against current official KDP docs before printing.
- Not affiliated with Amazon. KDP is a trademark of Amazon.com, Inc.
代码 MIT,内置 Noto Sans CJK 字体遵循 OFL。首个公开版本,欢迎 issue 与 PR。