ci: auto-regenerate files [skip ci]
This commit is contained in:
15
.github/workflows/examples.yml
vendored
15
.github/workflows/examples.yml
vendored
@@ -420,7 +420,7 @@ jobs:
|
||||
user: lowlighter
|
||||
plugins_errors_fatal: yes
|
||||
if: ${{ success() || failure() }}
|
||||
- name: ✨ Stargazers over last weeks - Last weeks stargazers
|
||||
- name: ✨ Stargazers over last weeks - Using classic charts
|
||||
uses: lowlighter/metrics@master
|
||||
with:
|
||||
filename: metrics.plugin.stargazers.svg
|
||||
@@ -432,6 +432,19 @@ jobs:
|
||||
user: lowlighter
|
||||
plugins_errors_fatal: yes
|
||||
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
|
||||
uses: lowlighter/metrics@master
|
||||
with:
|
||||
|
||||
@@ -19,7 +19,7 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
|
||||
</tr>
|
||||
<tr>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -109,7 +109,8 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
|
||||
</tr>
|
||||
<tr>
|
||||
<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="">
|
||||
</td>
|
||||
<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)
|
||||
|
||||
**🎲 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)
|
||||
* [💩 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)
|
||||
|
||||
11
action.yml
generated
11
action.yml
generated
@@ -488,6 +488,10 @@ inputs:
|
||||
description: Enable stargazers plugin
|
||||
default: no
|
||||
|
||||
plugin_stargazers_charts_type:
|
||||
description: Charts display type
|
||||
default: null
|
||||
|
||||
# ====================================================================================
|
||||
# 🗂️ Active projects
|
||||
|
||||
@@ -985,6 +989,13 @@ inputs:
|
||||
description: WakaTime username
|
||||
default: current
|
||||
|
||||
# ====================================================================================
|
||||
# 🥠 Fortune
|
||||
|
||||
plugin_fortune:
|
||||
description: Enable fortune plugin
|
||||
default: no
|
||||
|
||||
# ====================================================================================
|
||||
# 💉 Nightscout
|
||||
|
||||
|
||||
3
settings.example.json
generated
3
settings.example.json
generated
@@ -140,6 +140,9 @@
|
||||
"token": null, "//":"WakaTime API token",
|
||||
"enabled": false, "//": "Enable wakatime plugin"
|
||||
},
|
||||
"fortune":{
|
||||
"enabled": false, "//": "Enable fortune plugin"
|
||||
},
|
||||
"nightscout":{
|
||||
"enabled": false, "//": "Enable nightscout plugin"
|
||||
},
|
||||
|
||||
@@ -45,6 +45,7 @@ Plugins provide additional content and lets you customize rendered metrics.
|
||||
* [⏰ WakaTime plugin <sub>`wakatime`</sub>](/source/plugins/wakatime/README.md)
|
||||
|
||||
**🎲 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)
|
||||
* [💩 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)
|
||||
|
||||
@@ -2,31 +2,41 @@
|
||||
<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>
|
||||
<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/poopmap/README.md">💩 PoopMap plugin</a></th>
|
||||
</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">
|
||||
<img alt="" width="400" src="https://github.com/legoandmars/legoandmars/blob/master/metrics.plugin.nightscout.svg" alt=""></img>
|
||||
<img width="900" height="1" alt="">
|
||||
</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">
|
||||
<img alt="" width="400" src="https://github.com/matievisthekat/matievisthekat/blob/master/metrics.plugin.poopmap.svg" alt=""></img>
|
||||
<img width="900" height="1" alt="">
|
||||
</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">
|
||||
<img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.screenshot.svg" alt=""></img>
|
||||
<img width="900" height="1" alt="">
|
||||
</td>
|
||||
</tr> <tr>
|
||||
<th><a href="source/plugins/community/stock/README.md">💹 Stock prices</a></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stock.svg" alt=""></img>
|
||||
<img width="900" height="1" alt="">
|
||||
</td>
|
||||
<td align="center"><img width="900" height="1" alt=""></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
@@ -1,12 +1,60 @@
|
||||
<!--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-->
|
||||
|
||||
## ➡️ Available 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-->
|
||||
|
||||
## ℹ️ Examples workflows
|
||||
|
||||
<!--examples-->
|
||||
```yaml
|
||||
name: Fortune
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
filename: metrics.plugin.fortune.svg
|
||||
token: NOT_NEEDED
|
||||
base: ""
|
||||
plugin_fortune: yes
|
||||
|
||||
```
|
||||
<!--/examples-->
|
||||
|
||||
@@ -15,7 +15,8 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<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="">
|
||||
</td>
|
||||
</tr>
|
||||
@@ -39,6 +40,22 @@
|
||||
<br>
|
||||
<b>default:</b> no<br></td>
|
||||
</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><div></code> based charts, simple and lightweight</li>
|
||||
<li><code>chartist</code>: <code><svg></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>
|
||||
<!--/options-->
|
||||
|
||||
@@ -46,7 +63,7 @@
|
||||
|
||||
<!--examples-->
|
||||
```yaml
|
||||
name: Last weeks stargazers
|
||||
name: Using classic charts
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
filename: metrics.plugin.stargazers.svg
|
||||
@@ -54,5 +71,16 @@ with:
|
||||
base: ""
|
||||
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-->
|
||||
|
||||
@@ -6,7 +6,7 @@ This is also the default template.</p>
|
||||
</td></tr>
|
||||
<tr>
|
||||
<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>
|
||||
<td><code>👤 Users</code> <code>👥 Organizations</code></td>
|
||||
|
||||
7
tests/cases/fortune.plugin.yml
Normal file
7
tests/cases/fortune.plugin.yml
Normal 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'
|
||||
@@ -1,7 +1,15 @@
|
||||
- name: ✨ Stargazers over last weeks - Last weeks stargazers
|
||||
- name: ✨ Stargazers over last weeks - Using classic charts
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_stargazers: 'yes'
|
||||
use_mocked_data: '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'
|
||||
|
||||
Reference in New Issue
Block a user