{"id":13722031,"url":"https://github.com/anishkny/webgif","last_synced_at":"2025-09-07T10:35:53.616Z","repository":{"id":30914960,"uuid":"126376255","full_name":"anishkny/webgif","owner":"anishkny","description":"Easily generate animated GIFs from websites","archived":false,"fork":false,"pushed_at":"2023-10-28T00:15:38.000Z","size":94,"stargazers_count":106,"open_issues_count":14,"forks_count":16,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-22T21:26:24.974Z","etag":null,"topics":["animated-gifs","automation","gif","puppeteer"],"latest_commit_sha":null,"homepage":"https://webgif.netlify.com","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/anishkny.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}},"created_at":"2018-03-22T18:06:39.000Z","updated_at":"2025-08-20T12:53:23.000Z","dependencies_parsed_at":"2024-01-06T01:11:57.078Z","dependency_job_id":"c8830793-6986-42fc-9697-d5fe94794791","html_url":"https://github.com/anishkny/webgif","commit_stats":{"total_commits":47,"total_committers":3,"mean_commits":"15.666666666666666","dds":0.08510638297872342,"last_synced_commit":"795db65008b8eeaf030164c5c768563b29301849"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/anishkny/webgif","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anishkny%2Fwebgif","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anishkny%2Fwebgif/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anishkny%2Fwebgif/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anishkny%2Fwebgif/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anishkny","download_url":"https://codeload.github.com/anishkny/webgif/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anishkny%2Fwebgif/sbom","scorecard":{"id":197022,"data":{"date":"2025-08-11","repo":{"name":"github.com/anishkny/webgif","commit":"795db65008b8eeaf030164c5c768563b29301849"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"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":"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":"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/27 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":"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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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 'main'"],"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 15 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"}}]},"last_synced_at":"2025-08-16T21:59:38.271Z","repository_id":30914960,"created_at":"2025-08-16T21:59:38.272Z","updated_at":"2025-08-16T21:59:38.272Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274026708,"owners_count":25209739,"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-09-07T02:00:09.463Z","response_time":67,"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":["animated-gifs","automation","gif","puppeteer"],"created_at":"2024-08-03T01:01:23.888Z","updated_at":"2025-09-07T10:35:53.552Z","avatar_url":"https://github.com/anishkny.png","language":"JavaScript","funding_links":[],"categories":["渲染和网页抓取","Rendering and web scraping"],"sub_categories":["贡献"],"readme":"\u003cp align=\"center\"\u003e\u003cimg alt=\"logo\" src=\"https://rawgit.com/anishkny/webgif/master/logo.svg\"\u003e\u003c/p\u003e\n\n## *Easily generate animated GIFs from websites*\n\n[![Build Status](https://travis-ci.org/anishkny/webgif.svg?branch=master)](https://travis-ci.org/anishkny/webgif)\n[![Build status](https://ci.appveyor.com/api/projects/status/ji5c66ex9ifog9hk/branch/master?svg=true)](https://ci.appveyor.com/project/anishkny/webgif/branch/master)\n[![Greenkeeper badge](https://badges.greenkeeper.io/anishkny/webgif.svg)](https://greenkeeper.io/)\n[![Coverage Status](https://coveralls.io/repos/github/anishkny/webgif/badge.svg)](https://coveralls.io/github/anishkny/webgif)\n![node](https://img.shields.io/node/v/webgif.svg)\n[![NPM Version](https://img.shields.io/npm/v/webgif.svg)](https://www.npmjs.com/package/webgif)\n\n* **Easy**            👉  *Just point it to a URL and get an animated GIF!*\n* **Cross-platform**  👉  *Works on Windows, Mac, Linux, without Docker!*\n* **Headless**        👉  *Uses [GoogleChrome/puppeteer](https://github.com/GoogleChrome/puppeteer)*\n* **Inspired**        👉  *By [asciicast2gif](https://github.com/asciinema/asciicast2gif) and wanting to make it easier to use*\n\n### Installation\n```bash\nyarn global add webgif || npm i -g webgif\n```\n\n### Usage\n\nTo navigate to `https://giphy.com/search/lol` and make an animated GIF of duration `10` seconds, execute:\n\n```bash\nwebgif -u https://giphy.com/search/lol -d 10\n\nNavigating to URL: https://giphy.com/search/lol\nTaking screenshots: .............\nEncoding GIF: /home/user/web.gif\n```\n\n### Options\n\n```bash\nwebgif -u URL -d DURATION [-o OUTFILE]\n\nOptions:\n  --url, -u       URL to generate GIF from\n                                       [default: \"https://giphy.com/search/lol\"]\n  --duration, -d  GIF duration in seconds                          [default: 10]\n  --output, -o    Output file name\n                             [default: \"web.gif\"]\n  -h, --help      Show help                                            [boolean]\n  -V, --version   Show version number                                  [boolean]\n```\n\n### Sample GIF\n\n![Sample GIF](https://storage.googleapis.com/webgif/web.gif)\n\n### How it works\n\n1. Use [Puppeteer](https://github.com/GoogleChrome/puppeteer) to launch a headless Chrome window\n1. Use `setInterval` to take screenshots and save them to disk\n1. Navigate to target URL and wait for specified duration\n1. Use [gifencoder](https://github.com/eugeneware/gifencoder) and [png-file-stream](https://github.com/eugeneware/png-file-stream) to create animated GIF out of saved screenshots\n\nSee code: [`index.js`](https://github.com/anishkny/webgif/blob/master/index.js)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanishkny%2Fwebgif","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanishkny%2Fwebgif","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanishkny%2Fwebgif/lists"}