pressready
v0.1.0Turn Markdown chapters into KDP-ready EPUB, print interior PDF and wrap cover PDF.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
build_book
Build a Kindle EPUB, print interior PDF, full-wrap cover PDF and KDP upload checklist. manuscript_dir: folder containing book.json and Markdown chapters. cover_image: path to the front cover image (PNG/JPG). trim: one of 5x8, 5.5x8.5, 6x9, 8.5x11. paper: white or cream. Returns {"ok": true, ...checklist} or {"ok": false, "error": "what to fix"}.
| Parameter | Type | Description |
|---|---|---|
cover_image * | string | |
manuscript_dir * | string | |
back_text | string | |
keywords | ||
out_dir | string | |
paper | string | |
trim | string |
spine_width
Compute KDP paperback spine width in inches for a page count and paper type (white or cream).
| Parameter | Type | Description |
|---|---|---|
pages * | integer | |
paper | string |
list_trim_sizes
List supported print trim sizes (inches).