From 625bdadf73d5354385252f408cb9b2a539e64ae5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 16 Jan 2022 14:34:52 +0000 Subject: [PATCH] ci: auto-regenerate files --- README.md | 62 +++++++----------- action.yml | 149 ++++++++++++++++++------------------------ settings.example.json | 12 ++-- 3 files changed, 93 insertions(+), 130 deletions(-) diff --git a/README.md b/README.md index 9601f760..f8a99069 100644 --- a/README.md +++ b/README.md @@ -65,15 +65,11 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
Licenses overview
- -
Recent activity charts - -
-
Midly interesting facts - -
- - + +
Recent activity charts
+
Midly interesting facts
+ + 🏅 Repository contributors @@ -101,15 +97,11 @@ Generate metrics that can be embedded everywhere, including your GitHub profile - -
Related to an user - -
-
Related to a repository - -
- - + +
Related to an user
+
Related to a repository
+ + ✨ Stargazers over last weeks @@ -232,27 +224,17 @@ Generate metrics that can be embedded everywhere, including your GitHub profile 🎼 Music plugin - -
PageSpeed scores - -
-
PageSpeed scores with detailed report - -
-
PageSpeed scores with a website screenshot - -
- - - -
Random tracks from a playlist - -
-
Recently listened - -
- - + +
PageSpeed scores
+
PageSpeed scores with detailed report
+
PageSpeed scores with a website screenshot
+ + + +
Random tracks from a playlist
+
Recently listened
+ + 🗨️ StackOverflow plugin @@ -402,7 +384,7 @@ There are several ways to setup metrics, each having its advantages and disadvan * [🏗️ Deploying a web instance *(~20 min)*](/.github/readme/partials/documentation/setup/web.md) * ✔️ Create another shared instance * ➖ Requires some sysadmin knowlegde -* [🐳 Using command line with docker *(~5 min)*](/.github/readme/partials/documentation/setup/docker.md) +* [🐳 Using command line with docker *(~2 min)*](/.github/readme/partials/documentation/setup/docker.md) * ✔️ Suited for one-time rendering * [🔧 Local setup for development *(~20 min)*](/.github/readme/partials/documentation/setup/local.md) diff --git a/action.yml b/action.yml index 38a9983a..b2762e4d 100644 --- a/action.yml +++ b/action.yml @@ -434,37 +434,34 @@ inputs: # ==================================================================================== # 💡 Coding habits - # Enable or disable plugin + plugin_habits: - description: Display coding habits metrics + description: Enable habits plugin default: no - # Number of events to use to computes habits - # Using more will result in more accurate metrics, but you may hit GitHub rate-limit more easily + plugin_habits_from: - description: Number of events to use + description: Events to use default: 200 - # Filter used events to compute habits by age + plugin_habits_days: - description: Maximum event age + description: Event maximum age default: 14 - # Display tidbits about your most active hours/days, indents used (spaces/tabs), etc. - # This is deduced from your recent activity + plugin_habits_facts: - description: Display coding habits collected facts based on recent activity + description: Toggle midly interesting facts display default: yes - # Display charts of most active time of the day and most active day of the week - # Also display languages recently used (this is not the same as plugin_languages, as the latter is an all-time stats) + plugin_habits_charts: - description: Display coding habits charts based on recent activity + description: Toggle charts display default: no - # Trim unused hours on daily chart + plugin_habits_trim: - description: Trim unused hours on daily chart + description: Trim unused hours on charts default: no # ==================================================================================== @@ -579,48 +576,44 @@ inputs: # ==================================================================================== # 🧑‍🤝‍🧑 People plugin - # Enable or disable plugin + plugin_people: - description: Display GitHub users from various affiliations + description: Enable people plugin default: no - # Number of users to display per section + plugin_people_limit: - description: Maximum number of user to display + description: Display limit default: 24 - # Size of displayed user's avatar - plugin_people_size: - description: Size of displayed GitHub users' avatars - default: 28 - # List of section to display - # Ordering will be kept - plugin_people_types: - description: Affiliations to display - default: followers, following - - # When displaying "thanks" section, specified users list will be displayed - # This is useful to craft "Special thanks" badges - plugin_people_thanks: - description: GitHub users to personally thanks - default: "" - - # Add specified users to GitHub sponsors ("sponsors" must be specified in "plugin_people_types") - # This is useful to list sponsors from unsupported GitHub sponsors sources - plugin_people_sponsors_custom: - description: Custom GitHub sponsors - default: "" - - # Use GitHub identicons instead of users' avatar (for privacy purposes) plugin_people_identicons: - description: Use identicons instead of avatars + description: Toggle identicons display default: no - # Shuffle users for varied outputs - # If "plugin_people_limit" is set, plugin will fetch up to 10 ten times limit to ensure output is different each time + + plugin_people_size: + description: Profile picture display size + default: 28 + + + plugin_people_types: + description: Displayed sections (order is respected) + default: followers, following + + + plugin_people_thanks: + description: Special thanks + default: "" + + + plugin_people_sponsors_custom: + description: Custom sponsors + default: "" + + plugin_people_shuffle: - description: Shuffle users + description: Shuffle data for varied output default: no # ==================================================================================== @@ -964,32 +957,27 @@ inputs: # ==================================================================================== # ⏱️ Website performances - # Enable or disable plugin + plugin_pagespeed: - description: Display a website Google PageSpeed metrics + description: Enable pagespeed plugin default: no - # Website to audit with PageSpeed + plugin_pagespeed_url: description: Audited website default: .user.website - # Display the following additional metrics from audited website: - # First Contentful Paint, Speed Index, Largest Contentful Paint, Time to Interactive, Total Blocking Time, Cumulative Layout Shift - # See https://web.dev/performance-scoring/ and https://googlechrome.github.io/lighthouse/scorecalc/ for more informations + plugin_pagespeed_detailed: - description: Detailed audit result + description: Detailed results default: no - # Display a screenshot of audited website - # May increases significantly filesize + plugin_pagespeed_screenshot: - description: Display a screenshot of your website + description: Display a website screenshot default: no - # PageSpeed API token - # This is optional, but providing it will avoid hitting rate-limiter - # See https://developers.google.com/speed/docs/insights/v5/get-started for more informations + plugin_pagespeed_token: description: PageSpeed token default: "" @@ -997,59 +985,52 @@ inputs: # ==================================================================================== # 🎼 Music plugin - # Enable or disable plugin + plugin_music: - description: Display your music tracks + description: Enable music plugin default: no - # Name of music provider - # This is optional for "playlist" mode (it can be deduced automatically from "plugin_music_playlist" url) - # This is required in other modes + plugin_music_provider: description: Music provider default: "" - # Music provider token - # This may be required depending on music provider used and plugin mode - # - "apple" : not required - # - "spotify" : required for "recent" or "top" mode, format is "client_id, client_secret, refresh_token" - # - "lastfm" : required, format is "api_key" - # - "youtube" : required for "recent" mode, format is "cookie" + plugin_music_token: - description: Music provider personal token + description: Music provider token default: "" - # Plugin mode + plugin_music_mode: - description: Plugin mode + description: Display mode default: "" - # Embed playlist url (i.e. url used by music player iframes) + plugin_music_playlist: - description: Embed playlist url + description: Playlist URL default: "" - # Number of music tracks to display + plugin_music_limit: - description: Maximum number of tracks to display + description: Display limit default: 4 - # Display when track was last played + plugin_music_played_at: - description: Display when the track was played + description: Recently played - Toggle last played timestamp display default: no - # Time range for "top" mode + plugin_music_time_range: - description: Time period for top mode + description: Top tracks - Time range for `top` mode default: short - # Option for "top" mode to select tracks or artists + plugin_music_top_type: - description: Whether to show tracks or artists in top mode + description: Top tracks - Display type default: tracks - # Username on music provider service + plugin_music_user: description: Music provider username default: .user.login diff --git a/settings.example.json b/settings.example.json index a4f6a6a4..d1e49dfb 100644 --- a/settings.example.json +++ b/settings.example.json @@ -48,7 +48,7 @@ "enabled": false, "//": "Enable licenses plugin" }, "habits":{ - "enabled": false, "//": "Display coding habits metrics" + "enabled": false, "//": "Enable habits plugin" }, "contributors":{ "enabled": false, "//": "Enable contributors plugin" @@ -60,7 +60,7 @@ "enabled": false, "//": "Enable reactions plugin" }, "people":{ - "enabled": false, "//": "Display GitHub users from various affiliations" + "enabled": false, "//": "Enable people plugin" }, "stargazers":{ "enabled": false, "//": "Enable stargazers plugin" @@ -111,12 +111,12 @@ "enabled": false, "//": "Enable skyline plugin" }, "pagespeed":{ - "token": null, "//":"PageSpeed token", - "enabled": false, "//": "Display a website Google PageSpeed metrics" + "token": null, "//":"PageSpeed token\n\nAlthough not mandatory, it strongly advised to create one to avoid triggering the rate limiter. See [PageSpeed documentation](https://developers.google.com/speed/docs/insights/v5/get-started) for more informations.\n", + "enabled": false, "//": "Enable pagespeed plugin" }, "music":{ - "token": null, "//":"Music provider personal token", - "enabled": false, "//": "Display your music tracks" + "token": null, "//":"Music provider token\n\nBelow is the expected token format for each provider:\n- `apple`: *(not supported)*\n- `spotify`: \"client_id, client_secret, refresh_token\"\n- `lastfm`: \"api_key\"\n- `youtube`: \"cookie\"\n", + "enabled": false, "//": "Enable music plugin" }, "stackoverflow":{ "enabled": false, "//": "Enable stackoverflow plugin"