| ← Back to plugins index | |
🌇 GitHub Skyline | |
|---|---|
This plugin displays the 3D commits calendar from skyline.github.com. | |
| ⚠️ Disclaimer | This plugin is not affiliated, associated, authorized, endorsed by, or in any way officially connected with GitHub. All product and company names are trademarks™ or registered® trademarks of their respective holders. |
| ℹ Additional notes |
|
| Supported features → Full specification |
📗 Classic template |
👤 Users |
|
| No tokens are required for this plugin | |
|
|
|
➡️ Available options
| Option | Description |
|
Enable skyline plugin |
🌐 Web instances must configure settings.json:
boolean
default: no |
|
|
Displayed year |
type: number
(2008 ≤
𝑥)
default: current-year |
|
|
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 |
|
|
Image quality A higher image quality will increase file size. |
type: number
(0.1 ≤
𝑥
≤ 1)
default: 0.5 |
|
|
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 |
|
|
Advanced settings Can be configured to use alternate skyline websites different from skyline.github.com, such as honzaap's GitHub City.
For |
🌐 Web instances must configure settings.json:
json
default: → Click to expand |
ℹ️ 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
name: GitHub City
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.skyline.city.svg
token: NOT_NEEDED
base: ""
plugin_skyline: yes
plugin_skyline_year: 2020
plugin_skyline_frames: 6
plugin_skyline_quality: 1
plugin_skyline_settings: |
{
"url": "https://honzaap.github.io/GithubCity?name=${login}&year=${year}",
"ready": "[...document.querySelectorAll('.display-info span')].map(span => span.innerText).includes('${login}')",
"wait": 4,
"hide": ".github-corner, .footer-link, .buttons-options, .mobile-rotate, .display-info span:first-child"
}