Skip to content

Shailendra1118/go-workspace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CDP (Chrome DevTools) PDF generator service

Purpose of this PoC is to determine the efforts and feasibility of using a Chrome browser's capability to render the PDF files from HTML.

Here we are using cdp here. It is a protocol driver library of chrome-devtools-protocol written in the Go programming language.

The Chrome DevTools Protocol allows the external program to communicate with a running instance of Chrome to instrument, inspect and debug it.

(To run Chrome headless in container, using https://github.com/alpeware/chrome-headless-trunk)