{"id":13630621,"url":"https://github.com/mailmojo/screenie-server","last_synced_at":"2026-01-25T00:05:29.437Z","repository":{"id":16903789,"uuid":"80840740","full_name":"mailmojo/screenie-server","owner":"mailmojo","description":"A Node server with a pool of Puppeteer (Chrome headless) instances for scalable screenshot generation.","archived":false,"fork":false,"pushed_at":"2024-06-18T01:15:37.000Z","size":137,"stargazers_count":20,"open_issues_count":5,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-08-09T15:44:01.438Z","etag":null,"topics":["chrome-headless","javascript","node","nodejs","puppeteer","screenshot"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mailmojo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-03T15:18:04.000Z","updated_at":"2024-01-10T08:56:25.000Z","dependencies_parsed_at":"2024-11-08T22:30:31.580Z","dependency_job_id":"66336a7d-c9a7-4f56-9a1c-de746ba4d4da","html_url":"https://github.com/mailmojo/screenie-server","commit_stats":null,"previous_names":["mailmojo/screenie-server","eliksir/screenie-server"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/mailmojo/screenie-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mailmojo%2Fscreenie-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mailmojo%2Fscreenie-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mailmojo%2Fscreenie-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mailmojo%2Fscreenie-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mailmojo","download_url":"https://codeload.github.com/mailmojo/screenie-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mailmojo%2Fscreenie-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28739332,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T22:12:27.248Z","status":"ssl_error","status_checked_at":"2026-01-24T22:12:10.529Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chrome-headless","javascript","node","nodejs","puppeteer","screenshot"],"created_at":"2024-08-01T22:01:50.627Z","updated_at":"2026-01-25T00:05:29.423Z","avatar_url":"https://github.com/mailmojo.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# screenie-server\n\nHTTP screenshot service based on [Puppeteer](https://github.com/GoogleChrome/puppeteer).\n\nCreates a HTTP server using [Koa](https://github.com/koajs/koa), by default on\nport 3000. It renders pages and creates screenshots of them on request.\n\n## Installation / Usage\n\nYou can install from npm and run the server manually:\n\n```bash\nnpm install screenie-server\n./node_modules/.bin/screenie-server\n```\n\nAlternatively, we provide a Docker image (built from the\n[Dockerfile](Dockerfile)) at [eliksir/screenie-server](https://hub.docker.com/r/eliksir/screenie-server/).\nThis container is not running in sandbox mode because the Docker image doesn't\nsupport user namespaces.\n\n## Configuration\n\nThen request a screenshot of an URL using the `url` query parameter:\n`http://localhost:3000/?url=http://google.com/\u0026format=jpeg`\n\nThe size of the screenshot can be customized through the `width` and `height`\nquery parameters, but will always be constrained within 2048x2048. The default\nsize used when the parameters are missing can be customized by environment\nvariables:\n\n* `SCREENIE_WIDTH`: Default width, as integer, in pixels (default `1024`).\n* `SCREENIE_HEIGHT`: Default height, as integer, in pixels (default `768`).\n\nThe `format` query parameter can be used to request a specific format of the\nscreenshot. The supported formats are PNG, JPEG and even PDF. You can\nalso set the default format through an environment variable:\n\n* `SCREENIE_DEFAULT_FORMAT`: Default format (default `jpeg`).\n\nThe Puppeteer pool can also be customized with environment variables:\n\n* `SCREENIE_POOL_MIN`: Minimum number of Puppeteer instances (default `2`).\n* `SCREENIE_POOL_MAX`: Maximum number of Puppeteer instances (default `10`).\n\nTo control the level of logging that will be performed, customize the\n`SCREENIE_LOG_LEVEL` environment variable. Supported values are `error`,\n`warn`, `info`, `verbose`, `debug`, and `silly`, though only `info` and\n`verbose` are currently in use.\n\n* `SCREENIE_LOG_LEVEL`: Logging level (default `info`).\n\nTo open up file scheme in URL parameter:\n\n* `SCREENIE_ALLOW_FILE_SCHEME`: true (default `false`).\n\nDelay from the `load` event until the screenshot is taken. This can solve\nissues with rendering (i.e. rendering webfonts) not being complete before the\nscreenshot.\n\n* `SCREENIE_SCREENSHOT_DELAY`: Time in milliseconds (default `50`).\n\nAnd lastly, of course the HTTP port can be customized:\n\n* `SCREENIE_PORT`: HTTP port (default `3000`).\n\n## Contributing\n\nWe are open to contributions or suggestions. File issues or suggestions on the\n[GitHub issues page](https://github.com/eliksir/screenie-server/issues), and\nplease do submit a pull request if you have the time to implement an\nimprovement or bugfix.\n\n## License\n\nPublished under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmailmojo%2Fscreenie-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmailmojo%2Fscreenie-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmailmojo%2Fscreenie-server/lists"}