{"id":24430728,"url":"https://github.com/gusanmaz/webshot","last_synced_at":"2025-04-12T12:44:57.254Z","repository":{"id":78763887,"uuid":"364987316","full_name":"gusanmaz/webshot","owner":"gusanmaz","description":"WebShot is an easy-to-use CLI for taking screenshots of webpages.","archived":false,"fork":false,"pushed_at":"2021-05-06T18:06:08.000Z","size":12,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-26T07:23:13.610Z","etag":null,"topics":["cli","golang","infinite-scroll-webpages","screenshot","webpage-screenshot"],"latest_commit_sha":null,"homepage":"","language":"Go","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/gusanmaz.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":"2021-05-06T17:27:16.000Z","updated_at":"2024-06-07T16:48:17.000Z","dependencies_parsed_at":"2023-04-23T19:17:26.577Z","dependency_job_id":null,"html_url":"https://github.com/gusanmaz/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/gusanmaz%2Fwebshot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gusanmaz%2Fwebshot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gusanmaz%2Fwebshot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gusanmaz%2Fwebshot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gusanmaz","download_url":"https://codeload.github.com/gusanmaz/webshot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248570352,"owners_count":21126416,"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":["cli","golang","infinite-scroll-webpages","screenshot","webpage-screenshot"],"created_at":"2025-01-20T14:57:38.987Z","updated_at":"2025-04-12T12:44:57.233Z","avatar_url":"https://github.com/gusanmaz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## WebShot \n\nWebShot is an easy-to-use CLI for taking screenshots of webpages.\nIt is based on [Rod](https://github.com/go-rod/rod).\n\n## Installation\n\n1. `go get github.com/gusanmaz/webshot`\n\n2. `cd $GOPATH/src/github.com/gusanmaz/webshot`\n\n3. `go install cmd/webshot.go`\n\n## Usage\n\n* #####  Taking full webpage screenshot as an image\n\n`webshot  -url https://www.atlasobscura.com -output atlas.png`\n\n* ##### Taking full webpage screenshot with a specific width\n\n`webshot  -url https://www.atlasobscura.com -width 800 -output atlas2.png`\n\n* ##### Taking full webpage screenshot as a PDF file\n\n`webshot  -url https://www.atlasobscura.com -type pdf -output atlas.pdf`\n\nUnfortunately for now fo most webpages PDF rendering produces mediocre results\n\n* ##### Taking full webpage screenshot as an HTML file\n\n`webshot  -url https://www.atlasobscura.com -type html -output atlas.html`\n\nFor now this command only outputs HTML content of the given URL. Other resources referenced in the URL such as images are not captured.\n\n* ##### Taking screenshot of an infinite scroll webpage\n\nFor infinite scroll webpages you need to specify screenshot height and use infinite flag with true value.\n\n` webshot -url https://www.flickr.com/search/?text=antalya -height 10000 -type image -output antalya.png -infinite true`\n\nYou may also modify default values of stepheight and steptime flags. WebShot scrolls infinite page downwards stepheight pixels every steptime milliseconds.\n\n`webshot  -infinite true -steptime 300 -stepheight 100 -url https://www.flickr.com/search/?text=winter -height 50000 -type image -output winter.png`\n\n## Author\n\nGüvenç Usanmaz\n\n## License \n\nMIT License\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgusanmaz%2Fwebshot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgusanmaz%2Fwebshot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgusanmaz%2Fwebshot/lists"}