diff --git a/.github/readme/partials/documentation/compatibility.md b/.github/readme/partials/documentation/compatibility.md index b51742eb..095edf7c 100644 --- a/.github/readme/partials/documentation/compatibility.md +++ b/.github/readme/partials/documentation/compatibility.md @@ -38,7 +38,6 @@ ✒️ 🗼 ⏰ - 💹 📗 Classic template @@ -77,7 +76,6 @@ ✔️ ✔️ ✔️ - ✔️ 📘 Repository template @@ -116,7 +114,6 @@ ✔️ ✔️ ❌ - ✔️ 📙 Terminal template @@ -155,7 +152,6 @@ ❌ ❌ ❌ - ❌ 📒 Markdown template @@ -194,7 +190,6 @@ ✔️ ✔️ ✓ - ✓ @@ -236,7 +231,6 @@ ✒️ 🗼 ⏰ - 💹 👤 User @@ -275,7 +269,6 @@ ✔️ ✔️ ✔️ - ✔️ 👥 Organization @@ -314,7 +307,6 @@ ✔️ ✔️ ❌ - ✔️ 📓 Repository @@ -353,7 +345,6 @@ ✔️ ✔️ ❌ - ✔️ diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 7fcd0474..d0c7b5a4 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -904,19 +904,6 @@ jobs: output_action: none delay: 5 if: ${{ success() || failure() }} - - name: 💹 Stock prices - Stock prices from Tesla - uses: lowlighter/metrics@master - with: - filename: metrics.plugin.stock.svg - token: NOT_NEEDED - base: "" - plugin_stock: yes - plugin_stock_token: ${{ secrets.STOCK_TOKEN }} - plugin_stock_symbol: TSLA - plugins_errors_fatal: yes - output_action: none - delay: 5 - if: ${{ success() || failure() }} - name: 📸 Website screenshot - XKCD of the day uses: lowlighter/metrics@master with: @@ -931,6 +918,19 @@ jobs: output_action: none delay: 5 if: ${{ success() || failure() }} + - name: 💹 Stock prices - Stock prices from Tesla + uses: lowlighter/metrics@master + with: + filename: metrics.plugin.stock.svg + token: NOT_NEEDED + base: "" + plugin_stock: yes + plugin_stock_token: ${{ secrets.STOCK_TOKEN }} + plugin_stock_symbol: TSLA + plugins_errors_fatal: yes + output_action: none + delay: 5 + if: ${{ success() || failure() }} - name: 📗 Classic template - Example uses: lowlighter/metrics@master with: diff --git a/README.md b/README.md index f8a99069..242ccc47 100644 --- a/README.md +++ b/README.md @@ -263,8 +263,8 @@ Generate metrics that can be embedded everywhere, including your GitHub profile -
Latest posts
Latest posts width description and cover image
+
Latest posts
@@ -282,17 +282,6 @@ Generate metrics that can be embedded everywhere, including your GitHub profile - - 💹 Stock prices - - - - - - - - - 🎲 See also community plugins @@ -445,7 +434,6 @@ Plugins provide additional content and lets you customize rendered metrics. * [✒️ Recent posts `posts`](/source/plugins/posts/README.md) * [🗼 Rss feed `rss`](/source/plugins/rss/README.md) * [🗨️ StackOverflow plugin `stackoverflow`](/source/plugins/stackoverflow/README.md) - * [💹 Stock prices `stock`](/source/plugins/stock/README.md) * [🐤 Latest tweets `tweets`](/source/plugins/tweets/README.md) * [⏰ WakaTime plugin `wakatime`](/source/plugins/wakatime/README.md) @@ -453,6 +441,7 @@ Plugins provide additional content and lets you customize rendered metrics. * [💉 Nightscout `nightscout`](/source/plugins/nightscout/README.md) by [@legoandmars](https://github.com/legoandmars) * [💩 PoopMap plugin `poopmap`](/source/plugins/poopmap/README.md) by [@matievisthekat](https://github.com/matievisthekat) * [📸 Website screenshot `screenshot`](/source/plugins/screenshot/README.md) by [@lowlighter](https://github.com/lowlighter) +* [💹 Stock prices `stock`](/source/plugins/stock/README.md) by [@lowlighter](https://github.com/lowlighter) ## 💪 Contributing diff --git a/action.yml b/action.yml index 15b4e5de..af3c46fb 100644 --- a/action.yml +++ b/action.yml @@ -882,12 +882,14 @@ inputs: plugin_starlists_ignored: - description: Skipped star lists (case insensitive) + description: Skipped star lists (case insensitive, emojis insensitive) default: "" plugin_starlists_only: - description: Restrict display to specified star lists (case insensitive) + description: >- + Restrict display to specified star lists (case insensitive, emojis + insensitive) default: "" # ==================================================================================== @@ -1187,34 +1189,6 @@ inputs: description: WakaTime username default: current - # ==================================================================================== - # 💹 Stock prices - - - plugin_stock: - description: Enable stock plugin - default: no - - - plugin_stock_token: - description: Yahoo Finance token - default: "" - - - plugin_stock_symbol: - description: Company stock symbol - default: "" - - - plugin_stock_duration: - description: Time range (relative to current date) - default: 1d - - - plugin_stock_interval: - description: Time interval between points - default: 5m - # ==================================================================================== # 💉 Nightscout @@ -1299,6 +1273,34 @@ inputs: description: Display background default: yes + # ==================================================================================== + # 💹 Stock prices + + + plugin_stock: + description: Enable stock plugin + default: no + + + plugin_stock_token: + description: Yahoo Finance token + default: "" + + + plugin_stock_symbol: + description: Company stock symbol + default: "" + + + plugin_stock_duration: + description: Time range (relative to current date) + default: 1d + + + plugin_stock_interval: + description: Time interval between points + default: 5m + # ==================================================================================== # Action metadata diff --git a/settings.example.json b/settings.example.json index d1e49dfb..2b5f7e26 100644 --- a/settings.example.json +++ b/settings.example.json @@ -138,10 +138,6 @@ "token": null, "//":"WakaTime API token", "enabled": false, "//": "Enable wakatime plugin" }, - "stock":{ - "token": null, "//":"Yahoo Finance token", - "enabled": false, "//": "Enable stock plugin" - }, "nightscout":{ "enabled": false, "//": "Enable nightscout plugin" }, @@ -152,6 +148,10 @@ "screenshot":{ "enabled": false, "//": "Enable screenshot plugin" }, + "stock":{ + "token": null, "//":"Yahoo Finance token", + "enabled": false, "//": "Enable stock plugin" + }, "//": "" } } \ No newline at end of file diff --git a/source/plugins/README.md b/source/plugins/README.md index cb00796d..e0e70c46 100644 --- a/source/plugins/README.md +++ b/source/plugins/README.md @@ -41,7 +41,6 @@ Plugins provide additional content and lets you customize rendered metrics. * [✒️ Recent posts `posts`](/source/plugins/posts/README.md) * [🗼 Rss feed `rss`](/source/plugins/rss/README.md) * [🗨️ StackOverflow plugin `stackoverflow`](/source/plugins/stackoverflow/README.md) - * [💹 Stock prices `stock`](/source/plugins/stock/README.md) * [🐤 Latest tweets `tweets`](/source/plugins/tweets/README.md) * [⏰ WakaTime plugin `wakatime`](/source/plugins/wakatime/README.md) @@ -49,3 +48,4 @@ Plugins provide additional content and lets you customize rendered metrics. * [💉 Nightscout `nightscout`](/source/plugins/nightscout/README.md) by [@legoandmars](https://github.com/legoandmars) * [💩 PoopMap plugin `poopmap`](/source/plugins/poopmap/README.md) by [@matievisthekat](https://github.com/matievisthekat) * [📸 Website screenshot `screenshot`](/source/plugins/screenshot/README.md) by [@lowlighter](https://github.com/lowlighter) +* [💹 Stock prices `stock`](/source/plugins/stock/README.md) by [@lowlighter](https://github.com/lowlighter) diff --git a/source/plugins/posts/README.md b/source/plugins/posts/README.md index 2daa29f4..7c831a56 100644 --- a/source/plugins/posts/README.md +++ b/source/plugins/posts/README.md @@ -15,8 +15,8 @@ -
Latest posts
Latest posts width description and cover image
+
Latest posts
diff --git a/source/plugins/posts/metadata.yml b/source/plugins/posts/metadata.yml index 24397d41..9f9dddc1 100644 --- a/source/plugins/posts/metadata.yml +++ b/source/plugins/posts/metadata.yml @@ -2,8 +2,8 @@ name: "✒️ Recent posts" category: social description: This plugin displays recent articles from a specified external source. examples: - latest posts: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.posts.svg +latest posts width description and cover image: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.posts.full.svg + latest posts: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.posts.svg index: 6 supports: - user diff --git a/source/plugins/starlists/README.md b/source/plugins/starlists/README.md index 99f65b50..78cfa243 100644 --- a/source/plugins/starlists/README.md +++ b/source/plugins/starlists/README.md @@ -81,7 +81,7 @@ plugin_starlists_ignored -

Skipped star lists (case insensitive)

+

Skipped star lists (case insensitive, emojis insensitive)

@@ -92,7 +92,7 @@ plugin_starlists_only -

Restrict display to specified star lists (case insensitive)

+

Restrict display to specified star lists (case insensitive, emojis insensitive)

This option is equivalent to plugin_starlists_ignored with all star lists but the ones listed in this option

diff --git a/source/templates/classic/README.md b/source/templates/classic/README.md index ba9b801c..6a55c8aa 100644 --- a/source/templates/classic/README.md +++ b/source/templates/classic/README.md @@ -6,7 +6,7 @@ This is also the default template.

Supported features
→ Full specification - 🏆 📰 🌸 💬 🎟️ 🎫 💡 🙋 📅 🈷️ 👨‍💻 🎼 💉 🎩 ⏱️ 🧑‍🤝‍🧑 💩 ✒️ 🗂️ 🎭 📓 🗼 📸 🌇 💕 🗨️ 💫 🌟 💹 💭 📌 🧮 🐤 + 🏆 📰 🌸 💉 💩 📸 💹 💬 🎟️ 🎫 💡 🙋 📅 🈷️ 👨‍💻 🎼 🎩 ⏱️ 🧑‍🤝‍🧑 ✒️ 🗂️ 🎭 📓 🗼 🌇 💕 🗨️ 💫 🌟 💭 📌 🧮 🐤 👤 Users 👥 Organizations diff --git a/source/templates/repository/README.md b/source/templates/repository/README.md index dd859578..fd2fbff6 100644 --- a/source/templates/repository/README.md +++ b/source/templates/repository/README.md @@ -5,7 +5,7 @@ Supported features
→ Full specification - 📰 🏅 🎟️ 🙋 🈷️ 📜 👨‍💻 ⏱️ 🧑‍🤝‍🧑 ✒️ 🗂️ 🗼 📸 💕 💹 🧮 + 📰 📸 💹 🏅 🎟️ 🙋 🈷️ 📜 👨‍💻 ⏱️ 🧑‍🤝‍🧑 ✒️ 🗂️ 🗼 💕 🧮 📓 Repositories diff --git a/source/templates/terminal/README.md b/source/templates/terminal/README.md index e4ca93d9..5cc7005c 100644 --- a/source/templates/terminal/README.md +++ b/source/templates/terminal/README.md @@ -5,7 +5,7 @@ Supported features
→ Full specification - 🎫 📅 🈷️ 👨‍💻 ⏱️ 📸 🧮 + 📸 🎫 📅 🈷️ 👨‍💻 ⏱️ 🧮 👤 Users 👥 Organizations