ci: auto-regenerate files [skip ci]

This commit is contained in:
lowlighter
2022-01-25 21:17:27 -05:00
parent c08a17596d
commit 48752e4438
11 changed files with 144 additions and 13 deletions

View File

@@ -420,7 +420,7 @@ jobs:
user: lowlighter user: lowlighter
plugins_errors_fatal: yes plugins_errors_fatal: yes
if: ${{ success() || failure() }} if: ${{ success() || failure() }}
- name: ✨ Stargazers over last weeks - Last weeks stargazers - name: ✨ Stargazers over last weeks - Using classic charts
uses: lowlighter/metrics@master uses: lowlighter/metrics@master
with: with:
filename: metrics.plugin.stargazers.svg filename: metrics.plugin.stargazers.svg
@@ -432,6 +432,19 @@ jobs:
user: lowlighter user: lowlighter
plugins_errors_fatal: yes plugins_errors_fatal: yes
if: ${{ success() || failure() }} if: ${{ success() || failure() }}
- name: ✨ Stargazers over last weeks - Using chartist charts
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.stargazers.chartist.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_stargazers: yes
plugin_stargazers_charts_type: chartist
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🗂️ Active projects - Project from a repository - name: 🗂️ Active projects - Project from a repository
uses: lowlighter/metrics@master uses: lowlighter/metrics@master
with: with:

View File

