A simple service for capturing rendered Web pages using puppeteer.
10K+
A simple service for capturing rendered Web pages using puppeteer.
Ased as a companion service for data-fair.
To run locally you will need to install google-chrome-unstable for your system.
Install dependencies without downloading chromium:
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
npm i
Then start the server:
npm run dev
Or build and run the docker image:
docker build -t capture . && docker run --rm -it -p 5607:5607 -e DEBUG=capture -e ONLY_SAME_HOST=false -e PORT=5607 --name capture capture
Check the service with these examples:
Content type
Image
Digest
Size
363.7 MB
Last updated
about 6 years ago
docker pull koumoul/capture