pressready

v0.1.0
io.github.ridhwaan-ai/pressready Checked 1 day ago Published 1 month ago

Turn 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"}.

ParameterTypeDescription
cover_image *string
manuscript_dir *string
back_textstring
keywords
out_dirstring
paperstring
trimstring

spine_width

Compute KDP paperback spine width in inches for a page count and paper type (white or cream).

ParameterTypeDescription
pages *integer
paperstring

list_trim_sizes

List supported print trim sizes (inches).