Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/christianrich/generate-pdf-puppeteer
Generate a PDF with Puppeteer, Handlebars and Express
https://github.com/christianrich/generate-pdf-puppeteer
docker docker-compose express handlebars node-js pdf-generation puppeteer
Last synced: 7 days ago
JSON representation
Generate a PDF with Puppeteer, Handlebars and Express
- Host: GitHub
- URL: https://github.com/christianrich/generate-pdf-puppeteer
- Owner: ChristianRich
- Created: 2019-08-01T02:05:19.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T05:57:27.000Z (almost 2 years ago)
- Last Synced: 2023-04-03T23:30:09.297Z (over 1 year ago)
- Topics: docker, docker-compose, express, handlebars, node-js, pdf-generation, puppeteer
- Language: HTML
- Size: 1.71 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PDF generation from HTML using Puppeteer and Handlebars
### Master branch using Puppeteer
```
yarn
yarn dev
```### Puppeteer-core branch using a Dockerized version of headless Chrome
```
git checkout puppeteer-core
docker pull browserless/chrome
```Start container:
```
docker run -d -p 4444:3000 browserless/chrome
```Or use Docker compose:
```
docker-compose up -d
``````
yarn
yarn dev
```Resources:
https://hub.docker.com/r/browserless/chrome/