Skip to content

Commit 48752e4

Browse files
committed
ci: auto-regenerate files [skip ci]
1 parent c08a175 commit 48752e4

File tree

11 files changed

+142
-11
lines changed

11 files changed

+142
-11
lines changed

.github/workflows/examples.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ jobs:
420420
user: lowlighter
421421
plugins_errors_fatal: yes
422422
if: ${{ success() || failure() }}
423-
- name: ✨ Stargazers over last weeks - Last weeks stargazers
423+
- name: ✨ Stargazers over last weeks - Using classic charts
424424
uses: lowlighter/metrics@master
425425
with:
426426
filename: metrics.plugin.stargazers.svg
@@ -432,6 +432,19 @@ jobs:
432432
user: lowlighter
433433
plugins_errors_fatal: yes
434434
if: ${{ success() || failure() }}
435+
- name: ✨ Stargazers over last weeks - Using chartist charts
436+
uses: lowlighter/metrics@master
437+
with:
438+
filename: metrics.plugin.stargazers.chartist.svg
439+
token: ${{ secrets.METRICS_TOKEN }}
440+
base: ""
441+
plugin_stargazers: yes
442+
plugin_stargazers_charts_type: chartist
443+
output_action: none
444+
delay: 120
445+
user: lowlighter
446+
plugins_errors_fatal: yes
447+
if: ${{ success() || failure() }}
435448
- name: 🗂️ Active projects - Project from a repository
436449
uses: lowlighter/metrics@master
437450
with:

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
1919
</tr>
2020
<tr>
2121
<th colspan="2" align="center">
22-
<h3><a href="/README.md#-plugins">🧩 Customizable with 38 plugins and 237 options!</a></h3>
22+
<h3><a href="/README.md#-plugins">🧩 Customizable with 39 plugins and 239 options!</a></h3>
2323
</th>
2424
</tr>
2525
<tr>
@@ -109,7 +109,8 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
109109
</tr>
110110
<tr>
111111
<td align="center">
112-
<img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.svg" alt=""></img>
112+
<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>
113+
<details><summary>Classic charts</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.svg" alt=""></img></details>
113114
<img width="900" height="1" alt="">
114115
</td>
115116
<td align="center">
@@ -438,6 +439,7 @@ Plugins provide additional content and lets you customize rendered metrics.
438439
* [⏰ WakaTime plugin <sub>`wakatime`</sub>](/source/plugins/wakatime/README.md)
439440

