Built a 100% browser-local, open-source (MIT) pre-flight QA utility for Amazon KDP publishers, book production studios, and indie authors — zero file uploads, zero external dependencies, works offline as a single HTML file.
THE PROBLEM
Last-minute text edits shift paperback page counts and break spine width math, while unembedded fonts, Type 3 fonts, wrong TrimBox bleed settings, and multi-byte keyword truncation cause costly Amazon KDP rejections right before launch.
WHAT I BUILT (v1.2)
• Byte-level Uint8Array PDF scanner — parses a 95 MB PDF in 413 ms (+0.1 MB heap delta) without decoding binary streams
• Automatic interior PDF page-count & KDP spine sync (Paperback 24–828p & Hardcover Case Laminate 75–550p)
• PDF/X-aware TrimBox priority (with MediaBox fallback), indirect N 0 R reference resolution, /Rotate 90/270 handling, mixed page-size detection, and /Encrypt detection
• Embedded font audit verifying non-zero FontFile / FontFile2 / FontFile3 streams, Type0 CID descendants, and KDP-rejected Type3 fonts
• Interactive 300 DPI cover wrap blueprint (bleed, trim, spine/hinge, safe margin, 2.0" × 1.2" ISBN barcode clear zone) with full 300 DPI PNG proof export
• 7-Keyword strict 50-byte UTF-8 linter (TextEncoder) + balanced KDP HTML tag-stack validator & ~220-char mobile "Read more" fold preview


LIVE LINKS
• Live Tool (1-click Demo): https://velvetjourneys.github.io/kdp-preflight-inspector/?demo=cover
• Open-Source Code (MIT): https://github.com/VelvetJourneys/kdp-preflight-inspector
• Studio Showcase & Pilots: https://destinations.velvetjourneys.online/work-with-me/
• 3-Page Studio Dossier (PDF): https://destinations.velvetjourneys.online/assets/docs/Velvet-Studio-Dossier-2026.pdf
• Live KDP Book Portfolio: https://destinations.velvetjourneys.online/#books
0 likes · 0 views · Dec 5, 2026
Single-file MIT print pre-flight tool: reads interior PDFs (TrimBox, embedded fonts, page count), computes 300 DPI KDP wraps, and checks 50-byte tags.