github-stats-b.yml [V2] #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Licensed under The Unlicense | |
# Feel free to reuse, edit and redistribute this workflow as you wish, no credits needed | |
# See https://github.com/lowlighter/metrics for documentation about how to use metrics action | |
name: GitHub Metrics (Lowlighter) daily run for @seanpm2001 | |
on: | |
# π Think about the planet! No need to update stats too frequently (this will run once per day at 1:00 pm PST) | |
schedule: [{cron: "0 13 * * *"}] | |
# π‘ The following line lets you run workflow manually from the action tab! | |
workflow_dispatch: # Not needed | |
# 25 steps | |
# βοΈ @seanpm2001 GitHub General | |
# π«οΈ @seanpm2001 GitHub Achievements | |
# ποΈ @seanpm2001 GitHub Stargazer graph βοΈ | |
# ποΈ @seanpm2001 GitHub Stargazers chart βοΈ | |
# π³οΈ @seanpm2001 GitHub Licenses and permissions | |
# ποΈ @seanpm2001 GitHub Licenses with open-source ratio graphs π³οΈ | |
# π @seanpm2001 GitHub Sponsorships | |
# ποΈ @seanpm2001 GitHub heatmap Current year calendar | |
# ποΈ @seanpm2001 GitHub heatmap Full history calendar | |
# π¦οΈ @Seanpm2001 GitHub Repositories traffic | |
# ποΈ @seanpm2001 GitHub Skyline (2020) | |
# ποΈ @seanpm2001 GitHub Skyline (2021) | |
# ποΈ @seanpm2001 GitHub Skyline (2022) | |
# ποΈ @seanpm2001 GitHub Skyline (2023) | |
# ποΈ @seanpm2001 GitHub Skyline (2024) | |
# ποΈ @seanpm2001 GitHub City (2020) | |
# ποΈ @seanpm2001 GitHub City (2021) | |
# ποΈ @seanpm2001 GitHub City (2022) | |
# ποΈ @seanpm2001 GitHub City (2023) | |
# ποΈ @seanpm2001 GitHub City (2024) | |
# π·οΈ @seanpm2001 GitHub starred Labels βοΈ | |
# ποΈ @seanpm2001 GitHub starred topics Icons βοΈ | |
# π οΈ @seanpm2001 GitHub Half-year isometric calendar π³οΈ | |
# π οΈ @seanpm2001 GitHub Full-year isometric calendar π³οΈ | |
# π¬οΈ @seanpm2001 GitHub Discussions π¨οΈ | |
# If the workflow fails, remove this line from every section except for step 1, 2, and 7 | |
# Future todo: keep an updated fork and switch: uses: lowlighter/metrics@latest to seanpm2001/Lowlighter_Metrics@latest | |
# Should export to 25 separate SVG files | |
jobs: | |
metrics: | |
runs-on: ubuntu-latest | |
steps: | |
# Step 1 | |
- name: βοΈ @seanpm2001 GitHub General | |
if: ${{ success() || failure() }} | |
uses: lowlighter/metrics@latest | |
with: | |
filename: GitHub_Stats_B_GitHub_Languages.svg | |
token: ${{ secrets.TOKEN }} | |
base: header | |
base_indepth: yes | |
config_order: base.header, isocalendar, languages, notable, discussions, topics | |
output_action: gist | |
committer_gist: ${{ secrets.GIST }} | |
plugin_isocalendar: yes | |
plugin_languages: yes | |
plugin_languages_details: lines, bytes-size, percentage | |
plugin_languages_sections: most-used, recently-used | |
plugin_languages_indepth: yes | |
plugin_languages_limit: 2 | |
plugin_topics: yes | |
plugin_topics_limit: 0 | |
plugin_topics_mode: icons | |
plugin_notable: yes | |
plugin_discussions: yes | |
# Step 2 | |
- name: π«οΈ @seanpm2001 GitHub Achievements | |
if: ${{ success() || failure() }} | |
uses: lowlighter/metrics@latest | |
with: | |
filename: GitHub_Stats_B_GitHub_Achievements.svg | |
token: ${{ secrets.TOKEN }} | |
base: "" | |
output_action: gist | |
committer_gist: ${{ secrets.GIST }} | |
plugin_achievements: yes | |
plugin_achievements_display: compact | |
plugin_fortune: yes | |
# Step 3 | |
- name: ποΈ @seanpm2001 GitHub Stargazer graph βοΈ | |
if: ${{ success() || failure() }} | |
uses: lowlighter/metrics@latest | |
with: | |
filename: GitHub_Stats_B_GitHub_Stargazers_Graph.svg | |
token: ${{ secrets.METRICS_TOKEN }} | |
base: "" | |
plugin_stargazers: yes | |
plugin_stargazers_charts_type: graph | |
# Step 4 | |
- name: ποΈ @seanpm2001 GitHub Stargazers chart βοΈ | |
if: ${{ success() || failure() }} | |
uses: lowlighter/metrics@latest | |
with: | |
filename: GitHub_Stats_B_GitHub_Stargazers_Chart.svg | |
token: ${{ secrets.METRICS_TOKEN }} | |
base: "" | |
plugin_stargazers: yes | |
# Step 5 | |
- name: π³οΈ @seanpm2001 GitHub Licenses and permissions | |
if: ${{ success() || failure() }} | |
with: | |
filename: GitHub_Stats_B_GitHub_Licenses_Overview.svg | |
token: ${{ secrets.METRICS_TOKEN }} | |
base: "" | |
template: repository | |
repo: metrics | |
plugin_licenses: yes | |
plugin_licenses_setup: bash -c '[[ -f package.json ]] && npm ci || true' | |
# Step 6 | |
- name: ποΈ @seanpm2001 GitHub Licenses with open-source ratio graphs π³οΈ | |
if: ${{ success() || failure() }} | |
uses: lowlighter/metrics@latest | |
with: | |
filename: GitHub_Stats_B_GitHub_Licenses_Ratio.svg | |
token: ${{ secrets.METRICS_TOKEN }} | |
base: "" | |
template: repository | |
repo: metrics | |
plugin_licenses: yes | |
plugin_licenses_setup: bash -c '[[ -f package.json ]] && npm ci || true' | |
plugin_licenses_legal: no | |
plugin_licenses_ratio: yes | |
# Step 7 | |
- name: π @seanpm2001 GitHub Sponsorships | |
if: ${{ success() || failure() }} | |
uses: lowlighter/metrics@latest | |
with: | |
filename: GitHub_Stats_B_GitHub_Sponsorships.svg | |
token: ${{ secrets.METRICS_TOKEN_PERSONAL }} | |
base: "" | |
plugin_sponsorships: yes | |
# Step 8 | |
- name: ποΈ @seanpm2001 GitHub heatmap Current year calendar | |
if: ${{ success() || failure() }} | |
uses: lowlighter/metrics@latest | |
with: | |
filename: GitHub_Stats_B_GitHub_Calendar_2024.svg | |
token: ${{ secrets.METRICS_TOKEN }} | |
base: "" | |
plugin_calendar: yes | |
# Step 9 | |
- name: ποΈ @seanpm2001 GitHub heatmap Full history calendar | |
if: ${{ success() || failure() }} | |
uses: lowlighter/metrics@latest | |
with: | |
filename: GitHub_Stats_B_GitHub_Calendar_2020-Present.svg | |
token: ${{ secrets.METRICS_TOKEN }} | |
base: "" | |
plugin_calendar: yes | |
plugin_calendar_limit: 0 | |
# Step 10 | |
- name: π¦οΈ @Seanpm2001 GitHub Repositories traffic | |
if: ${{ success() || failure() }} | |
uses: lowlighter/metrics@latest | |
with: | |
filename: GitHub_Stats_B_GitHub_Repository_Traffic.svg | |
token: ${{ secrets.METRICS_TOKEN }} | |
base: repositories | |
plugin_traffic: yes | |
# Step 11 | |
- name: ποΈ @seanpm2001 GitHub Skyline (2020) | |
if: ${{ success() || failure() }} | |
uses: lowlighter/metrics@latest | |
with: | |
filename: GitHub_Stats_B_Seanpm2001_GitHub_Skyline_2020.svg | |
token: NOT_NEEDED | |
base: "" | |
plugin_skyline: yes | |
plugin_skyline_year: 2020 | |
plugin_skyline_frames: 6 | |
plugin_skyline_quality: 1 | |
# Step 12 | |
- name: ποΈ @seanpm2001 GitHub Skyline (2021) | |
if: ${{ success() || failure() }} | |
uses: lowlighter/metrics@latest | |
with: | |
filename: GitHub_Stats_B_Seanpm2001_GitHub_Skyline_2021.svg | |
token: NOT_NEEDED | |
base: "" | |
plugin_skyline: yes | |
plugin_skyline_year: 2021 | |
plugin_skyline_frames: 6 | |
plugin_skyline_quality: 1 | |
# Step 13 | |
- name: ποΈ @seanpm2001 GitHub Skyline (2022) | |
if: ${{ success() || failure() }} | |
uses: lowlighter/metrics@latest | |
with: | |
filename: GitHub_Stats_B_Seanpm2001_GitHub_Skyline_2022.svg | |
token: NOT_NEEDED | |
base: "" | |
plugin_skyline: yes | |
plugin_skyline_year: 2022 | |
plugin_skyline_frames: 6 | |
plugin_skyline_quality: 1 | |
# Step 14 | |
- name: ποΈ @seanpm2001 GitHub Skyline (2023) | |
if: ${{ success() || failure() }} | |
uses: lowlighter/metrics@latest | |
with: | |
filename: GitHub_Stats_B_Seanpm2001_GitHub_Skyline_2023.svg | |
token: NOT_NEEDED | |
base: "" | |
plugin_skyline: yes | |
plugin_skyline_year: 2023 | |
plugin_skyline_frames: 6 | |
plugin_skyline_quality: 1 | |
# Step 15 | |
- name: ποΈ @seanpm2001 GitHub Skyline (2024) | |
if: ${{ success() || failure() }} | |
uses: lowlighter/metrics@latest | |
with: | |
filename: GitHub_Stats_B_Seanpm2001_GitHub_Skyline_2024.svg | |
token: NOT_NEEDED | |
base: "" | |
plugin_skyline: yes | |
plugin_skyline_year: 2024 | |
plugin_skyline_frames: 6 | |
plugin_skyline_quality: 1 | |
# Step 16 | |
- name: ποΈ @seanpm2001 GitHub City (2020) | |
if: ${{ success() || failure() }} | |
uses: lowlighter/metrics@latest | |
with: | |
filename: GitHub_Stats_B_Seanpm2001_GitHub_City_2020.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" | |
} | |
# Step 17 | |
- name: ποΈ @seanpm2001 GitHub City (2021) | |
if: ${{ success() || failure() }} | |
uses: lowlighter/metrics@latest | |
with: | |
filename: GitHub_Stats_B_Seanpm2001_GitHub_City_2021.svg | |
token: NOT_NEEDED | |
base: "" | |
plugin_skyline: yes | |
plugin_skyline_year: 2021 | |
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" | |
} | |
# Step 18 | |
- name: ποΈ @seanpm2001 GitHub City (2022) | |
if: ${{ success() || failure() }} | |
uses: lowlighter/metrics@latest | |
with: | |
filename: GitHub_Stats_B_Seanpm2001_GitHub_City_2022.svg | |
token: NOT_NEEDED | |
base: "" | |
plugin_skyline: yes | |
plugin_skyline_year: 2022 | |
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" | |
} | |
# Step 19 | |
- name: ποΈ @seanpm2001 GitHub City (2023) | |
if: ${{ success() || failure() }} | |
uses: lowlighter/metrics@latest | |
with: | |
filename: GitHub_Stats_B_Seanpm2001_GitHub_City_2023.svg | |
token: NOT_NEEDED | |
base: "" | |
plugin_skyline: yes | |
plugin_skyline_year: 2023 | |
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" | |
} | |
# Step 20 | |
- name: ποΈ @seanpm2001 GitHub City (2024) | |
if: ${{ success() || failure() }} | |
uses: lowlighter/metrics@latest | |
with: | |
filename: GitHub_Stats_B_Seanpm2001_GitHub_City_2024.svg | |
token: NOT_NEEDED | |
base: "" | |
plugin_skyline: yes | |
plugin_skyline_year: 2024 | |
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" | |
} | |
# Step 21 | |
- name: π·οΈ @seanpm2001 GitHub starred Labels βοΈ | |
if: ${{ success() || failure() }} | |
uses: lowlighter/metrics@latest | |
with: | |
filename: GitHub_Stats_B_Seanpm2001_GitHub_StarredTopics_Labels_20.svg | |
token: NOT_NEEDED | |
base: "" | |
plugin_topics: yes | |
plugin_topics_limit: 20 | |
# Step 22 | |
- name: ποΈ @seanpm2001 GitHub starred topics Icons βοΈ | |
if: ${{ success() || failure() }} | |
uses: lowlighter/metrics@latest | |
with: | |
filename: GitHub_Stats_B_Seanpm2001_GitHub_StarredTopics_Icons_60.svg | |
token: NOT_NEEDED | |
base: "" | |
plugin_topics: yes | |
plugin_topics_limit: 60 | |
plugin_topics_mode: icons | |
# Step 23 | |
- name: π οΈ @seanpm2001 GitHub Half-year isometric calendar π³οΈ | |
if: ${{ success() || failure() }} | |
uses: lowlighter/metrics@latest | |
with: | |
filename: GitHub_Stats_B_Seanpm2001_GitHub_HalfYear_IsometricCalendar.svg | |
token: ${{ secrets.METRICS_TOKEN }} | |
base: "" | |
plugin_isocalendar: yes | |
# Step 24 | |
- name: π οΈ @seanpm2001 GitHub Full-year isometric calendar π³οΈ | |
uses: lowlighter/metrics@latest | |
with: | |
filename: GitHub_Stats_B_Seanpm2001_GitHub_FullYear_IsometricCalendar.svg | |
token: ${{ secrets.METRICS_TOKEN }} | |
base: "" | |
plugin_isocalendar: yes | |
plugin_isocalendar_duration: full-year | |
# Step 25 | |
- name: π¬οΈ @seanpm2001 GitHub Discussions π¨οΈ | |
uses: lowlighter/metrics@latest | |
with: | |
filename: GitHub_Stats_B_Seanpm2001-GitHub-Discussions.svg | |
token: ${{ secrets.METRICS_TOKEN }} | |
base: "" | |
plugin_discussions: yes | |
plugin_discussions_categories_limit: 0 | |
# - name: π¦ Splatoon | |
# uses: lowlighter/metrics@latest | |
# if: ${{ success() || failure() }} | |
# with: | |
# filename: splatoon.svg | |
# token: ${{ secrets.TOKEN }} | |
# base: "" | |
# output_action: gist | |
# committer_gist: ${{ secrets.GIST }} | |
# plugin_splatoon: yes | |
# plugin_splatoon_token: ${{ secrets.SPLATOON_TOKEN }} | |
# plugin_splatoon_statink: yes | |
# plugin_splatoon_statink_token: ${{ secrets.SPLATOON_STATINK_TOKEN }} | |
# plugin_splatoon_sections: salmon-run | |
# plugin_splatoon_salmon_limit: 2 | |
# extras_css: | | |
# h2 { display: none !important; } | |
# .match:not(:last-child) { padding-bottom: 4px; } | |
# - name: π¦ Medias | |
# if: ${{ success() || failure() }} | |
# uses: lowlighter/metrics@latest | |
# with: | |
# filename: medias.svg | |
# token: ${{ secrets.TOKEN }} | |
# base: "" | |
# config_order: anilist, music | |
# output_action: gist | |
# committer_gist: ${{ secrets.GIST }} | |
# plugin_anilist: yes | |
# plugin_anilist_medias: anime | |
# plugin_anilist_sections: favorites, characters | |
# plugin_anilist_limit: 2 | |
# plugin_anilist_limit_characters: 22 | |
# plugin_music: yes | |
# plugin_music_playlist: ${{ secrets.PLAYLIST }} | |
# plugin_music_limit: 9 | |
# - name: π¦ Sponsors | |
# if: ${{ success() || failure() }} | |
# uses: lowlighter/metrics@latest | |
# with: | |
# filename: sponsors.svg | |
# token: ${{ secrets.TOKEN }} | |
# base: "" | |
# output_action: gist | |
# committer_gist: ${{ secrets.GIST }} | |
# plugin_sponsors: yes | |
# plugin_sponsors_past: yes | |
# plugin_sponsorships: yes | |
# plugin_sponsorships_sections: amount | |
# File info | |
# File version: 1 (2024, Tuesday, March 26th at 11:08 pm PST) |