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

61 lines
1.4 KiB
YAML

name: 🌇 GitHub Skyline
category: github
description: |
This plugin displays the 3D commits calendar from [skyline.github.com](https://skyline.github.com/).
> ⚠️ This plugin significantly increase file size, consider using it as standalone.
examples:
default: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.skyline.svg
index: 26
supports:
- user
scopes: []
inputs:
plugin_skyline:
description: |
Enable skyline plugin
type: boolean
default: no
extras:
- metrics.cpu.overuse
- metrics.npm.optional.gifencoder
- metrics.run.puppeteer.scrapping
plugin_skyline_year:
description: |
Displayed year
type: number
default: current-year
min: 2008
plugin_skyline_frames:
description: |
Frames count
Use 120 for a full-loop and 60 for a half-loop.
A higher number of frames will increase file size.
type: number
default: 60
min: 1
max: 120
plugin_skyline_quality:
description: |
Image quality
A higher image quality will increase file size.
type: number
default: 0.5
min: 0.1
max: 1
plugin_skyline_compatibility:
description: |
Compatibility mode
This uses CSS animations rather than embedded GIF to support a wider range of browsers, like Firefox and Safari.
Using this mode significantly increase file size as each frame is encoded separately
type: boolean
default: no