{"id":13852605,"url":"https://github.com/bennylope/screenshooter","last_synced_at":"2025-04-14T08:22:48.742Z","repository":{"id":9960965,"uuid":"11983199","full_name":"bennylope/screenshooter","owner":"bennylope","description":":camera: A tool for generating BrowserStack screenshots from the command line.","archived":false,"fork":false,"pushed_at":"2015-11-21T18:27:48.000Z","size":71,"stargazers_count":51,"open_issues_count":2,"forks_count":8,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-10T15:14:13.264Z","etag":null,"topics":["browserstack","qa","ruby","screenshots"],"latest_commit_sha":null,"homepage":"http://benlopatin.com/blog/continuous-cross-browser-screenshots/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"paicha/gxgk-wechat-server","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bennylope.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":"2013-08-08T18:18:22.000Z","updated_at":"2024-01-08T14:32:54.000Z","dependencies_parsed_at":"2022-08-20T16:10:29.819Z","dependency_job_id":null,"html_url":"https://github.com/bennylope/screenshooter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennylope%2Fscreenshooter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennylope%2Fscreenshooter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennylope%2Fscreenshooter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennylope%2Fscreenshooter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bennylope","download_url":"https://codeload.github.com/bennylope/screenshooter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248844216,"owners_count":21170534,"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":["browserstack","qa","ruby","screenshots"],"created_at":"2024-08-04T22:01:28.260Z","updated_at":"2025-04-14T08:22:48.720Z","avatar_url":"https://github.com/bennylope.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# ScreenShooter!\n\nA tool for generating BrowserStack screenshots from the command line.\n\n## Installing\n\n\u003e gem install screenshooter\n\nOr clone the repository and run\n\n\u003e rake install\n\n## Configuration\n\nYou will need to provide username and authentication token credentials\nto use the service. You can do so with environment variables or using a\nfile.\n\nTo use environment variables (suitable for a CI environment) set\n`BROWSERSTACK_USERNAME` and `BROWSERSTACK_TOKEN`, respectively. If these\nare missing then ScreenShooter will look for a credentials file.\n\nYou should set up your credentials in the `.browserstack` file in your\nhome directory. It should look like this:\n\n    username:auth_token\n\nYour authentication token is available under the\n[automation section](https://www.browserstack.com/accounts/automate-keys)\nof your profile.\n\nNext you'll need a browser configuration file. This will be used to\nspecify which browser versions under which operating systems to take\nscreenshots. You can start with the sample included in this project,\n`sample_browsers.yaml` or `sample_browsers.json`.\n\n## Using\n\nFor each URL provided, screenshooter will return a BrowserStack\nscreenshot gallery URL.\n\nGeneral use is pretty straightforward:\n\n    screenshooter shoot path_to/browsers.yaml\n\nIf you are using a json file, then:\n\n    screenshooter shoot path_to/browsers.json\n\nOnce the request is successfully made, the program will return the URL\nof the screenshot collection. The URL output can be piped to another\nservice.\n\n### Commands\n\n    screenshooter browsers list\n    screenshooter browsers search\n    screenshooter shoot\n\n### Arguments and options\n\n    screenshooter browsers list\n    screenshooter browsers search \u003cSEARCH TERM\u003e\n    screenshooter shoot -u \u003cURL\u003e\n    screenshooter shoot -u \u003cURL\u003e -u \u003cURL\u003e -u \u003cURL\u003e\n    screenshooter shoot -u \u003cURL\u003e -b \u003cBROSWER JSON SPEC\u003e\n\n### Setting the URL\n\nYou don't need to include the URL in your configuration file. It might\nbe helpful if you're always taking screenshots of the same URL, but\nchances are you'll probably want to specify this each time you run the\ncommand.\n\n    screenshooter shoot path_to/browsers.yaml -u http://www.github.com\n\n### Waiting for completion\n\nThe command accepts an optional boolean flag, `wait`, which will check\nevery 2.5 seconds on the status of the request and return the URL once\nthe job is complete.\n\n    screenshooter shoot path_to/browsers.yaml -u http://www.github.com -w\n    screenshooter shoot path_to/browsers.yaml -u http://www.github.com --wait\n\n### Silence Progress bar\n\nThe command accepts an optional boolean flag, 'quiet', which will not\nprint the progress bar, while using the 'wait' option. The screenshot\nURL will be printed once the job is complete\n\n    screenshooter shoot path_to/browsers.yaml -u http://www.github.com --wait -q\n    screenshooter shoot path_to/browsers.yaml -u http://www.github.com --wait -quiet\n\n### Open the screenshots URL\n\nThe command accepts an optional boolean flag, `open`, which will open\nthe screenshots URL in your default browser.\n\n    screenshooter shoot path_to/browsers.yaml -u http://www.github.com -o\n    screenshooter shoot path_to/browsers.yaml -u http://www.github.com --open\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbennylope%2Fscreenshooter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbennylope%2Fscreenshooter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbennylope%2Fscreenshooter/lists"}