Python · fpdf2 · offline

Gumroad Product + Landing Generator

Turn a Markdown outline into a styled PDF ebook and a Gumroad-ready landing page, entirely offline, with one Python command per step.

Get the kit — €19 Instant download

✓ Real production code  ·  ✓ Drop-in  ·  ✓ Setup guide included  ·  ✓ Single-project commercial use  ·  ✓ 30-day money-back guarantee

Gumroad Product + Landing Generator cover

What it generates

A styled product PDF generated from markdown
A styled product PDF from your markdown chapters
A converting landing page generated from one config
A converting landing page, generated from one JSON config

The part that stalls every first launch.

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.

What you get

PDF from Markdown chapters

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.

Cover image baked in

Drop a cover PNG into the manifest; fpdf2 places it at full bleed on page one without quality loss.

Landing page generator

build_landing.py reads a landing.json and outputs a sanitizer-safe, Gumroad-embeddable HTML page in the Unstuck dark/emerald style.

Bundled DejaVu fonts

No system font dependency. The same DejaVu Sans family used by the kit ships in fonts/ so the render is identical on any machine.

Example book included

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.

One-afternoon setup

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.

From the writeup, packaged · just €19

Skip the rabbit hole. Ship it.

The exact, working implementation, generalised so you drop it into your own project and move on.

Get the kit — €19

Instant download · single-project commercial use  ·  ✓ 30-day money-back guarantee