LATEST TRANSMISSIONS

ENCRYPTED // PUBLIC KEY DETECTED

FILTER: TAG [Puppeteer]
ONLINE
// Z.SHINCHVEN

Setting Up a Server to Convert Webpages into PDFs with WEB2PDF

In this blog post, we will walk you through the process of setting up a server using the WEB2PDF project which leverages Docker and Puppeteer for converting webpages into PDFs.

// Z.SHINCHVEN

Dockerized Puppeteer PDF Printer

Puppeteer provides solution to print PDF from web page. However, it requires a lot of dependencies to be installed. This post shows how to build a Docker image to run Puppeteer to print or generate PD…

// Z.SHINCHVEN

React Web Page as a PDF Template: Pagination, Headers, Footers and More

A web page can be printed to PDF file with browser or puppeteer, so it is quite possible to create a PDF template with React. CSS Print Media Query The first thing you need to know is that CSS has a s…

// Z.SHINCHVEN

PUPPETEER_DOWNLOAD_HOST

puppeteer 是一个 NodeJS 的 Chrome headless API,安装的时候会 bundle 一个Chromium。如果你很不幸身在大中华局域网内,可能无法顺利下载Chromium。 所幸官方提供了环境变量配置,可以设置一个镜像地址来下载Chromium。 配置文件中添加变量 PUPPETEER_DOWNLOAD_HOST=https://storage.googleapis.…