Python · fpdf2 · offline
Turn a Markdown outline into a styled PDF ebook and a Gumroad-ready landing page, entirely offline, with one Python command per step.
✓ Real production code · ✓ Drop-in · ✓ Setup guide included · ✓ Single-project commercial use · ✓ 30-day money-back guarantee
Getting fpdf2 to respect custom fonts, produce a clean table of contents, and hand off a cover image without re-encoding it takes longer than the actual writing. This kit has the wiring done.
build_pdf.py reads a book.json manifest and a folder of Markdown files, renders each chapter with headers, body copy, and a cover page, and writes a print-ready PDF.
Drop a cover PNG into the manifest; fpdf2 places it at full bleed on page one without quality loss.
build_landing.py reads a landing.json and outputs a sanitizer-safe, Gumroad-embeddable HTML page in the Unstuck dark/emerald style.
No system font dependency. The same DejaVu Sans family used by the kit ships in fonts/ so the render is identical on any machine.
A four-chapter example book.json with Markdown source files and a pre-rendered example.pdf show the full pipeline before you touch your own content.
requirements.txt, a README with copy-paste commands, and a guided examples/ folder. From clone to a working PDF and landing page in under an hour.
The exact, working implementation, generalised so you drop it into your own project and move on.
Get the kit — €19Instant download · single-project commercial use · ✓ 30-day money-back guarantee