# pdfy Convert web articles to PDF using the [Reader View](https://chromewebstore.google.com/detail/reader-view/ecabifbgmdmgdllomnfinbmaellmclnh) Chrome extension and headless Chrome (Puppeteer). ## Features - Extracts article content via Mozilla Readability - Renders using Reader View for clean typography - Supports all Reader View themes: `light`, `dark`, `sepia`, `groove-dark`, `solarized-light`, `solarized-dark`, `nord-light`, `nord-dark` - Custom CSS injection - Syntax highlighting via highlight.js (configurable style) - Automatic reading time estimation - Configurable extension preferences ## Installation ```bash npm install ``` The Reader View extension is downloaded and extracted automatically on first run. ## CLI Usage ```bash node src/index.js --help ``` ```bash Usage: pdfy [options] Arguments: url URL of the article to convert, or path to a local HTML file Options: -t, --theme Reader View theme (light, dark, sepia, groove-dark, solarized-light, solarized-dark, nord-light, nord-dark) --highlight-style