{"repo":"mailmojo/screenie-server","free":true,"listed":false,"github":"https://github.com/mailmojo/screenie-server","clone":"git clone https://github.com/mailmojo/screenie-server.git","description":"A Node server with a cluster of Puppeteer (Chrome headless) instances for scalable screenshot generation.","language":"JavaScript","stars":20,"topics":["javascript","screenshot","nodejs","node","puppeteer","chrome-headless"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"screenie-server HTTP screenshot service based on Puppeteer. Creates an HTTP server using Koa (default port 3000 ). It renders pages and returns screenshots (PNG/JPEG) or PDFs on demand. It now uses a shared browser cluster powered by puppeteer-cluster for efficient parallel processing instead of the old custom pool. Installation / Usage You can install from npm and run the server manually: Or run it without a local install: Alternatively, you can run the published container image from GitHub Container Registry: Previous images under eliksir/screenie-server on Docker Hub are deprecated. If you prefer, you can still build your own image locally from the Dockerfile. The container runs Chromium with --no-sandbox by default because typical container runtimes lack the required user namespace / seccomp configuration. If you run in a hardened environment that supports it, you may remove --no-sandbox via SCREENIE CHROMIUM ARGS . Configuration Then request a screenshot of an URL using the url query parameter: http://localhost:3000/?url=http://google.com/&format=jpeg The size of the screenshot can be customized through the width and height query parameters, but will always be constrained within 2048x2048. The default size used when the parameters are missing can be customized by environment variables: SCREENIE WIDTH : Default width, as integer, in pixels (default 1024 ). SCREENIE HEIGHT : Default height, as integer, in pixels (default 768 ). Capturing a single element You can capture on","default_branch":null,"files":null,"tree":[],"storefront":"/r/mailmojo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mailmojo/screenie-server/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."}