Sign inSign up

koumoul/capture

By koumoul

•Updated about 6 years ago

A simple service for capturing rendered Web pages using puppeteer.

Image
0

10K+

koumoul/capture repository overview

⁠Capture

A simple service for capturing rendered Web pages using puppeteer⁠.

Ased as a companion service for data-fair⁠.

⁠Developper

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:

Tag summary

Content type

Image

Digest

Size

363.7 MB

Last updated

about 6 years ago

docker pull koumoul/capture