ci: auto-regenerate files

This commit is contained in:
lowlighter
2021-11-26 18:50:58 -05:00
parent edc0d52983
commit deeb468753
4 changed files with 74 additions and 67 deletions

View File

@@ -31,7 +31,7 @@ And you can customize these heavily with plugins, templates and hundreds of opti
<table> <table>
<tr> <tr>
<th colspan="2" align="center"> <th colspan="2" align="center">
<a href="source/plugins/README.md">🧩 36 plugins</a> <a href="source/plugins/README.md">🧩 34+ plugins</a>
</th> </th>
</tr> </tr>
<tr> <tr>
@@ -371,20 +371,6 @@ And you can customize these heavily with plugins, templates and hundreds of opti
<img width="900" height="1" alt=""> <img width="900" height="1" alt="">
</td> </td>
</tr> </tr>
<tr>
<th><a href="source/plugins/screenshot/README.md">📸 Website screenshot</a></th>
<th><a href="source/plugins/nightscout/README.md">💉 Nightscout</a></th>
</tr>
<tr>
<td align="center">
<img alt="" width="400" src="https://github.com/lowlighter/lowlighter/blob/master/metrics.plugin.screenshot.svg">
<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">
<img width="900" height="1" alt="">
</td>
</tr>
<tr> <tr>
<th colspan="2" align="center"> <th colspan="2" align="center">
<a href="https://github.com/lowlighter/metrics/projects/1">More to come soon!</a> <a href="https://github.com/lowlighter/metrics/projects/1">More to come soon!</a>
@@ -463,7 +449,7 @@ Choose `📊 Metrics embed` if you want to customize your GitHub profile and `
### 🐙 Features ### 🐙 Features
* Create infographics from **36 plugins**, **4 templates** and **219 options** * Create infographics from **37 plugins**, **4 templates** and **219 options**
* Even more **customization** with [community templates](source/templates/community) or by [forking this repository](https://github.com/lowlighter/metrics/network/members) and editing HTML/CSS/EJS * Even more **customization** with [community templates](source/templates/community) or by [forking this repository](https://github.com/lowlighter/metrics/network/members) and editing HTML/CSS/EJS
* Support **users**, **organizations** and even **repositories** * Support **users**, **organizations** and even **repositories**
* Transparent by default so it'll blend well whether light or dark mode is used * Transparent by default so it'll blend well whether light or dark mode is used
@@ -793,7 +779,6 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1
<th nowrap="nowrap" align="center" title="🗼 Rss feed">🗼</th> <th nowrap="nowrap" align="center" title="🗼 Rss feed">🗼</th>
<th nowrap="nowrap" align="center" title="⏰ WakaTime plugin">⏰</th> <th nowrap="nowrap" align="center" title="⏰ WakaTime plugin">⏰</th>
<th nowrap="nowrap" align="center" title="💹 Stock prices">💹</th> <th nowrap="nowrap" align="center" title="💹 Stock prices">💹</th>
<th nowrap="nowrap" align="center" title="📸 Website screenshot">📸</th>
</tr> </tr>
<tr> <tr>
<td nowrap="nowrap">📗 Classic template</td> <td nowrap="nowrap">📗 Classic template</td>
@@ -832,7 +817,6 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1
<td nowrap="nowrap" align="center" data-plugin="rss">✔️</td> <td nowrap="nowrap" align="center" data-plugin="rss">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="wakatime">✔️</td> <td nowrap="nowrap" align="center" data-plugin="wakatime">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="stock">✔️</td> <td nowrap="nowrap" align="center" data-plugin="stock">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="screenshot">✔️</td>
</tr> </tr>
<tr> <tr>
<td nowrap="nowrap">📘 Repository template</td> <td nowrap="nowrap">📘 Repository template</td>
@@ -871,7 +855,6 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1
<td nowrap="nowrap" align="center" data-plugin="rss">✔️</td> <td nowrap="nowrap" align="center" data-plugin="rss">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="wakatime">❌</td> <td nowrap="nowrap" align="center" data-plugin="wakatime">❌</td>
<td nowrap="nowrap" align="center" data-plugin="stock">✔️</td> <td nowrap="nowrap" align="center" data-plugin="stock">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="screenshot">✔️</td>
</tr> </tr>
<tr> <tr>
<td nowrap="nowrap">📙 Terminal template</td> <td nowrap="nowrap">📙 Terminal template</td>
@@ -910,7 +893,6 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1
<td nowrap="nowrap" align="center" data-plugin="rss">❌</td> <td nowrap="nowrap" align="center" data-plugin="rss">❌</td>
<td nowrap="nowrap" align="center" data-plugin="wakatime">❌</td> <td nowrap="nowrap" align="center" data-plugin="wakatime">❌</td>
<td nowrap="nowrap" align="center" data-plugin="stock">❌</td> <td nowrap="nowrap" align="center" data-plugin="stock">❌</td>
<td nowrap="nowrap" align="center" data-plugin="screenshot">✔️</td>
</tr> </tr>
<tr> <tr>
<td nowrap="nowrap">📒 Markdown template</td> <td nowrap="nowrap">📒 Markdown template</td>
@@ -949,10 +931,9 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1
<td nowrap="nowrap" align="center" data-plugin="rss">✔️</td> <td nowrap="nowrap" align="center" data-plugin="rss">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="wakatime">✓</td> <td nowrap="nowrap" align="center" data-plugin="wakatime">✓</td>
<td nowrap="nowrap" align="center" data-plugin="stock">✓</td> <td nowrap="nowrap" align="center" data-plugin="stock">✓</td>
<td nowrap="nowrap" align="center" data-plugin="screenshot">✓</td>
</tr> </tr>
<tr> <tr>
<td colspan="38"></td> <td colspan="39"></td>
</tr> </tr>
<tr> <tr>
<th nowrap="nowrap">Mode/Plugin</th> <th nowrap="nowrap">Mode/Plugin</th>
@@ -991,7 +972,6 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1
<th nowrap="nowrap" align="center" title="🗼 Rss feed">🗼</th> <th nowrap="nowrap" align="center" title="🗼 Rss feed">🗼</th>
<th nowrap="nowrap" align="center" title="⏰ WakaTime plugin">⏰</th> <th nowrap="nowrap" align="center" title="⏰ WakaTime plugin">⏰</th>
<th nowrap="nowrap" align="center" title="💹 Stock prices">💹</th> <th nowrap="nowrap" align="center" title="💹 Stock prices">💹</th>
<th nowrap="nowrap" align="center" title="📸 Website screenshot">📸</th>
</tr> </tr>
<tr> <tr>
<td nowrap="nowrap">👤 User</td> <td nowrap="nowrap">👤 User</td>
@@ -1030,7 +1010,6 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1
<td nowrap="nowrap" align="center" data-plugin="rss">✔️</td> <td nowrap="nowrap" align="center" data-plugin="rss">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="wakatime">✔️</td> <td nowrap="nowrap" align="center" data-plugin="wakatime">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="stock">✔️</td> <td nowrap="nowrap" align="center" data-plugin="stock">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="screenshot">✔️</td>
</tr> </tr>
<tr> <tr>
<td nowrap="nowrap">👥 Organization</td> <td nowrap="nowrap">👥 Organization</td>
@@ -1069,7 +1048,6 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1
<td nowrap="nowrap" align="center" data-plugin="rss">✔️</td> <td nowrap="nowrap" align="center" data-plugin="rss">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="wakatime">❌</td> <td nowrap="nowrap" align="center" data-plugin="wakatime">❌</td>
<td nowrap="nowrap" align="center" data-plugin="stock">✔️</td> <td nowrap="nowrap" align="center" data-plugin="stock">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="screenshot">✔️</td>
</tr> </tr>
<tr> <tr>
<td nowrap="nowrap">📓 Repository</td> <td nowrap="nowrap">📓 Repository</td>
@@ -1108,7 +1086,6 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1
<td nowrap="nowrap" align="center" data-plugin="rss">✔️</td> <td nowrap="nowrap" align="center" data-plugin="rss">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="wakatime">❌</td> <td nowrap="nowrap" align="center" data-plugin="wakatime">❌</td>
<td nowrap="nowrap" align="center" data-plugin="stock">✔️</td> <td nowrap="nowrap" align="center" data-plugin="stock">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="screenshot">✔️</td>
</tr> </tr>
</table> </table>
@@ -1127,8 +1104,9 @@ See their respective documentation for more informations about how to setup them
## 🧩 Plugins ## 🧩 Plugins
Plugins are features which provide additional content and lets you customize your rendered metrics. Plugins are features which provide additional content and lets you customize your rendered metrics.
See their respective documentation for more informations about how to setup them.
See their respective documentation for more informations about how to setup them: The following plugins are maintained by Metric's core team:
* **Core** * **Core**
* [🗃️ Base content](/source/plugins/base/README.md) * [🗃️ Base content](/source/plugins/base/README.md)
@@ -1166,13 +1144,16 @@ See their respective documentation for more informations about how to setup them
* [✒️ Recent posts](/source/plugins/posts/README.md) * [✒️ Recent posts](/source/plugins/posts/README.md)
* [🗼 Rss feed](/source/plugins/rss/README.md) * [🗼 Rss feed](/source/plugins/rss/README.md)
* [🗨️ Stackoverflow plugin](/source/plugins/stackoverflow/README.md) * [🗨️ Stackoverflow plugin](/source/plugins/stackoverflow/README.md)
* [💹 Stock prices](/source/plugins/stock/README.md)
* [🐤 Latest tweets](/source/plugins/tweets/README.md) * [🐤 Latest tweets](/source/plugins/tweets/README.md)
* [⏰ WakaTime plugin](/source/plugins/wakatime/README.md) * [⏰ WakaTime plugin](/source/plugins/wakatime/README.md)
* **Other**
* [📸 Website screenshot](/source/plugins/screenshot/README.md) ### 🎲 Community plugins
* [💹 Stock prices](/source/plugins/stock/README.md)
* **Community** *(provided and maintained by contributors)* The following plugins are provided and maintained by Metrics's user community:
* [💉 Nightscout](/source/plugins/nightscout/README.md) [@legoandmars](https://github.com/legoandmars) * [💉 Nightscout](/source/plugins/nightscout/README.md) [@legoandmars](https://github.com/legoandmars)
* [💩 PoopMap plugin](/source/plugins/poopmap/README.md) [@matievisthekat](https://github.com/matievisthekat)
* [📸 Website screenshot](/source/plugins/screenshot/README.md) [@lowlighter](https://github.com/lowlighter)
### 🏦 Organizations metrics ### 🏦 Organizations metrics

74
action.yml generated
View File

@@ -1275,34 +1275,6 @@ inputs:
description: Time intervals between records description: Time intervals between records
default: 5m default: 5m
# ====================================================================================
# 📸 Website screenshot
# Enable or disable plugin
plugin_screenshot:
description: Display a screenshot of any website
default: no
# Screenshot title caption
plugin_screenshot_title:
description: Screenshot title caption
default: Screenshot
# Website to take screenshot
plugin_screenshot_url:
description: Website to take screenshot
default: ""
# Selector to take in screenshot
plugin_screenshot_selector:
description: Selector to take in screenshot
default: body
# Display or remove default page background
plugin_screenshot_background:
description: Display or remove default page background
default: yes
# ==================================================================================== # ====================================================================================
# 💉 Nightscout # 💉 Nightscout
@@ -1341,6 +1313,52 @@ inputs:
description: When the blood sugar is considered urgently high description: When the blood sugar is considered urgently high
default: 250 default: 250
# ====================================================================================
# 💩 PoopMap plugin
# Enable or disable plugin
plugin_poopmap:
description: Display PoopMap stats
default: no
# PoopMap API token
plugin_poopmap_token:
description: PoopMap API token
default: ""
# Time range to use for displayed stats
plugin_poopmap_days:
description: PoopMap time range
default: 7
# ====================================================================================
# 📸 Website screenshot
# Enable or disable plugin
plugin_screenshot:
description: Display a screenshot of any website
default: no
# Screenshot title caption
plugin_screenshot_title:
description: Screenshot title caption
default: Screenshot
# Website to take screenshot
plugin_screenshot_url:
description: Website to take screenshot
default: ""
# Selector to take in screenshot
plugin_screenshot_selector:
description: Selector to take in screenshot
default: body
# Display or remove default page background
plugin_screenshot_background:
description: Display or remove default page background
default: yes
# ==================================================================================== # ====================================================================================
# Action metadata # Action metadata

10
settings.example.json generated
View File

@@ -139,12 +139,16 @@
"token": null, "//":"Yahoo Finance token", "token": null, "//":"Yahoo Finance token",
"enabled": false, "//": "Display stock prices of a given company" "enabled": false, "//": "Display stock prices of a given company"
}, },
"screenshot":{
"enabled": false, "//": "Display a screenshot of any website"
},
"nightscout":{ "nightscout":{
"enabled": false, "//": "Displays Blood Glucose" "enabled": false, "//": "Displays Blood Glucose"
}, },
"poopmap":{
"token": null, "//":"PoopMap API token",
"enabled": false, "//": "Display PoopMap stats"
},
"screenshot":{
"enabled": false, "//": "Display a screenshot of any website"
},
"//": "" "//": ""
} }
} }

View File

@@ -1,8 +1,9 @@
## 🧩 Plugins ## 🧩 Plugins
Plugins are features which provide additional content and lets you customize your rendered metrics. Plugins are features which provide additional content and lets you customize your rendered metrics.
See their respective documentation for more informations about how to setup them.
See their respective documentation for more informations about how to setup them: The following plugins are maintained by Metric's core team:
* **Core** * **Core**
* [🗃️ Base content](/source/plugins/base/README.md) * [🗃️ Base content](/source/plugins/base/README.md)
@@ -40,10 +41,13 @@ See their respective documentation for more informations about how to setup them
* [✒️ Recent posts](/source/plugins/posts/README.md) * [✒️ Recent posts](/source/plugins/posts/README.md)
* [🗼 Rss feed](/source/plugins/rss/README.md) * [🗼 Rss feed](/source/plugins/rss/README.md)
* [🗨️ Stackoverflow plugin](/source/plugins/stackoverflow/README.md) * [🗨️ Stackoverflow plugin](/source/plugins/stackoverflow/README.md)
* [💹 Stock prices](/source/plugins/stock/README.md)
* [🐤 Latest tweets](/source/plugins/tweets/README.md) * [🐤 Latest tweets](/source/plugins/tweets/README.md)
* [⏰ WakaTime plugin](/source/plugins/wakatime/README.md) * [⏰ WakaTime plugin](/source/plugins/wakatime/README.md)
* **Other**
* [📸 Website screenshot](/source/plugins/screenshot/README.md) ### 🎲 Community plugins
* [💹 Stock prices](/source/plugins/stock/README.md)
* **Community** *(provided and maintained by contributors)* The following plugins are provided and maintained by Metrics's user community:
* [💉 Nightscout](/source/plugins/nightscout/README.md) [@legoandmars](https://github.com/legoandmars) * [💉 Nightscout](/source/plugins/nightscout/README.md) [@legoandmars](https://github.com/legoandmars)
* [💩 PoopMap plugin](/source/plugins/poopmap/README.md) [@matievisthekat](https://github.com/matievisthekat)
* [📸 Website screenshot](/source/plugins/screenshot/README.md) [@lowlighter](https://github.com/lowlighter)