Generating PDFs in Rails with Puppeteer (Grover) and resolving font issues in Chromium and Docker

Опубликовано: 02 Октябрь 2024
на канале: Winston Codes On
2,334
40

Check out the full source code by supporting me on Patreon!
  / winstonkotzan  

Tip me in BTC! Bitcoin Address: 13FKUusPH1UPvgSkoQRRy6hEg4hyMqKzLS

00:00 Grover, Puppeteer, Chromium to generate PDFs
01:05 Data model setup for biz requirements
03:28 Create view that we plan to render into PDF
06:51 Add Grover and generate PDF file from HTML view
11:21 Fixing font problems with Puppeteer and PDFs
14:30 Puppeteer within a Docker container

Outtro Music:
CO.AG - Escape the Apex
   • Escape the Apex -  Futuristic Sci-fi ...  

Resources:
https://stackoverflow.com/questions/2...
https://github.com/puppeteer/puppetee...
https://github.com/frinyvonnick/node-...