GraPDFGraPDF

Merge all PDFs from any webpage into one booklet.

Paste a URL containing PDF links, configure your options, and download a merged PDF in seconds.

Also available as a CLI

Install

npm install -g grapdf

Usage

grapdf <url> [output]

--sort Sort PDFs alphabetically by URL

--reverse Reverse the order before merging

--limit n Maximum number of PDFs to include

--selector css CSS selector to scope link search

--include regex Include only matching PDF URLs

--exclude regex Exclude matching PDF URLs

--trim pts Crop all four sides by N points

--dry-run Preview PDF URLs without downloading

Scrapes all PDFs

Finds every linked PDF on any static or server-rendered webpage and merges them in order.

Smart filtering

Sort, limit, and filter PDFs by URL regex or CSS scope before merging into a single booklet.

CLI + library

Use from the terminal or import buildBooklet directly in your Node.js project.