ci: auto-regenerate files
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
<th nowrap="nowrap" align="center" title="✒️ Recent posts">✒️</th>
|
||||
<th nowrap="nowrap" align="center" title="🗼 Rss feed">🗼</th>
|
||||
<th nowrap="nowrap" align="center" title="⏰ WakaTime">⏰</th>
|
||||
<th nowrap="nowrap" align="center" title="🗳️ Leetcode">🗳️</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">📗 Classic template</td>
|
||||
@@ -78,6 +79,7 @@
|
||||
<td nowrap="nowrap" align="center" data-plugin="posts">✔️</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="leetcode">✔️</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">📘 Repository template</td>
|
||||
@@ -117,6 +119,7 @@
|
||||
<td nowrap="nowrap" align="center" data-plugin="posts">✔️</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="leetcode">❌</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">📙 Terminal template</td>
|
||||
@@ -156,6 +159,7 @@
|
||||
<td nowrap="nowrap" align="center" data-plugin="posts">❌</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="leetcode">❌</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">📒 Markdown template</td>
|
||||
@@ -195,9 +199,10 @@
|
||||
<td nowrap="nowrap" align="center" data-plugin="posts">✔️</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="leetcode">✓</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="36"></td>
|
||||
<td colspan="37"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th nowrap="nowrap">Mode/Plugin</th>
|
||||
@@ -237,6 +242,7 @@
|
||||
<th nowrap="nowrap" align="center" title="✒️ Recent posts">✒️</th>
|
||||
<th nowrap="nowrap" align="center" title="🗼 Rss feed">🗼</th>
|
||||
<th nowrap="nowrap" align="center" title="⏰ WakaTime">⏰</th>
|
||||
<th nowrap="nowrap" align="center" title="🗳️ Leetcode">🗳️</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">👤 User</td>
|
||||
@@ -276,6 +282,7 @@
|
||||
<td nowrap="nowrap" align="center" data-plugin="posts">✔️</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="leetcode">✔️</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">👥 Organization</td>
|
||||
@@ -315,6 +322,7 @@
|
||||
<td nowrap="nowrap" align="center" data-plugin="posts">✔️</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="leetcode">❌</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">📓 Repository</td>
|
||||
@@ -354,6 +362,7 @@
|
||||
<td nowrap="nowrap" align="center" data-plugin="posts">✔️</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="leetcode">❌</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
15
README.md
15
README.md
@@ -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 40 plugins and 285 options!</a></h3>
|
||||
<h3><a href="/README.md#-plugins">🧩 Customizable with 42 plugins and 296 options!</a></h3>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -289,6 +289,17 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
|
||||
<img width="900" height="1" alt="">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><a href="source/plugins/leetcode/README.md">🗳️ Leetcode</a></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.leetcode.svg" alt=""></img>
|
||||
<img width="900" height="1" alt="">
|
||||
</td>
|
||||
<td align="center"><img width="900" height="1" alt=""></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2" align="center">
|
||||
<a href="/source/plugins/community/README.md">🎲 See also community plugins</a>
|
||||
@@ -438,6 +449,7 @@ Plugins provide additional content and lets you customize rendered metrics.
|
||||
* [🧮 Repositories traffic <sub>`traffic`</sub>](/source/plugins/traffic/README.md)
|
||||
* **Social plugins**
|
||||
* [🌸 Anilist watch list and reading list <sub>`anilist`</sub>](/source/plugins/anilist/README.md)
|
||||
* [🗳️ Leetcode <sub>`leetcode`</sub>](/source/plugins/leetcode/README.md)
|
||||
* [🎼 Music activity and suggestions <sub>`music`</sub>](/source/plugins/music/README.md)
|
||||
* [⏱️ Google PageSpeed <sub>`pagespeed`</sub>](/source/plugins/pagespeed/README.md)
|
||||
* [✒️ Recent posts <sub>`posts`</sub>](/source/plugins/posts/README.md)
|
||||
@@ -448,6 +460,7 @@ Plugins provide additional content and lets you customize rendered metrics.
|
||||
|
||||
**🎲 Maintained by community**
|
||||
* **[Community plugins](/source/plugins/community/README.md)**
|
||||
* [♟️ Chess <sub>`chess`</sub>](/source/plugins/community/chess/README.md) by [@lowlighter](https://github.com/lowlighter)
|
||||
* [🥠 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)
|
||||
|
||||
50
action.yml
generated
50
action.yml
generated
@@ -18,6 +18,10 @@ inputs:
|
||||
description: Show `Available for hire!` in header section
|
||||
default: <default-value>
|
||||
|
||||
base_skip:
|
||||
description: Skip base content
|
||||
default: <default-value>
|
||||
|
||||
repositories:
|
||||
description: Fetched repositories
|
||||
default: <default-value>
|
||||
@@ -1172,6 +1176,52 @@ inputs:
|
||||
description: Repositories visibility
|
||||
default: <default-value>
|
||||
|
||||
# ====================================================================================
|
||||
# 🗳️ Leetcode
|
||||
|
||||
plugin_leetcode:
|
||||
description: Enable leetcode plugin
|
||||
default: <default-value>
|
||||
|
||||
plugin_leetcode_user:
|
||||
description: LeetCode login
|
||||
default: <default-value>
|
||||
|
||||
plugin_leetcode_sections:
|
||||
description: Displayed sections
|
||||
default: <default-value>
|
||||
|
||||
plugin_leetcode_limit_skills:
|
||||
description: Display limit (skills)
|
||||
default: <default-value>
|
||||
|
||||
plugin_leetcode_limit_recent:
|
||||
description: Display limit (recent)
|
||||
default: <default-value>
|
||||
|
||||
# ====================================================================================
|
||||
# ♟️ Chess
|
||||
|
||||
plugin_chess:
|
||||
description: Enable chess plugin
|
||||
default: <default-value>
|
||||
|
||||
plugin_chess_token:
|
||||
description: Chess platform token
|
||||
default: <default-value>
|
||||
|
||||
plugin_chess_user:
|
||||
description: AniList login
|
||||
default: <default-value>
|
||||
|
||||
plugin_chess_platform:
|
||||
description: Chess platform
|
||||
default: <default-value>
|
||||
|
||||
plugin_chess_animation:
|
||||
description: Animation settings
|
||||
default: <default-value>
|
||||
|
||||
# ====================================================================================
|
||||
# 🥠 Fortune
|
||||
|
||||
|
||||
7
settings.example.json
generated
7
settings.example.json
generated
@@ -174,6 +174,13 @@
|
||||
"token": "WakaTime API token",
|
||||
"enabled": false, "//": "Enable wakatime plugin"
|
||||
},
|
||||
"leetcode":{
|
||||
"enabled": false, "//": "Enable leetcode plugin"
|
||||
},
|
||||
"chess":{
|
||||
"token": "Chess platform token",
|
||||
"enabled": false, "//": "Enable chess plugin"
|
||||
},
|
||||
"fortune":{
|
||||
"enabled": false, "//": "Enable fortune plugin"
|
||||
},
|
||||
|
||||
@@ -37,6 +37,7 @@ Plugins provide additional content and lets you customize rendered metrics.
|
||||
* [🧮 Repositories traffic <sub>`traffic`</sub>](/source/plugins/traffic/README.md)
|
||||
* **Social plugins**
|
||||
* [🌸 Anilist watch list and reading list <sub>`anilist`</sub>](/source/plugins/anilist/README.md)
|
||||
* [🗳️ Leetcode <sub>`leetcode`</sub>](/source/plugins/leetcode/README.md)
|
||||
* [🎼 Music activity and suggestions <sub>`music`</sub>](/source/plugins/music/README.md)
|
||||
* [⏱️ Google PageSpeed <sub>`pagespeed`</sub>](/source/plugins/pagespeed/README.md)
|
||||
* [✒️ Recent posts <sub>`posts`</sub>](/source/plugins/posts/README.md)
|
||||
@@ -47,6 +48,7 @@ Plugins provide additional content and lets you customize rendered metrics.
|
||||
|
||||
**🎲 Maintained by community**
|
||||
* **[Community plugins](/source/plugins/community/README.md)**
|
||||
* [♟️ Chess <sub>`chess`</sub>](/source/plugins/community/chess/README.md) by [@lowlighter](https://github.com/lowlighter)
|
||||
* [🥠 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)
|
||||
|
||||
@@ -85,6 +85,21 @@ This currently improves the accuracy of the following statistics:</p>
|
||||
<tr>
|
||||
<td nowrap="nowrap"><b>type:</b> <code>boolean</code>
|
||||
<br>
|
||||
<b>default:</b> no<br></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap"><h4><code>base_skip</code></h4></td>
|
||||
<td rowspan="2"><p>Skip base content</p>
|
||||
<blockquote>
|
||||
<p>⚠️ Any plugin that relies on base content data may break!
|
||||
Only use this option when using a plugin that can be configured with <code>token: NOT_NEEDED</code></p>
|
||||
</blockquote>
|
||||
<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>
|
||||
<tr>
|
||||
|
||||
@@ -3,41 +3,44 @@
|
||||
<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/chess/README.md">♟️ Chess</a></th>
|
||||
<th><a href="/source/plugins/community/fortune/README.md">🥠 Fortune</a></th>
|
||||
<th><a href="/source/plugins/community/nightscout/README.md">💉 Nightscout</a></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.chess.svg" alt=""></img>
|
||||
<img width="900" height="1" alt="">
|
||||
</td>
|
||||
<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>
|
||||
</tr> <tr>
|
||||
<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/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,9 +1,110 @@
|
||||
<!--header-->
|
||||
<table>
|
||||
<tr><td colspan="2"><a href="/README.md#-plugins">← Back to plugins index</a></td></tr>
|
||||
<tr><th colspan="2"><h3>♟️ Chess</h3></th></tr>
|
||||
<tr><td colspan="2" align="center"><p>This plugin displays the last game you played on a supported chess platform.</p>
|
||||
</td></tr>
|
||||
<tr><th>⚠️ Disclaimer</th><td><p>This plugin is not affiliated, associated, authorized, endorsed by, or in any way officially connected with any of the supported provider.
|
||||
All product and company names are trademarks™ or registered® trademarks of their respective holders.</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> <code>👥 Organizations</code> <code>📓 Repositories</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>🗝️ plugin_chess_token</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="center">
|
||||
<img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.chess.svg" alt=""></img>
|
||||
<img width="900" height="1" alt="">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--/header-->
|
||||
|
||||
## ➡️ Available options
|
||||
|
||||
<!--options-->
|
||||
<table>
|
||||
<tr>
|
||||
<td align="center" nowrap="nowrap">Option</i></td><td align="center" nowrap="nowrap">Description</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap"><h4><code>plugin_chess</code></h4></td>
|
||||
<td rowspan="2"><p>Enable chess 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>
|
||||
<tr>
|
||||
<td nowrap="nowrap"><h4><code>plugin_chess_token</code></h4></td>
|
||||
<td rowspan="2"><p>Chess platform token</p>
|
||||
<img width="900" height="1" alt=""></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">🔐 Token<br>
|
||||
✨ On <code>master</code>/<code>main</code><br>
|
||||
🌐 Web instances must configure <code>settings.json</code>:
|
||||
<ul>
|
||||
<li><i>metrics.api.chess.any</i></li>
|
||||
</ul>
|
||||
<b>type:</b> <code>token</code>
|
||||
<br></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap"><h4><code>plugin_chess_user</code></h4></td>
|
||||
<td rowspan="2"><p>AniList login</p>
|
||||
<img width="900" height="1" alt=""></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">⏯️ Cannot be preset<br>
|
||||
✨ On <code>master</code>/<code>main</code><br>
|
||||
<b>type:</b> <code>string</code>
|
||||
<br>
|
||||
<b>default:</b> <code>→ User login</code><br></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap"><h4><code>plugin_chess_platform</code></h4></td>
|
||||
<td rowspan="2"><p>Chess platform</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>string</code>
|
||||
<br>
|
||||
<b>allowed values:</b><ul><li>lichess.org</li></ul></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap"><h4><code>plugin_chess_animation</code></h4></td>
|
||||
<td rowspan="2"><p>Animation settings</p>
|
||||
<ul>
|
||||
<li><code>size</code> is the size of a single chessboard square in pixels (board will be 8 times larger)</li>
|
||||
<li><code>delay</code> is the delay before starting animation (in seconds)</li>
|
||||
<li><code>duration</code> is the duration of the animation of a move (in seconds)</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>json</code>
|
||||
<br>
|
||||
<b>default:</b> <details><summary>→ Click to expand</summary><pre language="json"><code>{
|
||||
"size": 40,
|
||||
"delay": 3,
|
||||
"duration": 0.6
|
||||
}
|
||||
</code></pre></details><br></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--/options-->
|
||||
|
||||
## 🗝️ Obtaining a lichess.org token
|
||||
@@ -23,4 +124,16 @@ Create token and store it in your secrets:
|
||||
## ℹ️ Examples workflows
|
||||
|
||||
<!--examples-->
|
||||
```yaml
|
||||
name: Last chess game from lichess.org
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
filename: metrics.plugin.chess.svg
|
||||
token: NOT_NEEDED
|
||||
base: ""
|
||||
plugin_chess: yes
|
||||
plugin_chess_token: ${{ secrets.CHESS_TOKEN }}
|
||||
plugin_chess_platform: lichess.org
|
||||
|
||||
```
|
||||
<!--/examples-->
|
||||
|
||||
@@ -1,12 +1,122 @@
|
||||
<!--header-->
|
||||
<table>
|
||||
<tr><td colspan="2"><a href="/README.md#-plugins">← Back to plugins index</a></td></tr>
|
||||
<tr><th colspan="2"><h3>🗳️ Leetcode</h3></th></tr>
|
||||
<tr><td colspan="2" align="center"><p>This plugin displays statistics from a <a href="https://leetcode.com">LeetCode</a> account.</p>
|
||||
</td></tr>
|
||||
<tr><th>⚠️ Disclaimer</th><td><p>This plugin is not affiliated, associated, authorized, endorsed by, or in any way officially connected with <a href="https://leetcode.com">LeetCode</a>.
|
||||
All product and company names are trademarks™ or registered® trademarks of their respective holders.</p>
|
||||
</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.leetcode.svg" alt=""></img>
|
||||
<img width="900" height="1" alt="">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--/header-->
|
||||
|
||||
## ➡️ Available options
|
||||
|
||||
<!--options-->
|
||||
<table>
|
||||
<tr>
|
||||
<td align="center" nowrap="nowrap">Option</i></td><td align="center" nowrap="nowrap">Description</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap"><h4><code>plugin_leetcode</code></h4></td>
|
||||
<td rowspan="2"><p>Enable leetcode 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>
|
||||
<tr>
|
||||
<td nowrap="nowrap"><h4><code>plugin_leetcode_user</code></h4></td>
|
||||
<td rowspan="2"><p>LeetCode login</p>
|
||||
<img width="900" height="1" alt=""></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">⏯️ Cannot be preset<br>
|
||||
✨ On <code>master</code>/<code>main</code><br>
|
||||
<b>type:</b> <code>string</code>
|
||||
<br>
|
||||
<b>default:</b> <code>→ User login</code><br></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap"><h4><code>plugin_leetcode_sections</code></h4></td>
|
||||
<td rowspan="2"><p>Displayed sections</p>
|
||||
<ul>
|
||||
<li><code>solved</code> will display solved problems scores</li>
|
||||
<li><code>skills</code> will display solved problems tagged skills</li>
|
||||
<li><code>recent</code> will display recent submissions</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>array</code>
|
||||
<i>(comma-separated)</i>
|
||||
<br>
|
||||
<b>default:</b> solved<br>
|
||||
<b>allowed values:</b><ul><li>solved</li><li>skills</li><li>recent</li></ul></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap"><h4><code>plugin_leetcode_limit_skills</code></h4></td>
|
||||
<td rowspan="2"><p>Display limit (skills)</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>number</code>
|
||||
<i>(0 ≤
|
||||
𝑥)</i>
|
||||
<br>
|
||||
<b>zero behaviour:</b> disable</br>
|
||||
<b>default:</b> 10<br></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap"><h4><code>plugin_leetcode_limit_recent</code></h4></td>
|
||||
<td rowspan="2"><p>Display limit (recent)</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>number</code>
|
||||
<i>(1 ≤
|
||||
𝑥
|
||||
≤ 15)</i>
|
||||
<br>
|
||||
<b>default:</b> 2<br></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--/options-->
|
||||
|
||||
## ℹ️ Examples workflows
|
||||
|
||||
<!--examples-->
|
||||
```yaml
|
||||
name: LeetCode
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
filename: metrics.plugin.leetcode.svg
|
||||
token: NOT_NEEDED
|
||||
base: ""
|
||||
plugin_leetcode: yes
|
||||
plugin_leetcode_sections: solved, skills, recent
|
||||
|
||||
```
|
||||
<!--/examples-->
|
||||
|
||||
@@ -7,7 +7,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/calendar/README.md" title="📆 Commit calendar">📆</a> <a href="/source/plugins/code/README.md" title="♐ Random code snippet">♐</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 and activity">💡</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="🈷️ Languages activity">🈷️</a> <a href="/source/plugins/lines/README.md" title="👨💻 Lines of code changed">👨💻</a> <a href="/source/plugins/music/README.md" title="🎼 Music activity and suggestions">🎼</a> <a href="/source/plugins/notable/README.md" title="🎩 Notable contributions">🎩</a> <a href="/source/plugins/pagespeed/README.md" title="⏱️ Google PageSpeed">⏱️</a> <a href="/source/plugins/people/README.md" title="🧑🤝🧑 People">🧑🤝🧑</a> <a href="/source/plugins/posts/README.md" title="✒️ Recent posts">✒️</a> <a href="/source/plugins/projects/README.md" title="🗂️ GitHub projects">🗂️</a> <a href="/source/plugins/reactions/README.md" title="🎭 Comment reactions">🎭</a> <a href="/source/plugins/repositories/README.md" title="📓 Featured repositories">📓</a> <a href="/source/plugins/rss/README.md" title="🗼 Rss feed">🗼</a> <a href="/source/plugins/skyline/README.md" title="🌇 GitHub Skyline">🌇</a> <a href="/source/plugins/sponsors/README.md" title="💕 GitHub Sponsors">💕</a> <a href="/source/plugins/stackoverflow/README.md" title="🗨️ Stack Overflow">🗨️</a> <a href="/source/plugins/stargazers/README.md" title="✨ Stargazers">✨</a> <a href="/source/plugins/starlists/README.md" title="💫 Star lists">💫</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">⏰</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/calendar/README.md" title="📆 Commit calendar">📆</a> <a href="/source/plugins/code/README.md" title="♐ Random code snippet">♐</a> <a href="/source/plugins/chess/README.md" title="♟️ Chess">♟️</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 and activity">💡</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="🈷️ Languages activity">🈷️</a> <a href="/source/plugins/leetcode/README.md" title="🗳️ Leetcode">🗳️</a> <a href="/source/plugins/lines/README.md" title="👨💻 Lines of code changed">👨💻</a> <a href="/source/plugins/music/README.md" title="🎼 Music activity and suggestions">🎼</a> <a href="/source/plugins/notable/README.md" title="🎩 Notable contributions">🎩</a> <a href="/source/plugins/pagespeed/README.md" title="⏱️ Google PageSpeed">⏱️</a> <a href="/source/plugins/people/README.md" title="🧑🤝🧑 People">🧑🤝🧑</a> <a href="/source/plugins/posts/README.md" title="✒️ Recent posts">✒️</a> <a href="/source/plugins/projects/README.md" title="🗂️ GitHub projects">🗂️</a> <a href="/source/plugins/reactions/README.md" title="🎭 Comment reactions">🎭</a> <a href="/source/plugins/repositories/README.md" title="📓 Featured repositories">📓</a> <a href="/source/plugins/rss/README.md" title="🗼 Rss feed">🗼</a> <a href="/source/plugins/skyline/README.md" title="🌇 GitHub Skyline">🌇</a> <a href="/source/plugins/sponsors/README.md" title="💕 GitHub Sponsors">💕</a> <a href="/source/plugins/stackoverflow/README.md" title="🗨️ Stack Overflow">🗨️</a> <a href="/source/plugins/stargazers/README.md" title="✨ Stargazers">✨</a> <a href="/source/plugins/starlists/README.md" title="💫 Star lists">💫</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">⏰</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>👤 Users</code> <code>👥 Organizations</code></td>
|
||||
|
||||
Reference in New Issue
Block a user