diff --git a/README.md b/README.md index e7f18508..9abf530a 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ And you can customize these heavily with plugins, templates and hundreds of opti
| - 🧩 34 plugins + 🧩 35 plugins | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ♐ Code snippet of the day | 🌇 GitHub Skyline 3D calendar | -⏱️ Website performances | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
+ |
|
+ |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ⏱️ Website performances | +🎼 Music plugin | +|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Detailed version@@ -258,12 +268,6 @@ And you can customize these heavily with plugins, templates and hundreds of opti |
- ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 🎼 Music plugin | -🐤 Latest tweets | -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
🎼 Favorite tracks version |
+ ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 🐤 Latest tweets | +🌸 Anilist watch list and reading list | +|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
With tweets attachments version@@ -280,12 +290,6 @@ And you can customize these heavily with plugins, templates and hundreds of opti |
- ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 🌸 Anilist watch list and reading list | -🗨️ Stackoverflow plugin | -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Manga version@@ -296,16 +300,16 @@ And you can customize these heavily with plugins, templates and hundreds of opti |
+ ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 🗨️ Stackoverflow plugin | +✒️ Recent posts | +|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
- ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ✒️ Recent posts | -🗼 Rss feed | -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
With posts descriptions and cover images version@@ -313,38 +317,45 @@ And you can customize these heavily with plugins, templates and hundreds of opti |
+ ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 🗼 Rss feed | +⏰ WakaTime plugin | +|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
- ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ⏰ WakaTime plugin | -💹 Stock prices | -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
+ ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 💹 Stock prices | +📸 Website screenshot | +|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
- ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 📸 Website screenshot | -💉 Nightscout | -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
+ ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 💉 Nightscout | ++ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
+ ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| @@ -424,7 +435,7 @@ Choose `📊 Metrics embed` if you want to customize your GitHub profile and ` ### 🐙 Features -* Create infographics from **34 plugins**, **4 templates** and **200 options** +* Create infographics from **35 plugins**, **4 templates** and **200 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 * Support **users**, **organizations** and even **repositories** * Transparent by default so it'll blend well whether light or dark mode is used @@ -742,6 +753,7 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1 | 💭 | 🎩 | 📓 | +♐ | 🌇 | ⏱️ | 🎼 | @@ -780,6 +792,7 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1✔️ | ✔️ | ✔️ | +✔️ | ✔️ | ✔️ | ✔️ | @@ -818,6 +831,7 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1❌ | ❌ | ❌ | +❌ | ❌ | ✔️ | ❌ | @@ -856,6 +870,7 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1❌ | ❌ | ❌ | +❌ | ❌ | ✔️ | ❌ | @@ -894,6 +909,7 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1❌ | ❌ | ❌ | +❌ | ❌ | ❌ | ❌ | @@ -908,7 +924,7 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1❌ | ||||||||||||||||||||||||||||||||||||
| + | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Mode/Plugin | @@ -935,6 +951,7 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1💭 | 🎩 | 📓 | +♐ | 🌇 | ⏱️ | 🎼 | @@ -973,6 +990,7 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1✔️ | ✔️ | ✔️ | +✔️ | ✔️ | ✔️ | ✔️ | @@ -1011,6 +1029,7 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1❌ | ❌ | ✔️ | +✔️ | ❌ | ✔️ | ✔️ | @@ -1049,6 +1068,7 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1❌ | ❌ | ❌ | +✔️ | ❌ | ✔️ | ❌ | @@ -1087,6 +1107,7 @@ See their respective documentation for more informations about how to setup them * **Github** * [🏆 Achievements](/source/plugins/achievements/README.md) * [📰 Recent activity](/source/plugins/activity/README.md) + * [♐ Code snippet of the day](/source/plugins/code/README.md) * [🏅 Repository contributors](/source/plugins/contributors/README.md) * [💬 Discussions](/source/plugins/discussions/README.md) * [🎟️ Follow-up of issues and pull requests](/source/plugins/followup/README.md) diff --git a/action.yml b/action.yml index 2ab1fe40..c154d56b 100644 --- a/action.yml +++ b/action.yml @@ -822,6 +822,35 @@ inputs: description: List of repositories to display default: "" + # ==================================================================================== + # ♐ Code snippet of the day + + # Enable or disable plugin + plugin_code: + description: Display a random code snippet from recent activity + default: no + + # Maximum number of lines that a code snippet can contain + plugin_code_lines: + description: Maximum number of line that a code snippet can contain + default: 12 + + # Number of activity events to load + # A high number will consume more requests + plugin_code_load: + description: Number of events to load + default: 100 + + # Set events visibility (use this to restrict events when using a "repo" token) + plugin_code_visibility: + description: Set events visibility + default: public + + # List of repositories that will be skipped + plugin_code_skipped: + description: Repositories to skip + default: "" + # ==================================================================================== # 🌇 GitHub Skyline 3D calendar diff --git a/settings.example.json b/settings.example.json index 859679ab..82edbe2e 100644 --- a/settings.example.json +++ b/settings.example.json @@ -98,6 +98,9 @@ "repositories":{ "enabled": false, "//": "Display chosen featured repositories" }, + "code":{ + "enabled": false, "//": "Display a random code snippet from recent activity" + }, "skyline":{ "enabled": false, "//": "Display GitHub Skyline 3D calendar" }, diff --git a/source/plugins/README.md b/source/plugins/README.md index 2c5d6fe6..d3e57cca 100644 --- a/source/plugins/README.md +++ b/source/plugins/README.md @@ -9,6 +9,7 @@ See their respective documentation for more informations about how to setup them * **Github** * [🏆 Achievements](/source/plugins/achievements/README.md) * [📰 Recent activity](/source/plugins/activity/README.md) + * [♐ Code snippet of the day](/source/plugins/code/README.md) * [🏅 Repository contributors](/source/plugins/contributors/README.md) * [💬 Discussions](/source/plugins/discussions/README.md) * [🎟️ Follow-up of issues and pull requests](/source/plugins/followup/README.md)||||||||||||||||||||||||||||||||||||||||||||