{"repo":"NeverMendel/chrome-headless-screenshots","free":true,"listed":false,"github":"https://github.com/NeverMendel/chrome-headless-screenshots","clone":"git clone https://github.com/NeverMendel/chrome-headless-screenshots.git","description":"Node.js script and Docker image to take screenshots of webpages with Chrome headless and Puppeteer","language":"JavaScript","stars":16,"topics":["nodejs","docker","chrome","chrome-headless","puppeteer","screenshot","headless-chrome","chromium"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"Chrome Headless Screenshots Node.js script and Docker image to take screenshots of webpages with Chrome headless and Puppeteer. If you find chrome-headless-screenshots helpful, please consider giving it a star ⭐️. Your support helps me gauge its usage and motivates further development. Pull requests are welcome. How to use it Node.js Run yarn install to install all the required dependencies and then execute the index.js file with node like in the following example. Docker You can either build your own Docker image or you can use the pre-built one nevermendel/chrome-headless-screenshots or ghcr.io/nevermendel/docker-texlive-xetex Build the Docker image: To take a screenshot with a Docker container run: To use the image iteratively, change the entry point to /bin/sh: When using the image iteratively you can run take-screenshot.sh from anywhere to call the index.js script. Script usage License MIT Licence","default_branch":null,"files":null,"tree":[],"storefront":"/r/NeverMendel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/NeverMendel/chrome-headless-screenshots/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}