{"id":21813071,"url":"https://github.com/webdevstudios/puppeteer-screenshots","last_synced_at":"2025-04-13T23:25:44.675Z","repository":{"id":37970014,"uuid":"317266506","full_name":"WebDevStudios/puppeteer-screenshots","owner":"WebDevStudios","description":"Take automated screenshots of webpages at multiple viewports.","archived":false,"fork":false,"pushed_at":"2023-02-27T11:57:29.000Z","size":64658,"stargazers_count":23,"open_issues_count":7,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-27T13:45:09.369Z","etag":null,"topics":["automated-screenshots","puppeteer-screenshots","screenshots"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WebDevStudios.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-30T15:30:34.000Z","updated_at":"2023-03-01T18:32:57.000Z","dependencies_parsed_at":"2024-11-16T16:41:04.881Z","dependency_job_id":null,"html_url":"https://github.com/WebDevStudios/puppeteer-screenshots","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevStudios%2Fpuppeteer-screenshots","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevStudios%2Fpuppeteer-screenshots/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevStudios%2Fpuppeteer-screenshots/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevStudios%2Fpuppeteer-screenshots/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebDevStudios","download_url":"https://codeload.github.com/WebDevStudios/puppeteer-screenshots/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248795391,"owners_count":21162764,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["automated-screenshots","puppeteer-screenshots","screenshots"],"created_at":"2024-11-27T14:27:03.942Z","updated_at":"2025-04-13T23:25:44.619Z","avatar_url":"https://github.com/WebDevStudios.png","language":"JavaScript","readme":"# Puppeteer Screenshots \u003c!-- omit in toc --\u003e\n\nA simple script for taking automated screenshots of webpages at multiple viewports.\n\n[![WebDevStudios. Your Success is Our Mission.](https://webdevstudios.com/wp-content/uploads/2018/04/wds-github-banner.png)](https://webdevstudios.com/contact/)\n\n---\n\n## Table of Contents \u003c!-- omit in toc --\u003e\n\n- [Prerequisites](#prerequisites)\n- [Install](#install)\n- [Usage](#usage)\n- [Contributing](#contributing)\n\n---\n\n## Prerequisites\n\n- [Node](https://nodejs.org/en/)\n\n---\n\n## Install\n\nClone the repo:\n\n```bash\ngit clone git@github.com:WebDevStudios/puppeteer-screenshots.git\n```\n\nChange directories:\n\n```bash\ncd puppeteer-screenshots\n```\n\nInstall the dependencies:\n\n```bash\nnpm i\n```\n\n---\n\n## Usage\n\n1. Open `src/config.js`\n2. Add the name and url of webpages you want Puppeteer to screenshot:\n\n```js\n// src/config.js\nmodule.exports = [\n  {\n    name: 'homepage',\n    url: 'https://webdevstudios.com/'\n  },\n  {\n    name: 'blog',\n    url: 'https://webdevstudios.com/blog/'\n  },\n  {\n    name: 'contact',\n    url: 'https://webdevstudios.com/contact/'\n  }\n]\n```\n\n3. Run the script:\n\n```bash\nnpm start\n```\n\nIndividual screenshots (and a `.zip`) will appear in the `/screenshots` directory.\n\n```text\n├── screenshots\n│   ├── desktop\n│   │   ├── blog.png\n│   │   ├── contact.png\n│   │   └── homepage.png\n│   ├── mobile\n│   │   ├── blog.png\n│   │   ├── contact.png\n│   │   └── homepage.png\n│   └── tablet\n│       ├── blog.png\n│       ├── contact.png\n│       └── homepage.png\n├── screenshots.zip\n```\n\n---\n\n## Contributing\n\nWebDevStudios welcomes contributions via [Issues](https://github.com/WebDevStudios/puppeteer-screenshots/issues) and [Pull Requests](https://github.com/WebDevStudios/puppeteer-screenshots/pulls). Stay safe 🍻\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdevstudios%2Fpuppeteer-screenshots","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebdevstudios%2Fpuppeteer-screenshots","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdevstudios%2Fpuppeteer-screenshots/lists"}