Files
metrics/source/plugins/stargazers/metadata.yml
2022-07-29 16:59:57 -04:00

70 lines
1.8 KiB
YAML

name: ✨ Stargazers
category: github
description: |
This plugin displays stargazers evolution across affiliated repositories.
examples:
+classic charts: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.svg
chartist charts: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.chartist.svg
+worldmap: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.worldmap.svg
index: 2
supports:
- user
- organization
- repository
scopes:
- public_access
inputs:
plugin_stargazers:
description: |
Enable stargazers plugin
type: boolean
default: no
plugin_stargazers_charts:
description: |
Charts
It includes total number of stargazers evolution, along with the number of new stars per day over the last two weeks.
type: boolean
default: yes
plugin_stargazers_charts_type:
description: |
Charts display type
- `classic`: `<div>` based charts, simple and lightweight
- `chartist`: `<svg>` based charts, smooth
type: string
default: classic
values:
- classic
- chartist
extras:
- metrics.npm.optional.chartist
plugin_stargazers_worldmap:
description: |
Stargazers worldmap
type: boolean
default: no
extras:
- metrics.api.google.maps
- metrics.npm.optional.d3
plugin_stargazers_worldmap_token:
description: |
Stargazers worldmap token
type: token
default: ""
plugin_stargazers_worldmap_sample:
description: |
Stargazers worldmap sample
Use this setting to randomly sample and limit your stargazers.
Helps to avoid consuming too much Google Geocoding API requests while still being representative.
type: number
default: 0
min: 0
zero: disable