{"id":21882697,"url":"https://github.com/jjgrainger/webshot","last_synced_at":"2025-04-15T06:06:27.752Z","repository":{"id":73040469,"uuid":"102880332","full_name":"jjgrainger/webshot","owner":"jjgrainger","description":"Consistant screenshots from the command line","archived":false,"fork":false,"pushed_at":"2017-09-10T12:57:38.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-15T06:06:22.944Z","etag":null,"topics":["chrome","screenshot","webshot"],"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/jjgrainger.png","metadata":{"files":{"readme":"README.md","changelog":null,"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-09-08T16:10:44.000Z","updated_at":"2018-03-22T10:32:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"98be9ca6-f84d-43a0-9374-978a5202215a","html_url":"https://github.com/jjgrainger/webshot","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/jjgrainger%2Fwebshot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjgrainger%2Fwebshot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjgrainger%2Fwebshot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjgrainger%2Fwebshot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jjgrainger","download_url":"https://codeload.github.com/jjgrainger/webshot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249016624,"owners_count":21198833,"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":["chrome","screenshot","webshot"],"created_at":"2024-11-28T09:34:28.841Z","updated_at":"2025-04-15T06:06:27.747Z","avatar_url":"https://github.com/jjgrainger.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Webshot v1.0\n\n\u003e Consistant screenshots from the command line\n\n## Requirements\n\n* [Node](https://nodejs.org/) \n* [npm](https://www.npmjs.com/) \n\n## Installation\n\n1. Clone the repository and install dependencies\n\n```\n$ git clone https://github.com/jjgrainger/webshot.git\n$ npm install\n```\n\n## Usage\n\nTo take a screenshot of a website (google.com), `cd` into the webshot folder and run the following command in the terminal.\n\n```\n$ node webshot.js https://google.com\n```\n\nThis will take a screenshot and save it to `/shots` directory using the domain name as a filename.\n\n## Options\n\nAdditional options can be passed as flags. So to set a delay of 5 seconds, you can run the following command in the terminal.\n\n```\n$ node webshot.js https://google.com --delay=5000\n```\n\nBelow are the available options\n\n* `--delay` - set a delay before taking the screenshot in milliseconds, default: `0`\n* `--zoom` - set the page zoom in percent, default: `90`\n* `--width` - set the width of the viewport in pixels, default: `1200`\n* `--height` - set the height of the viewport in pixels, default: `800`\n\n## Notes\n\n* Uses Google Chromes [Puppeteer](https://github.com/GoogleChrome/puppeteer)\n* Licensed under the [MIT License](https://github.com/jjgrainger/webshots/blob/master/LICENSE)\n* Maintained under the [Semantic Versioning Guide](http://semver.org)\n\n## Authors\n\n**Joe Grainger**\n\n* [https://jjgrainger.co.uk](http://jjgrainger.co.uk)\n* [https://twitter.com/jjgrainger](http://twitter.com/jjgrainger)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjjgrainger%2Fwebshot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjjgrainger%2Fwebshot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjjgrainger%2Fwebshot/lists"}