Files
metrics/source/plugins/community/screenshot/metadata.yml
2022-07-05 22:37:39 -04:00

49 lines
1.0 KiB
YAML

name: 📸 Website screenshot
category: community
description: |
This plugin displays a screenshot from any website.
It can either show the full page or a portion restricted by a [CSS selector](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors).
examples:
default: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.screenshot.svg
authors:
- lowlighter
supports:
- user
- organization
- repository
scopes: []
inputs:
plugin_screenshot:
description: |
Enable screenshot plugin
type: boolean
default: no
extras:
- metrics.run.puppeteer.scrapping
plugin_screenshot_title:
description: |
Title caption
type: string
default: Screenshot
plugin_screenshot_url:
description: |
Website URL
type: string
default: ""
example: https://metrics.lecoq.io
plugin_screenshot_selector:
description: |
CSS Selector
type: string
default: body
plugin_screenshot_background:
description: |
Background
type: boolean
default: yes