@@ -19,7 +19,7 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
</tr> </tr>
<tr> <tr>
<th colspan="2" align="center"> <th colspan="2" align="center">
<h3><a href="/README.md#-plugins">🧩 Customizable with 38 plugins and 237 options!</a></h3> <h3><a href="/README.md#-plugins">🧩 Customizable with 39 plugins and 239 options!</a></h3>
</th> </th>
</tr> </tr>
<tr> <tr>
@@ -109,7 +109,8 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
</tr> </tr>
<tr> <tr>
<td align="center"> <td align="center">
<img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.svg" alt=""></img> <details open><summary>Chartist charts</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.chartist.svg" alt=""></img></details>
<details><summary>Classic charts</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.svg" alt=""></img></details>
<img width="900" height="1" alt=""> <img width="900" height="1" alt="">
</td> </td>
<td align="center"> <td align="center">
@@ -438,6 +439,7 @@ Plugins provide additional content and lets you customize rendered metrics.
* [⏰ WakaTime plugin <sub>`wakatime`</sub>](/source/plugins/wakatime/README.md) * [⏰ WakaTime plugin <sub>`wakatime`</sub>](/source/plugins/wakatime/README.md)
**🎲 Maintained by community** **🎲 Maintained by community**
* [🥠 Fortune <sub>`fortune`</sub>](/source/plugins/community/fortune/README.md) by [@lowlighter](https://github.com/lowlighter)
* [💉 Nightscout <sub>`nightscout`</sub>](/source/plugins/community/nightscout/README.md) by [@legoandmars](https://github.com/legoandmars) * [💉 Nightscout <sub>`nightscout`</sub>](/source/plugins/community/nightscout/README.md) by [@legoandmars](https://github.com/legoandmars)
* [💩 PoopMap plugin <sub>`poopmap`</sub>](/source/plugins/community/poopmap/README.md) by [@matievisthekat](https://github.com/matievisthekat) * [💩 PoopMap plugin <sub>`poopmap`</sub>](/source/plugins/community/poopmap/README.md) by [@matievisthekat](https://github.com/matievisthekat)
* [📸 Website screenshot <sub>`screenshot`</sub>](/source/plugins/community/screenshot/README.md) by [@lowlighter](https://github.com/lowlighter) * [📸 Website screenshot <sub>`screenshot`</sub>](/source/plugins/community/screenshot/README.md) by [@lowlighter](https://github.com/lowlighter)

11
action.yml generated
View File

@@ -488,6 +488,10 @@ inputs:
description: Enable stargazers plugin description: Enable stargazers plugin
default: no default: no
plugin_stargazers_charts_type:
description: Charts display type
default: null
# ==================================================================================== # ====================================================================================
# 🗂️ Active projects # 🗂️ Active projects
@@ -985,6 +989,13 @@ inputs:
description: WakaTime username description: WakaTime username
default: current default: current
# ====================================================================================
# 🥠 Fortune
plugin_fortune:
description: Enable fortune plugin
default: no
# ==================================================================================== # ====================================================================================
# 💉 Nightscout # 💉 Nightscout

3
settings.example.json generated
View File

@@ -140,6 +140,9 @@
"token": null, "//":"WakaTime API token", "token": null, "//":"WakaTime API token",
"enabled": false, "//": "Enable wakatime plugin" "enabled": false, "//": "Enable wakatime plugin"
}, },
"fortune":{
"enabled": false, "//": "Enable fortune plugin"
},
"nightscout":{ "nightscout":{
"enabled": false, "//": "Enable nightscout plugin" "enabled": false, "//": "Enable nightscout plugin"
}, },

View File

@@ -45,6 +45,7 @@ Plugins provide additional content and lets you customize rendered metrics.
* [⏰ WakaTime plugin <sub>`wakatime`</sub>](/source/plugins/wakatime/README.md) * [⏰ WakaTime plugin <sub>`wakatime`</sub>](/source/plugins/wakatime/README.md)
**🎲 Maintained by community** **🎲 Maintained by community**
* [🥠 Fortune <sub>`fortune`</sub>](/source/plugins/community/fortune/README.md) by [@lowlighter](https://github.com/lowlighter)
* [💉 Nightscout <sub>`nightscout`</sub>](/source/plugins/community/nightscout/README.md) by [@legoandmars](https://github.com/legoandmars) * [💉 Nightscout <sub>`nightscout`</sub>](/source/plugins/community/nightscout/README.md) by [@legoandmars](https://github.com/legoandmars)
* [💩 PoopMap plugin <sub>`poopmap`</sub>](/source/plugins/community/poopmap/README.md) by [@matievisthekat](https://github.com/matievisthekat) * [💩 PoopMap plugin <sub>`poopmap`</sub>](/source/plugins/community/poopmap/README.md) by [@matievisthekat](https://github.com/matievisthekat)
* [📸 Website screenshot <sub>`screenshot`</sub>](/source/plugins/community/screenshot/README.md) by [@lowlighter](https://github.com/lowlighter) * [📸 Website screenshot <sub>`screenshot`</sub>](/source/plugins/community/screenshot/README.md) by [@lowlighter](https://github.com/lowlighter)

View File

@@ -2,31 +2,41 @@
<tr><th colspan="2"><h3>🎲 Community plugins</h3></th></tr> <tr><th colspan="2"><h3>🎲 Community plugins</h3></th></tr>
<tr><td colspan="2" align="center">Additional plugins maintained by community for even more features!</td></tr> <tr><td colspan="2" align="center">Additional plugins maintained by community for even more features!</td></tr>
<tr> <tr>
<th><a href="source/plugins/community/fortune/README.md">🥠 Fortune</a></th>
<th><a href="source/plugins/community/nightscout/README.md">💉 Nightscout</a></th> <th><a href="source/plugins/community/nightscout/README.md">💉 Nightscout</a></th>
<th><a href="source/plugins/community/poopmap/README.md">💩 PoopMap plugin</a></th>
</tr> </tr>
<tr> <tr>
<td align="center">
<img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.fortune.svg" alt=""></img>
<img width="900" height="1" alt="">
</td>
<td align="center"> <td align="center">
<img alt="" width="400" src="https://github.com/legoandmars/legoandmars/blob/master/metrics.plugin.nightscout.svg" alt=""></img> <img alt="" width="400" src="https://github.com/legoandmars/legoandmars/blob/master/metrics.plugin.nightscout.svg" alt=""></img>
<img width="900" height="1" alt=""> <img width="900" height="1" alt="">
</td> </td>
</tr> <tr>
<th><a href="source/plugins/community/poopmap/README.md">💩 PoopMap plugin</a></th>
<th><a href="source/plugins/community/screenshot/README.md">📸 Website screenshot</a></th>
</tr>
<tr>
<td align="center"> <td align="center">
<img alt="" width="400" src="https://github.com/matievisthekat/matievisthekat/blob/master/metrics.plugin.poopmap.svg" alt=""></img> <img alt="" width="400" src="https://github.com/matievisthekat/matievisthekat/blob/master/metrics.plugin.poopmap.svg" alt=""></img>
<img width="900" height="1" alt=""> <img width="900" height="1" alt="">
</td> </td>
</tr> <tr>
<th><a href="source/plugins/community/screenshot/README.md">📸 Website screenshot</a></th>
<th><a href="source/plugins/community/stock/README.md">💹 Stock prices</a></th>
</tr>
<tr>
<td align="center"> <td align="center">
<img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.screenshot.svg" alt=""></img> <img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.screenshot.svg" alt=""></img>
<img width="900" height="1" alt=""> <img width="900" height="1" alt="">
</td> </td>
</tr> <tr>
<th><a href="source/plugins/community/stock/README.md">💹 Stock prices</a></th>
<th></th>
</tr>
<tr>
<td align="center"> <td align="center">
<img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stock.svg" alt=""></img> <img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stock.svg" alt=""></img>
<img width="900" height="1" alt=""> <img width="900" height="1" alt="">
</td> </td>
<td align="center"><img width="900" height="1" alt=""></td>
</tr> </tr>
</table> </table>

View File

@@ -1,12 +1,60 @@
<!--header--> <!--header-->
<table>
<tr><th colspan="2"><h3>🥠 Fortune</h3></th></tr>
<tr><td colspan="2" align="center"><p>This plugins displays a random fortune message</p>
</td></tr>
<tr><th>Authors</th><td><a href="https://github.com/lowlighter">@lowlighter</a></td></tr>
<tr>
<th rowspan="3">Supported features<br><sub><a href="metadata.yml">→ Full specification</a></sub></th>
<td><a href="/source/templates/classic/README.md"><code>📗 Classic template</code></a></td>
</tr>
<tr>
<td><code>👤 Users</code></td>
</tr>
<tr>
<td><i>No tokens are required for this plugin</i></td>
</tr>
<tr>
<td colspan="2" align="center">
<img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.fortune.svg" alt=""></img>
<img width="900" height="1" alt="">
</td>
</tr>
</table>
<!--/header--> <!--/header-->
## ➡️ Available options ## ➡️ Available options
<!--options--> <!--options-->
<table>
<tr>
<td align="center" nowrap="nowrap">Type</i></td><td align="center" nowrap="nowrap">Description</td>
</tr>
<tr>
<td nowrap="nowrap"><code>plugin_fortune</code></td>
<td rowspan="2"><p>Enable fortune plugin</p>
<img width="900" height="1" alt=""></td>
</tr>
<tr>
<td nowrap="nowrap">✨ On <code>master</code>/<code>main</code><br>
<b>type:</b> <code>boolean</code>
<br>
<b>default:</b> no<br></td>
</tr>
</table>
<!--/options--> <!--/options-->
## Examples workflows ## Examples workflows
<!--examples--> <!--examples-->
```yaml
name: Fortune
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.fortune.svg
token: NOT_NEEDED
base: ""
plugin_fortune: yes
```
<!--/examples--> <!--/examples-->

View File

@@ -15,7 +15,8 @@
</tr> </tr>
<tr> <tr>
<td colspan="2" align="center"> <td colspan="2" align="center">
<img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.svg" alt=""></img> <details open><summary>Chartist charts</summary><img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.chartist.svg" alt=""></img></details>
<details><summary>Classic charts</summary><img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.svg" alt=""></img></details>
<img width="900" height="1" alt=""> <img width="900" height="1" alt="">
</td> </td>
</tr> </tr>
@@ -39,6 +40,22 @@
<br> <br>
<b>default:</b> no<br></td> <b>default:</b> no<br></td>
</tr> </tr>
<tr>
<td nowrap="nowrap"><code>plugin_stargazers_charts_type</code></td>
<td rowspan="2"><p>Charts display type</p>
<ul>
<li><code>classic</code>: <code>&lt;div&gt;</code> based charts, simple and lightweight</li>
<li><code>chartist</code>: <code>&lt;svg&gt;</code> based charts, smooth</li>
</ul>
<img width="900" height="1" alt=""></td>
</tr>
<tr>
<td nowrap="nowrap">✨ On <code>master</code>/<code>main</code><br>
<b>type:</b> <code>string</code>
<br>
<b>default:</b> null<br>
<b>allowed values:</b><ul><li>classic</li><li>chartist</li></ul></td>
</tr>
</table> </table>
<!--/options--> <!--/options-->
@@ -46,7 +63,7 @@
<!--examples--> <!--examples-->
```yaml ```yaml
name: Last weeks stargazers name: Using classic charts
uses: lowlighter/metrics@latest uses: lowlighter/metrics@latest
with: with:
filename: metrics.plugin.stargazers.svg filename: metrics.plugin.stargazers.svg
@@ -54,5 +71,16 @@ with:
base: "" base: ""
plugin_stargazers: yes plugin_stargazers: yes
```
```yaml
name: Using chartist charts
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.stargazers.chartist.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_stargazers: yes
plugin_stargazers_charts_type: chartist
``` ```
<!--/examples--> <!--/examples-->

View File

@@ -6,7 +6,7 @@ This is also the default template.</p>
</td></tr> </td></tr>
<tr> <tr>
<th rowspan="3">Supported features<br><sub><a href="metadata.yml">→ Full specification</a></sub></th> <th rowspan="3">Supported features<br><sub><a href="metadata.yml">→ Full specification</a></sub></th>
<td><a href="/source/plugins/achievements/README.md" title="🏆 Achievements">🏆</a> <a href="/source/plugins/activity/README.md" title="📰 Recent activity">📰</a> <a href="/source/plugins/anilist/README.md" title="🌸 Anilist watch list and reading list">🌸</a> <a href="/source/plugins/code/README.md" title="♐ Code snippet of the day">♐</a> <a href="/source/plugins/nightscout/README.md" title="💉 Nightscout">💉</a> <a href="/source/plugins/poopmap/README.md" title="💩 PoopMap plugin">💩</a> <a href="/source/plugins/screenshot/README.md" title="📸 Website screenshot">📸</a> <a href="/source/plugins/stock/README.md" title="💹 Stock prices">💹</a> <a href="/source/plugins/discussions/README.md" title="💬 Discussions">💬</a> <a href="/source/plugins/followup/README.md" title="🎟️ Follow-up of issues and pull requests">🎟️</a> <a href="/source/plugins/gists/README.md" title="🎫 Gists">🎫</a> <a href="/source/plugins/habits/README.md" title="💡 Coding habits">💡</a> <a href="/source/plugins/introduction/README.md" title="🙋 Introduction">🙋</a> <a href="/source/plugins/isocalendar/README.md" title="📅 Isometric commit calendar">📅</a> <a href="/source/plugins/languages/README.md" title="🈷️ Most used languages">🈷️</a> <a href="/source/plugins/lines/README.md" title="👨‍💻 Lines of code changed">👨‍💻</a> <a href="/source/plugins/music/README.md" title="🎼 Music plugin">🎼</a> <a href="/source/plugins/notable/README.md" title="🎩 Notable contributions">🎩</a> <a href="/source/plugins/pagespeed/README.md" title="⏱️ Website performances">⏱️</a> <a href="/source/plugins/people/README.md" title="🧑‍🤝‍🧑 People plugin">🧑‍🤝‍🧑</a> <a href="/source/plugins/posts/README.md" title="✒️ Recent posts">✒️</a> <a href="/source/plugins/projects/README.md" title="🗂️ Active projects">🗂️</a> <a href="/source/plugins/reactions/README.md" title="🎭 Comment reactions">🎭</a> <a href="/source/plugins/repositories/README.md" title="📓 Repositories">📓</a> <a href="/source/plugins/rss/README.md" title="🗼 Rss feed">🗼</a> <a href="/source/plugins/skyline/README.md" title="🌇 GitHub Skyline 3D calendar">🌇</a> <a href="/source/plugins/sponsors/README.md" title="💕 GitHub Sponsors">💕</a> <a href="/source/plugins/stackoverflow/README.md" title="🗨️ StackOverflow plugin">🗨️</a> <a href="/source/plugins/stargazers/README.md" title="✨ Stargazers over last weeks">✨</a> <a href="/source/plugins/starlists/README.md" title="💫 Starlists">💫</a> <a href="/source/plugins/stars/README.md" title="🌟 Recently starred repositories">🌟</a> <a href="/source/plugins/support/README.md" title="💭 GitHub Community Support">💭</a> <a href="/source/plugins/topics/README.md" title="📌 Starred topics">📌</a> <a href="/source/plugins/traffic/README.md" title="🧮 Repositories traffic">🧮</a> <a href="/source/plugins/tweets/README.md" title="🐤 Latest tweets">🐤</a> <a href="/source/plugins/wakatime/README.md" title="⏰ WakaTime plugin">⏰</a></td> <td><a href="/source/plugins/achievements/README.md" title="🏆 Achievements">🏆</a> <a href="/source/plugins/activity/README.md" title="📰 Recent activity">📰</a> <a href="/source/plugins/anilist/README.md" title="🌸 Anilist watch list and reading list">🌸</a> <a href="/source/plugins/code/README.md" title="♐ Code snippet of the day">♐</a> <a href="/source/plugins/fortune/README.md" title="🥠 Fortune">🥠</a> <a href="/source/plugins/nightscout/README.md" title="💉 Nightscout">💉</a> <a href="/source/plugins/poopmap/README.md" title="💩 PoopMap plugin">💩</a> <a href="/source/plugins/screenshot/README.md" title="📸 Website screenshot">📸</a> <a href="/source/plugins/stock/README.md" title="💹 Stock prices">💹</a> <a href="/source/plugins/discussions/README.md" title="💬 Discussions">💬</a> <a href="/source/plugins/followup/README.md" title="🎟️ Follow-up of issues and pull requests">🎟️</a> <a href="/source/plugins/gists/README.md" title="🎫 Gists">🎫</a> <a href="/source/plugins/habits/README.md" title="💡 Coding habits">💡</a> <a href="/source/plugins/introduction/README.md" title="🙋 Introduction">🙋</a> <a href="/source/plugins/isocalendar/README.md" title="📅 Isometric commit calendar">📅</a> <a href="/source/plugins/languages/README.md" title="🈷️ Most used languages">🈷️</a> <a href="/source/plugins/lines/README.md" title="👨‍💻 Lines of code changed">👨‍💻</a> <a href="/source/plugins/music/README.md" title="🎼 Music plugin">🎼</a> <a href="/source/plugins/notable/README.md" title="🎩 Notable contributions">🎩</a> <a href="/source/plugins/pagespeed/README.md" title="⏱️ Website performances">⏱️</a> <a href="/source/plugins/people/README.md" title="🧑‍🤝‍🧑 People plugin">🧑‍🤝‍🧑</a> <a href="/source/plugins/posts/README.md" title="✒️ Recent posts">✒️</a> <a href="/source/plugins/projects/README.md" title="🗂️ Active projects">🗂️</a> <a href="/source/plugins/reactions/README.md" title="🎭 Comment reactions">🎭</a> <a href="/source/plugins/repositories/README.md" title="📓 Repositories">📓</a> <a href="/source/plugins/rss/README.md" title="🗼 Rss feed">🗼</a> <a href="/source/plugins/skyline/README.md" title="🌇 GitHub Skyline 3D calendar">🌇</a> <a href="/source/plugins/sponsors/README.md" title="💕 GitHub Sponsors">💕</a> <a href="/source/plugins/stackoverflow/README.md" title="🗨️ StackOverflow plugin">🗨️</a> <a href="/source/plugins/stargazers/README.md" title="✨ Stargazers over last weeks">✨</a> <a href="/source/plugins/starlists/README.md" title="💫 Starlists">💫</a> <a href="/source/plugins/stars/README.md" title="🌟 Recently starred repositories">🌟</a> <a href="/source/plugins/support/README.md" title="💭 GitHub Community Support">💭</a> <a href="/source/plugins/topics/README.md" title="📌 Starred topics">📌</a> <a href="/source/plugins/traffic/README.md" title="🧮 Repositories traffic">🧮</a> <a href="/source/plugins/tweets/README.md" title="🐤 Latest tweets">🐤</a> <a href="/source/plugins/wakatime/README.md" title="⏰ WakaTime plugin">⏰</a></td>
</tr> </tr>
<tr> <tr>
<td><code>👤 Users</code> <code>👥 Organizations</code></td> <td><code>👤 Users</code> <code>👥 Organizations</code></td>

View File

@@ -0,0 +1,7 @@
- name: 🥠 Fortune - Fortune
uses: lowlighter/metrics@latest
with:
token: NOT_NEEDED
plugin_fortune: 'yes'
use_mocked_data: 'yes'
verify: 'yes'

View File

@@ -1,7 +1,15 @@
- name: ✨ Stargazers over last weeks - Last weeks stargazers - name: ✨ Stargazers over last weeks - Using classic charts
uses: lowlighter/metrics@latest uses: lowlighter/metrics@latest
with: with:
token: MOCKED_TOKEN token: MOCKED_TOKEN
plugin_stargazers: 'yes' plugin_stargazers: 'yes'
use_mocked_data: 'yes' use_mocked_data: 'yes'
verify: 'yes' verify: 'yes'
- name: ✨ Stargazers over last weeks - Using chartist charts
uses: lowlighter/metrics@latest
with:
token: MOCKED_TOKEN
plugin_stargazers: 'yes'
plugin_stargazers_charts_type: chartist
use_mocked_data: 'yes'
verify: 'yes'