{"id":20277338,"url":"https://github.com/bitjson/webshotgun","last_synced_at":"2025-10-28T21:37:35.077Z","repository":{"id":28347874,"uuid":"31861493","full_name":"bitjson/webshotgun","owner":"bitjson","description":"Webshotgun uses slimerjs to screenshot a list of urls.","archived":false,"fork":false,"pushed_at":"2017-05-11T02:04:22.000Z","size":15,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T03:42:02.111Z","etag":null,"topics":[],"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/bitjson.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}},"created_at":"2015-03-08T19:04:03.000Z","updated_at":"2022-01-31T10:04:36.000Z","dependencies_parsed_at":"2022-08-25T10:10:17.239Z","dependency_job_id":null,"html_url":"https://github.com/bitjson/webshotgun","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitjson%2Fwebshotgun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitjson%2Fwebshotgun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitjson%2Fwebshotgun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitjson%2Fwebshotgun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitjson","download_url":"https://codeload.github.com/bitjson/webshotgun/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248351449,"owners_count":21089270,"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":[],"created_at":"2024-11-14T13:18:00.183Z","updated_at":"2025-10-12T23:43:07.373Z","avatar_url":"https://github.com/bitjson.png","language":"JavaScript","readme":"# webshotgun\n[![npm version](https://badge.fury.io/js/webshotgun.svg)](https://www.npmjs.com/package/webshotgun)\n\u003ch4\u003eWebshotgun allows you to rapidly take high fidelity screenshots of websites.\u003c/h4\u003e\n\nWebshotgun uses [SlimerJS](https://slimerjs.org/), scripting for Firefox. Because SlimerJS always uses a very recent version of firefox, modern CSS support and rendering is much more reliable than tools based on [PhantomJS](http://phantomjs.org/).\n\n## Quickstart\nBe sure you've installed [Node](https://nodejs.org/) and [Firefox](https://www.mozilla.org/firefox/). You can get started quickly with the CLI:\n\n```bash\n$ npm install -g webshotgun\n$ webshotgun --dest 'shots' google.com reddit.com nodejs.org\n```\n\nFor more information on the CLI, use the `--help` flag:\n\n```bash\n$ webshotgun --help\n\nUsage: webshotgun [options] \u003curls ...\u003e\n\nOptions:\n\n  -h, --help         output usage information\n  -V, --version      output the version number\n  -f, --file \u003cfile\u003e  Read urls from a JSON – [\"URL\", \"URL\", ... ] – or CSV file. (URLs separated by whitespace or commas.)\n  -d, --dest \u003cpath\u003e  Set the directory in which to save screenshots. [default: './webshotgun']\n  -w, --width        Set the viewport width (in pixels) at which to take screenshots. [default: '1500']\n  -t, --tree         Organize screenshots into a folder tree matching the URL structure.\n  -q, --quiet        Silence standard output.\n\nExamples:\n\n  $ webshotgun google.com reddit.com nodejs.org\n  $ webshotgun --file urls.json --tree\n  $ webshotgun --file urls.csv\n  $ webshotgun --file urls.txt --width 500 --dest mobile-shots\n```\n\n## API\n\n```bash\n$ npm install webshotgun\n```\n\n```js\nvar webshotgun = require('webshotgun');\n\nwebshotgun.shoot({\n    dest: 'destination folder',\n    urls: ['http://google.com', 'http://reddit.com', 'http://nodejs.org'],\n    quiet: true,\n    tree: true,\n    width: 2000\n}, function() {\n  console.log('Capture complete.')\n});\n```\n\n## Development\nRun `npm link` to link the CLI during development.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitjson%2Fwebshotgun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitjson%2Fwebshotgun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitjson%2Fwebshotgun/lists"}