diff --git a/.github/readme/partials/documentation/compatibility.md b/.github/readme/partials/documentation/compatibility.md
index 642f3174..006779b7 100644
--- a/.github/readme/partials/documentation/compatibility.md
+++ b/.github/readme/partials/documentation/compatibility.md
@@ -39,6 +39,7 @@
โ๏ธ |
๐ผ |
โฐ |
+ ๐ณ๏ธ |
| ๐ Classic template |
@@ -78,6 +79,7 @@
โ๏ธ |
โ๏ธ |
โ๏ธ |
+ โ๏ธ |
| ๐ Repository template |
@@ -117,6 +119,7 @@
โ๏ธ |
โ๏ธ |
โ |
+ โ |
| ๐ Terminal template |
@@ -156,6 +159,7 @@
โ |
โ |
โ |
+ โ |
| ๐ Markdown template |
@@ -195,9 +199,10 @@
โ๏ธ |
โ๏ธ |
โ |
+ โ |
- |
+ |
| Mode/Plugin |
@@ -237,6 +242,7 @@
โ๏ธ |
๐ผ |
โฐ |
+ ๐ณ๏ธ |
| ๐ค User |
@@ -276,6 +282,7 @@
โ๏ธ |
โ๏ธ |
โ๏ธ |
+ โ๏ธ |
| ๐ฅ Organization |
@@ -315,6 +322,7 @@
โ๏ธ |
โ๏ธ |
โ |
+ โ |
| ๐ Repository |
@@ -354,6 +362,7 @@
โ๏ธ |
โ๏ธ |
โ |
+ โ |
diff --git a/README.md b/README.md
index fe20da28..27d9bc6b 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
|
-
+
|
@@ -289,6 +289,17 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
+
+ | ๐ณ๏ธ Leetcode |
+ |
+
+
+
+
+
+ |
+ ![]() |
+
๐ฒ See also community plugins
@@ -438,6 +449,7 @@ Plugins provide additional content and lets you customize rendered metrics.
* [๐งฎ Repositories traffic `traffic`](/source/plugins/traffic/README.md)
* **Social plugins**
* [๐ธ Anilist watch list and reading list `anilist`](/source/plugins/anilist/README.md)
+ * [๐ณ๏ธ Leetcode `leetcode`](/source/plugins/leetcode/README.md)
* [๐ผ Music activity and suggestions `music`](/source/plugins/music/README.md)
* [โฑ๏ธ Google PageSpeed `pagespeed`](/source/plugins/pagespeed/README.md)
* [โ๏ธ Recent posts `posts`](/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 `chess`](/source/plugins/community/chess/README.md) by [@lowlighter](https://github.com/lowlighter)
* [๐ฅ Fortune `fortune`](/source/plugins/community/fortune/README.md) by [@lowlighter](https://github.com/lowlighter)
* [๐ Nightscout `nightscout`](/source/plugins/community/nightscout/README.md) by [@legoandmars](https://github.com/legoandmars)
* [๐ฉ PoopMap plugin `poopmap`](/source/plugins/community/poopmap/README.md) by [@matievisthekat](https://github.com/matievisthekat)
diff --git a/action.yml b/action.yml
index 808d23cf..54265f21 100644
--- a/action.yml
+++ b/action.yml
@@ -18,6 +18,10 @@ inputs:
description: Show `Available for hire!` in header section
default:
+ base_skip:
+ description: Skip base content
+ default:
+
repositories:
description: Fetched repositories
default:
@@ -1172,6 +1176,52 @@ inputs:
description: Repositories visibility
default:
+ # ====================================================================================
+ # ๐ณ๏ธ Leetcode
+
+ plugin_leetcode:
+ description: Enable leetcode plugin
+ default:
+
+ plugin_leetcode_user:
+ description: LeetCode login
+ default:
+
+ plugin_leetcode_sections:
+ description: Displayed sections
+ default:
+
+ plugin_leetcode_limit_skills:
+ description: Display limit (skills)
+ default:
+
+ plugin_leetcode_limit_recent:
+ description: Display limit (recent)
+ default:
+
+ # ====================================================================================
+ # โ๏ธ Chess
+
+ plugin_chess:
+ description: Enable chess plugin
+ default:
+
+ plugin_chess_token:
+ description: Chess platform token
+ default:
+
+ plugin_chess_user:
+ description: AniList login
+ default:
+
+ plugin_chess_platform:
+ description: Chess platform
+ default:
+
+ plugin_chess_animation:
+ description: Animation settings
+ default:
+
# ====================================================================================
# ๐ฅ Fortune
diff --git a/settings.example.json b/settings.example.json
index a0c3fce2..ffdc7de2 100644
--- a/settings.example.json
+++ b/settings.example.json
@@ -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"
},
diff --git a/source/plugins/README.md b/source/plugins/README.md
index 87c45893..3f53daac 100644
--- a/source/plugins/README.md
+++ b/source/plugins/README.md
@@ -37,6 +37,7 @@ Plugins provide additional content and lets you customize rendered metrics.
* [๐งฎ Repositories traffic `traffic`](/source/plugins/traffic/README.md)
* **Social plugins**
* [๐ธ Anilist watch list and reading list `anilist`](/source/plugins/anilist/README.md)
+ * [๐ณ๏ธ Leetcode `leetcode`](/source/plugins/leetcode/README.md)
* [๐ผ Music activity and suggestions `music`](/source/plugins/music/README.md)
* [โฑ๏ธ Google PageSpeed `pagespeed`](/source/plugins/pagespeed/README.md)
* [โ๏ธ Recent posts `posts`](/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 `chess`](/source/plugins/community/chess/README.md) by [@lowlighter](https://github.com/lowlighter)
* [๐ฅ Fortune `fortune`](/source/plugins/community/fortune/README.md) by [@lowlighter](https://github.com/lowlighter)
* [๐ Nightscout `nightscout`](/source/plugins/community/nightscout/README.md) by [@legoandmars](https://github.com/legoandmars)
* [๐ฉ PoopMap plugin `poopmap`](/source/plugins/community/poopmap/README.md) by [@matievisthekat](https://github.com/matievisthekat)
diff --git a/source/plugins/base/README.md b/source/plugins/base/README.md
index 168fafcf..2151e439 100644
--- a/source/plugins/base/README.md
+++ b/source/plugins/base/README.md
@@ -85,6 +85,21 @@ This currently improves the accuracy of the following statistics:
type: boolean
+default: no
|
+
+
+ base_skip
|
+ Skip base content
+
+โ ๏ธ Any plugin that relies on base content data may break!
+Only use this option when using a plugin that can be configured with token: NOT_NEEDED
+
+![]() |
+
+
+ โจ On master/main
+type: boolean
+
default: no
|
diff --git a/source/plugins/community/README.md b/source/plugins/community/README.md
index bd975e31..66774ba5 100644
--- a/source/plugins/community/README.md
+++ b/source/plugins/community/README.md
@@ -3,41 +3,44 @@
๐ฒ Community plugins |
| Additional plugins maintained by community for even more features! |
+ | โ๏ธ Chess |
๐ฅ Fortune |
- ๐ Nightscout |
+
+
+
+ |
|
+
+ | ๐ Nightscout |
+ ๐ฉ PoopMap plugin |
+
+
|
-
- | ๐ฉ PoopMap plugin |
- ๐ธ Website screenshot |
-
-
|
+
+ | ๐ธ Website screenshot |
+ ๐น Stock prices |
+
+
|
-
- | ๐น Stock prices |
- |
-
-
|
-![]() |
diff --git a/source/plugins/community/chess/README.md b/source/plugins/community/chess/README.md
index 1b81045c..0bbdf2eb 100644
--- a/source/plugins/community/chess/README.md
+++ b/source/plugins/community/chess/README.md
@@ -1,9 +1,110 @@
+
+ | โ Back to plugins index |
+ โ๏ธ Chess |
+ This plugin displays the last game you played on a supported chess platform.
+ |
+ | โ ๏ธ Disclaimer | 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.
+ |
+| Authors | @lowlighter |
+
+ Supported features โ Full specification |
+ ๐ Classic template |
+
+
+ ๐ค Users ๐ฅ Organizations ๐ Repositories |
+
+
+ ๐๏ธ plugin_chess_token |
+
+
+
+
+
+ |
+
+
## โก๏ธ Available options
+
+
+ | Option | Description |
+
+
+ plugin_chess
|
+ Enable chess plugin
+![]() |
+
+
+ โจ On master/main
+type: boolean
+
+default: no
|
+
+
+ plugin_chess_token
|
+ Chess platform token
+![]() |
+
+
+ ๐ Token
+โจ On master/main
+๐ Web instances must configure settings.json:
+
+type: token
+
|
+
+
+ plugin_chess_user
|
+ AniList login
+![]() |
+
+
+ โฏ๏ธ Cannot be preset
+โจ On master/main
+type: string
+
+default: โ User login
|
+
+
+ plugin_chess_platform
|
+ Chess platform
+![]() |
+
+
+ โจ On master/main
+type: string
+
+allowed values: |
+
+
+ plugin_chess_animation
|
+ Animation settings
+
+size is the size of a single chessboard square in pixels (board will be 8 times larger)
+delay is the delay before starting animation (in seconds)
+duration is the duration of the animation of a move (in seconds)
+
+![]() |
+
+
+ โจ On master/main
+type: json
+
+default: โ Click to expand{
+ "size": 40,
+ "delay": 3,
+ "duration": 0.6
+}
+
|
+
+
## ๐๏ธ Obtaining a lichess.org token
@@ -23,4 +124,16 @@ Create token and store it in your secrets:
## โน๏ธ Examples workflows
+```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
+
+```
diff --git a/source/plugins/leetcode/README.md b/source/plugins/leetcode/README.md
index 3eff2a87..d0b04870 100644
--- a/source/plugins/leetcode/README.md
+++ b/source/plugins/leetcode/README.md
@@ -1,12 +1,122 @@
+
+ | โ Back to plugins index |
+ ๐ณ๏ธ Leetcode |
+ This plugin displays statistics from a LeetCode account.
+ |
+ | โ ๏ธ Disclaimer | This plugin is not affiliated, associated, authorized, endorsed by, or in any way officially connected with LeetCode.
+All product and company names are trademarksโข or registeredยฎ trademarks of their respective holders.
+ |
+
+ Supported features โ Full specification |
+ ๐ Classic template |
+
+
+ ๐ค Users |
+
+
+ | No tokens are required for this plugin |
+
+
+
+
+
+ |
+
+
## โก๏ธ Available options
+
+
+ | Option | Description |
+
+
+ plugin_leetcode
|
+ Enable leetcode plugin
+![]() |
+
+
+ โจ On master/main
+type: boolean
+
+default: no
|
+
+
+ plugin_leetcode_user
|
+ LeetCode login
+![]() |
+
+
+ โฏ๏ธ Cannot be preset
+โจ On master/main
+type: string
+
+default: โ User login
|
+
+
+ plugin_leetcode_sections
|
+ Displayed sections
+
+solved will display solved problems scores
+skills will display solved problems tagged skills
+recent will display recent submissions
+
+![]() |
+
+
+ โจ On master/main
+type: array
+(comma-separated)
+
+default: solved
+allowed values: |
+
+
+ plugin_leetcode_limit_skills
|
+ Display limit (skills)
+![]() |
+
+
+ โจ On master/main
+type: number
+(0 โค
+๐ฅ)
+
+zero behaviour: disable
+default: 10
|
+
+
+ plugin_leetcode_limit_recent
|
+ Display limit (recent)
+![]() |
+
+
+ โจ On master/main
+type: number
+(1 โค
+๐ฅ
+โค 15)
+
+default: 2
|
+
+
## โน๏ธ Examples workflows
+```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
+
+```
diff --git a/source/templates/classic/README.md b/source/templates/classic/README.md
index baf657ea..26976fee 100644
--- a/source/templates/classic/README.md
+++ b/source/templates/classic/README.md
@@ -7,7 +7,7 @@ This is also the default template.
|
Supported features โ Full specification |
- ๐ ๐ฐ ๐ธ ๐ โ ๐ฅ ๐ ๐ฉ ๐ธ ๐น ๐ฌ ๐๏ธ ๐ซ ๐ก ๐ ๐
๐ท๏ธ ๐จโ๐ป ๐ผ ๐ฉ โฑ๏ธ ๐งโ๐คโ๐ง โ๏ธ ๐๏ธ ๐ญ ๐ ๐ผ ๐ ๐ ๐จ๏ธ โจ ๐ซ ๐ ๐ญ ๐ ๐งฎ ๐ค โฐ |
+ ๐ ๐ฐ ๐ธ ๐ โ โ๏ธ ๐ฅ ๐ ๐ฉ ๐ธ ๐น ๐ฌ ๐๏ธ ๐ซ ๐ก ๐ ๐
๐ท๏ธ ๐ณ๏ธ ๐จโ๐ป ๐ผ ๐ฉ โฑ๏ธ ๐งโ๐คโ๐ง โ๏ธ ๐๏ธ ๐ญ ๐ ๐ผ ๐ ๐ ๐จ๏ธ โจ ๐ซ ๐ ๐ญ ๐ ๐งฎ ๐ค โฐ |
๐ค Users ๐ฅ Organizations |