Files
metrics/source/plugins/skyline
github-actions[bot] 4c98629bbc chore: code formatting
2022-04-23 23:18:43 +00:00
..
2022-04-23 23:18:43 +00:00
2022-01-15 21:20:25 -05:00
2022-02-04 02:56:51 +00:00

🌇 GitHub Skyline 3D calendar

This plugins lets you display your 3D commits calendar from skyline.github.com.

⚠️ This plugin significantly increase file size, consider using it as standalone.

Supported features
→ Full specification
📗 Classic template
👤 Users
No tokens are required for this plugin

➡️ Available options

TypeDescription

plugin_skyline

Enable skyline plugin

type: boolean
default: no

plugin_skyline_year

Displayed year

type: number (2008 ≤ 𝑥)
default: current-year

plugin_skyline_frames

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 (1 ≤ 𝑥 ≤ 120)
default: 60

plugin_skyline_quality

Image quality

A higher image quality will increase file size.

type: number (0.1 ≤ 𝑥 ≤ 1)
default: 0.5

plugin_skyline_compatibility

Compatibility mode

This uses CSS animations rather than embedded GIF to support a widerr range of browser, like Firefox and Safari. Using this mode significantly increase file size as each frame is encoded separately

type: boolean
default: no

Examples workflows

name: GitHub Skyline
uses: lowlighter/metrics@latest
with:
  filename: metrics.plugin.skyline.svg
  token: NOT_NEEDED
  base: ""
  plugin_skyline: yes
  plugin_skyline_year: 2020
  plugin_skyline_frames: 6
  plugin_skyline_quality: 1