440441
**🎲 Maintained by community**
442+
* [🥠 Fortune <sub>`fortune`</sub>](/source/plugins/community/fortune/README.md) by [@lowlighter](https://github.com/lowlighter)
441443
* [💉 Nightscout <sub>`nightscout`</sub>](/source/plugins/community/nightscout/README.md) by [@legoandmars](https://github.com/legoandmars)
442444
* [💩 PoopMap plugin <sub>`poopmap`</sub>](/source/plugins/community/poopmap/README.md) by [@matievisthekat](https://github.com/matievisthekat)
443445
* [📸 Website screenshot <sub>`screenshot`</sub>](/source/plugins/community/screenshot/README.md) by [@lowlighter](https://github.com/lowlighter)

action.yml

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

settings.example.json

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/plugins/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Plugins provide additional content and lets you customize rendered metrics.
4545
* [⏰ WakaTime plugin <sub>`wakatime`</sub>](/source/plugins/wakatime/README.md)
4646

4747
**🎲 Maintained by community**
48+
* [🥠 Fortune <sub>`fortune`</sub>](/source/plugins/community/fortune/README.md) by [@lowlighter](https://github.com/lowlighter)
4849
* [💉 Nightscout <sub>`nightscout`</sub>](/source/plugins/community/nightscout/README.md) by [@legoandmars](https://github.com/legoandmars)
4950
* [💩 PoopMap plugin <sub>`poopmap`</sub>](/source/plugins/community/poopmap/README.md) by [@matievisthekat](https://github.com/matievisthekat)
5051
* [📸 Website screenshot <sub>`screenshot`</sub>](/source/plugins/community/screenshot/README.md) by [@lowlighter](https://github.com/lowlighter)

source/plugins/community/README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,41 @@
22
<tr><th colspan="2"><h3>🎲 Community plugins</h3></th></tr>
33
<tr><td colspan="2" align="center">Additional plugins maintained by community for even more features!</td></tr>
44
<tr>
5+
<th><a href="source/plugins/community/fortune/README.md">🥠 Fortune</a></th>
56
<th><a href="source/plugins/community/nightscout/README.md">💉 Nightscout</a></th>
6-
<th><a href="source/plugins/community/poopmap/README.md">💩 PoopMap plugin</a></th>
77
</tr>
88
<tr>
99
<td align="center">
10-
<img alt="" width="400" src="https://github.com/legoandmars/legoandmars/blob/master/metrics.plugin.nightscout.svg" alt=""></img>
10+
<img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.fortune.svg" alt=""></img>
1111
<img width="900" height="1" alt="">
1212
</td>
1313
<td align="center">
14-
<img alt="" width="400" src="https://github.com/matievisthekat/matievisthekat/blob/master/metrics.plugin.poopmap.svg" alt=""></img>
14+
<img alt="" width="400" src="https://github.com/legoandmars/legoandmars/blob/master/metrics.plugin.nightscout.svg" alt=""></img>
1515
<img width="900" height="1" alt="">
1616
</td>
1717
</tr> <tr>
18+
<th><a href="source/plugins/community/poopmap/README.md">💩 PoopMap plugin</a></th>
1819
<th><a href="source/plugins/community/screenshot/README.md">📸 Website screenshot</a></th>
19-
<th><a href="source/plugins/community/stock/README.md">💹 Stock prices</a></th>
2020
</tr>
2121
<tr>
22+
<td align="center">
23+
<img alt="" width="400" src="https://github.com/matievisthekat/matievisthekat/blob/master/metrics.plugin.poopmap.svg" alt=""></img>
24+
<img width="900" height="1" alt="">
25+
</td>
2226
<td align="center">
2327
<img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.screenshot.svg" alt=""></img>
2428
<img width="900" height="1" alt="">
2529
</td>
30+
</tr> <tr>
31+
<th><a href="source/plugins/community/stock/README.md">💹 Stock prices</a></th>
32+
<th></th>
33+
</tr>
34+
<tr>
2635
<td align="center">
2736
<img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stock.svg" alt=""></img>
2837
<img width="900" height="1" alt="">
2938
</td>
39+
<td align="center"><img width="900" height="1" alt=""></td>
3040
</tr>
3141
</table>
3242

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,60 @@
11
<!--header-->
2+
<table>
3+
<tr><th colspan="2"><h3>🥠 Fortune</h3></th></tr>
4+
<tr><td colspan="2" align="center"><p>This plugins displays a random fortune message</p>
5+
</td></tr>
6+
<tr><th>Authors</th><td><a href="https://github.com/lowlighter">@lowlighter</a></td></tr>
7+
<tr>
8+
<th rowspan="3">Supported features<br><sub><a href="metadata.yml">→ Full specification</a></sub></th>
9+
<td><a href="/source/templates/classic/README.md"><code>📗 Classic template</code></a></td>
10+
</tr>
11+
<tr>
12+
<td><code>👤 Users</code></td>
13+
</tr>
14+
<tr>
15+
<td><i>No tokens are required for this plugin</i></td>
16+
</tr>
17+
<tr>
18+
<td colspan="2" align="center">
19+
<img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.fortune.svg" alt=""></img>
20+
<img width="900" height="1" alt="">
21+
</td>
22+
</tr>
23+
</table>
224
<!--/header-->
325

426
## ➡️ Available options
527

628
<!--options-->
29+
<table>
30+
<tr>
31+
<td align="center" nowrap="nowrap">Type</i></td><td align="center" nowrap="nowrap">Description</td>
32+
</tr>
33+
<tr>
34+
<td nowrap="nowrap"><code>plugin_fortune</code></td>
35+
<td rowspan="2"><p>Enable fortune plugin</p>
36+
<img width="900" height="1" alt=""></td>
37+
</tr>
38+
<tr>
39+
<td nowrap="nowrap">✨ On <code>master</code>/<code>main</code><br>
40+
<b>type:</b> <code>boolean</code>
41+
<br>
42+
<b>default:</b> no<br></td>
43+
</tr>
44+
</table>
745
<!--/options-->
846

947
## ℹ️ Examples workflows
1048

1149
<!--examples-->
50+
```yaml
51+
name: Fortune
52+
uses: lowlighter/metrics@latest
53+
with:
54+
filename: metrics.plugin.fortune.svg
55+
token: NOT_NEEDED
56+
base: ""
57+
plugin_fortune: yes
58+
59+
```
1260
<!--/examples-->

source/plugins/stargazers/README.md

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
</tr>
1616
<tr>
1717
<td colspan="2" align="center">
18-
<img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.svg" alt=""></img>
18+
<details open><summary>Chartist charts</summary><img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.chartist.svg" alt=""></img></details>
19+
<details><summary>Classic charts</summary><img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.svg" alt=""></img></details>
1920
<img width="900" height="1" alt="">
2021
</td>
2122
</tr>
@@ -39,20 +40,47 @@
3940
<br>
4041
<b>default:</b> no<br></td>
4142
</tr>
43+
<tr>
44+
<td nowrap="nowrap"><code>plugin_stargazers_charts_type</code></td>
45+
<td rowspan="2"><p>Charts display type</p>
46+
<ul>
47+
<li><code>classic</code>: <code>&lt;div&gt;</code> based charts, simple and lightweight</li>
48+
<li><code>chartist</code>: <code>&lt;svg&gt;</code> based charts, smooth</li>
49+
</ul>
50+
<img width="900" height="1" alt=""></td>
51+
</tr>
52+
<tr>
53+
<td nowrap="nowrap">✨ On <code>master</code>/<code>main</code><br>
54+
<b>type:</b> <code>string</code>
55+
<br>
56+
<b>default:</b> null<br>
57+
<b>allowed values:</b><ul><li>classic</li><li>chartist</li></ul></td>
58+
</tr>
4259
</table>
4360
<!--/options-->
4461

4562
## ℹ️ Examples workflows
4663

4764
<!--examples-->
4865
```yaml
49-
name: Last weeks stargazers
66+
name: Using classic charts
5067
uses: lowlighter/metrics@latest
5168
with:
5269
filename: metrics.plugin.stargazers.svg
5370
token: ${{ secrets.METRICS_TOKEN }}
5471
base: ""
5572
plugin_stargazers: yes
5673

74+
```
75+
```yaml
76+
name: Using chartist charts
77+
uses: lowlighter/metrics@latest
78+
with:
79+
filename: metrics.plugin.stargazers.chartist.svg
80+
token: ${{ secrets.METRICS_TOKEN }}
81+
base: ""
82+
plugin_stargazers: yes
83+
plugin_stargazers_charts_type: chartist
84+
5785
```
5886
<!--/examples-->

source/templates/classic/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This is also the default template.</p>
66
</td></tr>
77
<tr>
88
<th rowspan="3">Supported features<br><sub><a href="metadata.yml">→ Full specification</a></sub></th>
9-
<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>
9+
<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>
1010
</tr>
1111
<tr>
1212
<td><code>👤 Users</code> <code>👥 Organizations</code></td>

tests/cases/fortune.plugin.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
- name: 🥠 Fortune - Fortune
2+
uses: lowlighter/metrics@latest
3+
with:
4+
token: NOT_NEEDED
5+
plugin_fortune: 'yes'
6+
use_mocked_data: 'yes'
7+
verify: 'yes'

0 commit comments

Comments
 (0)