I’ve open-sourced a small web app called Image to PDF.
It converts one or multiple images into PDF documents entirely in the browser. There is no backend, no file uploads, and no persistence. All processing is done client-side using jsPDF and HTML canvas.
Key details:
Single-page and multi-page PDF generation
Configurable orientation, paper size (Letter, A4, Legal, Tabloid), and margins
Aspect ratio preserved, images centered with margins
Live preview of layout before export
Built with Next.js (App Router), React, Tailwind CSS
The goal was to build a simple, privacy-friendly utility and keep the architecture straightforward and inspectable.
Source code: https://github.com/ivanglpz/v0-image-pdf
Live demo: https://imgs-pdf.vercel.app/
Feedback, critiques, and questions are welcome.