diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index ad431894..1d9709b1 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -874,36 +874,6 @@ jobs: user: lowlighter plugins_errors_fatal: yes if: ${{ success() || failure() }} - - name: 🐤 Latest tweets - Latest tweets - uses: lowlighter/metrics@master - with: - filename: metrics.plugin.tweets.svg - token: NOT_NEEDED - base: "" - plugin_tweets: yes - plugin_tweets_token: ${{ secrets.TWITTER_TOKEN }} - plugin_tweets_user: github - output_action: none - delay: 120 - user: lowlighter - plugins_errors_fatal: yes - if: ${{ success() || failure() }} - - name: 🐤 Latest tweets - Latest tweets including attachments - uses: lowlighter/metrics@master - with: - filename: metrics.plugin.tweets.attachments.svg - token: NOT_NEEDED - base: "" - plugin_tweets: yes - plugin_tweets_token: ${{ secrets.TWITTER_TOKEN }} - plugin_tweets_attachments: yes - plugin_tweets_user: github - plugin_tweets_limit: 1 - output_action: none - delay: 120 - user: lowlighter - plugins_errors_fatal: yes - if: ${{ success() || failure() }} - name: 🗨️ Stack Overflow - Top answers from stackoverflow uses: lowlighter/metrics@master with: diff --git a/README.md b/README.md index fe63843a..139e0e01 100644 --- a/README.md +++ b/README.md @@ -243,77 +243,65 @@ Generate metrics that can be embedded everywhere, including your GitHub profile - 🐤 Latest tweets 🗨️ Stack Overflow + 🌸 Anilist watch list and reading list - -
Latest tweets with attachments
-
Latest tweets
- - - - - 🌸 Anilist watch list and reading list - 🎼 Music activity and suggestions - -
For anime watchers
For manga readers
For waifus simp
+ + + 🎼 Music activity and suggestions + ✒️ Recent posts + +
Random tracks from a playlist
Recently listened
- - - ✒️ Recent posts - 🗼 Rss feed - -
Latest posts width description and cover image
Latest posts
+ + + 🗼 Rss feed + ⏰ WakaTime + + - - - ⏰ WakaTime - 🗳️ Leetcode - - + + + 🗳️ Leetcode + 🕹️ Steam + + - - - 🕹️ Steam - - -
Recently played games
Profile and detailed game history
- @@ -532,7 +520,7 @@ Plugins provide additional content and lets you customize rendered metrics. * [🗼 Rss feed `rss`](/source/plugins/rss/README.md) * [🗨️ Stack Overflow `stackoverflow`](/source/plugins/stackoverflow/README.md) * [🕹️ Steam `steam`](/source/plugins/steam/README.md) - * [🐤 Latest tweets `tweets`](/source/plugins/tweets/README.md) + * [🐤 Latest tweets `tweets`](/source/plugins/tweets/README.md) `⚠️ deprecated` * [⏰ WakaTime `wakatime`](/source/plugins/wakatime/README.md) **🎲 Maintained by community** diff --git a/source/plugins/README.md b/source/plugins/README.md index d7b7345d..149282f9 100644 --- a/source/plugins/README.md +++ b/source/plugins/README.md @@ -45,7 +45,7 @@ Plugins provide additional content and lets you customize rendered metrics. * [🗼 Rss feed `rss`](/source/plugins/rss/README.md) * [🗨️ Stack Overflow `stackoverflow`](/source/plugins/stackoverflow/README.md) * [🕹️ Steam `steam`](/source/plugins/steam/README.md) - * [🐤 Latest tweets `tweets`](/source/plugins/tweets/README.md) + * [🐤 Latest tweets `tweets`](/source/plugins/tweets/README.md) `⚠️ deprecated` * [⏰ WakaTime `wakatime`](/source/plugins/wakatime/README.md) **🎲 Maintained by community** diff --git a/source/plugins/tweets/README.md b/source/plugins/tweets/README.md index 74d8f398..c1e903cd 100644 --- a/source/plugins/tweets/README.md +++ b/source/plugins/tweets/README.md @@ -3,6 +3,8 @@ ← Back to plugins index

🐤 Latest tweets

This plugin displays the latest tweets from a Twitter account.

+ + ⚠️ Deprecated

As Twitter removed the ability to fetch tweets from their free API as part of their new pricing policy, this plugin is no longer maintained.

⚠️ Disclaimer

This plugin is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Twitter. All product and company names are trademarks™ or registered® trademarks of their respective holders.

diff --git a/source/plugins/tweets/examples.yml b/source/plugins/tweets/examples.yml index 6a0128f0..9d0f6453 100644 --- a/source/plugins/tweets/examples.yml +++ b/source/plugins/tweets/examples.yml @@ -7,6 +7,10 @@ plugin_tweets: yes plugin_tweets_token: ${{ secrets.TWITTER_TOKEN }} plugin_tweets_user: github + prod: + skip: true + test: + skip: true - name: Latest tweets including attachments uses: lowlighter/metrics@latest @@ -19,3 +23,7 @@ plugin_tweets_attachments: yes plugin_tweets_user: github plugin_tweets_limit: 1 + prod: + skip: true + test: + skip: true diff --git a/source/plugins/tweets/metadata.yml b/source/plugins/tweets/metadata.yml index 929b91a7..fdb56b5c 100644 --- a/source/plugins/tweets/metadata.yml +++ b/source/plugins/tweets/metadata.yml @@ -5,6 +5,8 @@ description: | disclaimer: | This plugin is not affiliated, associated, authorized, endorsed by, or in any way officially connected with [Twitter](https://twitter.com). All product and company names are trademarks™ or registered® trademarks of their respective holders. +deprecation: | + As [Twitter](https://twitter.com) removed the ability to fetch tweets from their free API as part of their new [pricing policy](https://developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api), this plugin is no longer maintained. examples: +latest tweets with attachments: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.tweets.attachments.svg latest tweets: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.tweets.svg diff --git a/tests/cases/tweets.plugin.yml b/tests/cases/tweets.plugin.yml index 62e8c583..fe51488c 100644 --- a/tests/cases/tweets.plugin.yml +++ b/tests/cases/tweets.plugin.yml @@ -1,20 +1 @@ -- name: 🐤 Latest tweets - Latest tweets - uses: lowlighter/metrics@latest - with: - token: NOT_NEEDED - plugin_tweets: 'yes' - plugin_tweets_token: MOCKED_TOKEN - plugin_tweets_user: github - use_mocked_data: 'yes' - verify: 'yes' -- name: 🐤 Latest tweets - Latest tweets including attachments - uses: lowlighter/metrics@latest - with: - token: NOT_NEEDED - plugin_tweets: 'yes' - plugin_tweets_token: MOCKED_TOKEN - plugin_tweets_attachments: 'yes' - plugin_tweets_user: github - plugin_tweets_limit: 1 - use_mocked_data: 'yes' - verify: 'yes' +[]