{"id":14984371,"url":"https://github.com/andreiigna/take-screenshots","last_synced_at":"2026-02-18T15:01:51.797Z","repository":{"id":34115851,"uuid":"163611238","full_name":"AndreiIgna/take-screenshots","owner":"AndreiIgna","description":"📸 Take clean website screenshots","archived":false,"fork":false,"pushed_at":"2023-07-19T00:49:18.000Z","size":432,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-02T01:48:03.380Z","etag":null,"topics":["chrome","chromium","javascript","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AndreiIgna.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-12-30T19:11:22.000Z","updated_at":"2024-07-19T06:04:17.000Z","dependencies_parsed_at":"2024-09-25T00:31:15.357Z","dependency_job_id":null,"html_url":"https://github.com/AndreiIgna/take-screenshots","commit_stats":{"total_commits":18,"total_committers":3,"mean_commits":6.0,"dds":0.5,"last_synced_commit":"3b2aac4a9e141b9681ef90dacc38dd607b3509d7"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/AndreiIgna/take-screenshots","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiIgna%2Ftake-screenshots","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiIgna%2Ftake-screenshots/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiIgna%2Ftake-screenshots/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiIgna%2Ftake-screenshots/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndreiIgna","download_url":"https://codeload.github.com/AndreiIgna/take-screenshots/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiIgna%2Ftake-screenshots/sbom","scorecard":{"id":13573,"data":{"date":"2025-08-11","repo":{"name":"github.com/AndreiIgna/take-screenshots","commit":"3b2aac4a9e141b9681ef90dacc38dd607b3509d7"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.6,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/9 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 18 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":2,"reason":"8 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-pq67-2wwv-3xjx","Warn: Project is vulnerable to: GHSA-8cj5-5rvv-wf4v","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-14T15:10:28.550Z","repository_id":34115851,"created_at":"2025-08-14T15:10:28.550Z","updated_at":"2025-08-14T15:10:28.550Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009401,"owners_count":26084580,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","chromium","javascript","puppeteer","screenshot"],"created_at":"2024-09-24T14:08:56.219Z","updated_at":"2025-10-11T23:41:33.541Z","avatar_url":"https://github.com/AndreiIgna.png","language":"JavaScript","readme":"# 📸 take-screenshots\n\n**take-screenshots** is a small NodeJS library than can take clean website screenshots, without any popups or cookie consent dialogs that may appear when browsing pages.\n\nIt uses [Puppeteer](https://github.com/GoogleChrome/puppeteer) with a set of optimal settings for loading pages \u0026 cleaning unwanted sections (any contributions for this are welcome).\n\n## Highlights\n* Beautiful screenshots.\n* Zero-config, but configurable when needed.\n* Uses custom instance of Puppeteer if needed.\n\n## Getting Started\n\n#### Installation\n\nTo use in your project, run:\n\n```npm i puppeteer take-screenshots```\n\n\u003e Note: `take-screenshots` requires Puppeteer to be installed in your project. It is a peer dependency so that the correct version or build is used on your platform.\n\n#### Usage\nThe library has a simple API.\n\n**Example** - Take a screenshot of twitter.com and save it as `twitter.png`:\n```js\nconst takeScreenshot = require('take-screenshots');\n\n(async () =\u003e {\n\tawait takeScreenshot('https://twitter.com', 'twitter.png');\n\n\tawait takeScreenshot.closeBrowser();\n})();\n```\n\nMain function returns the image [buffer](https://nodejs.org/api/buffer.html), which you can manipulate or send forwards as a HTTP Response\n**Example** - Take a screenshot of nyt.com and process the image:\n```js\nconst takeScreenshot = require('take-screenshots');\n\n(async () =\u003e {\n\tlet img = await takeScreenshot('https://twitter.com', {viewport: {width: 800, height: 600}});\n\n\t// process the image, img is the image buffer\n\t// sharp(img)\n\n\t// if using Express, image can be sent as response\n\t// res.send(img)\n\n\tawait takeScreenshot.closeBrowser();\n})();\n```\n\n## More\n\nPlease report any issues here on GitHub.\n[Any contributions are welcome](CONTRIBUTING.md)\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT)\n\nCopyright (c) Andrei Igna\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreiigna%2Ftake-screenshots","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreiigna%2Ftake-screenshots","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreiigna%2Ftake-screenshots/lists"}