https://github.com/alexrogalskiy/github-action-screenshots
📸 GitHub action to generate screenshots
https://github.com/alexrogalskiy/github-action-screenshots
github-actions screenshots
Last synced: about 2 months ago
JSON representation
📸 GitHub action to generate screenshots
- Host: GitHub
- URL: https://github.com/alexrogalskiy/github-action-screenshots
- Owner: AlexRogalskiy
- License: gpl-3.0
- Created: 2021-02-15T02:35:19.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-04-18T21:04:55.000Z (about 2 months ago)
- Last Synced: 2025-04-19T08:32:38.438Z (about 2 months ago)
- Topics: github-actions, screenshots
- Language: Shell
- Homepage: https://github.com/marketplace/actions/web-screenshots
- Size: 2.39 MB
- Stars: 6
- Watchers: 2
- Forks: 3
- Open Issues: 269
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.config.js
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: .github/SECURITY.md
- Support: .github/support.yml
Awesome Lists containing this project
README
# _Styled screenshots_
> GitHub Action to generate styled screenshots
[](https://github.com/marketplace/actions/web-screenshots)
[](https://github.com/lekterable/perfekt)
[](https://github.com/prettier/prettier)

[](https://houndci.com)[](https://deepscan.io/dashboard#view=project&tid=11946&pid=15929&bid=326929)











[](https://renovatebot.com/)
[](https://dependabot.com/)
[](https://newreleases.io/github/AlexRogalskiy/github-action-screenshots)
[](https://hitsofcode.com/github/alexrogalskiy/github-action-screenshots?branch=master/view?branch=master)

[](https://circleci.com/gh/AlexRogalskiy/github-action-screenshots)[](https://github.com/marketplace/actions/super-linter)
[][repo]
[![Public workflows that use this action.][total_usages]][search_results]
[![Licence][license_id]][license_content]## _Table of contents_
* [Styled screenshots](#styled-screenshots)
* [Table of contents](#table-of-contents)
* [Description](#description)
* [Inputs](#inputs)
* [url](#url)
* [name](#name)
* [path](#path)
* [extension](#extension)
* [encoding](#encoding)
* [fullPage](#fullpage)
* [width](#width)
* [height](#height)
* [Outputs](#outputs)
* [image](#image)
* [Examples](#examples)
* [Visitor stats](#visitor-stats)
* [Licensing](#licensing)
* [Authors](#authors)
* [Versioning](#versioning)
* [Contribution](#contribution)
* [Acknowledgement](#acknowledgement)
* [Forks](#forks)
* [Development Support](#development-support)## _Description_
Creates screenshots by input json data source and dimension parameters.
## _Inputs_
### `url`
**Required** Target url to create a screenshot from.
### `name`
**Optional** Screenshot image name (default **screenshot**)
### `path`
**Optional** Screenshot image path (default **images**)
### `extension`
**Optional** Screenshot image extension (default **png**)
### `encoding`
**Optional** Screenshot image encoding (default **binary**)
### `fullPage`
**Optional** Screenshot image with a full-page view (default **false**)
### `width`
**Optional** Screenshot image width (default **1024**)
### `height`
**Optional** Screenshot image height (default **768**)
## _Outputs_
### `image`
Generated screenshot image (stored in the `path` directory)
## _Examples_
```yml
- name: Create screenshots
uses: alexrogalskiy/github-action-screenshots@master
with:
url: 'https://www.google.com/'
name: 'screenshot'
path: 'images'
extension: 'png'
encoding: 'binary'
fullPage: false
width: 400
height: 400
```Running locally:
- `npm run start:action --action github-action-screenshots --url 'https://www.google.com/' --name screenshot-name --extension png --width 400 --height 400`
## _Visitor stats_
[](https://hits.seeyoufarm.com)


## _Licensing_
_**Styled Screenshots**_ is distributed under LGPL version 3 or later,
[[License](https://github.com/AlexRogalskiy/github-action-screenshots/blob/master/LICENSE)]. LGPLv3 is
additional permissions on top of GPLv3.
## _Authors_
_**Styled Screenshots**_ is maintained by the following GitHub team-members:
- [](https://github.com/AlexRogalskiy)
with community support please contact with us if you have some question or proposition.
## _Versioning_
The project uses [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on
this repository][tags].## _Contribution_
[](https://badges.pufler.dev)
Please read
[CONTRIBUTING.md](https://github.com/AlexRogalskiy/github-action-screenshots/blob/master/.github/CONTRIBUTING.md)
for details on our code of conduct, and the process for submitting pull requests to us
([emoji key](https://allcontributors.org/docs/en/emoji-key)).This project follows the [all-contributors](https://github.com/all-contributors/all-contributors)
specification. Contributions of any kind are welcome](http://makeapullrequest.com)
See also the list of [contributors][contributors] who participated in this project.
## _Acknowledgement_
[][stars]
## _Forks_
[][forkers]
## _Development Support_
Like _**Styled Screenshots**_ ? Consider buying me a coffee :\)
[](https://www.patreon.com/alexrogalskiy)
[](https://www.buymeacoffee.com/AlexRogalskiy)
[](https://ko-fi.com/alexrogalskiy)---
[](https://www.javascript.com/)
[](https://github.com/)
[](https://forthebadge.com/)[repo]: https://github.com/AlexRogalskiy/github-action-screenshots
[tags]: https://github.com/AlexRogalskiy/github-action-screenshots/tags
[issues]: https://github.com/AlexRogalskiy/github-action-screenshots/issues
[pulls]: https://github.com/AlexRogalskiy/github-action-screenshots/pulls
[wiki]: https://github.com/AlexRogalskiy/github-action-screenshots/wiki
[stars]: https://github.com/AlexRogalskiy/github-action-screenshots/stargazers
[forkers]: https://github.com/AlexRogalskiy/github-action-screenshots/network/members
[contributors]: https://github.com/AlexRogalskiy/github-action-screenshots/graphs/contributors
[license_id]: https://img.shields.io/github/license/AlexRogalskiy/github-action-screenshots
[license_content]: https://github.com/AlexRogalskiy/github-action-screenshots/blob/master/LICENSE
[total_usages]:
https://img.shields.io/endpoint?url=https%3A%2F%2Fapi-git-master.endbug.vercel.app%2Fapi%2Fgithub-actions%2Fused-by%3Faction%3DAlexRogalskiy%2Fgithub-action-screenshots%26badge%3Dtrue
[search_results]:
https://github.com/search?o=desc&q=AlexRogalskiy/github-action-screenshots+path%3A.github%2Fworkflows+language%3AYAML&s=&type=Code