diff --git a/README.md b/README.md index 0ffa54e1b53..16e90a9befd 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Generate your metrics that you can embed everywhere, including your GitHub profi
- 🧩 24 plugins + 🧩 25 plugins | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
✒️ Recent posts | -🐤 Latest tweets | +🗨️ Stackoverflow plugin | |||||||||||||||||||||||||||
@@ -225,23 +225,34 @@ Generate your metrics that you can embed everywhere, including your GitHub profi
|
- |
||||||||||||||||||||||||||||
🐤 Latest tweets | ⏰ WakaTime plugin | -💉 Nightscout | |||||||||||||||||||||||||||
+ |
|
+ ||||||||||||||||||||||||||||
💉 Nightscout | ++ | ||||||||||||||||||||||||||||
|
+ |||||||||||||||||||||||||||||
@@ -591,6 +602,7 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1 | 🎼 | ⏱️ | ✒️ | +🗨️ | 🐤 | ⏰ | 💉 | @@ -619,6 +631,7 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1✔️ | ✔️ | ✔️ | +✔️ | ✔️ | ✔️ | ✔️ | @@ -647,6 +660,7 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1❌ | ✔️ | ❌ | +❌ | ❌ | ❌ | ❌ | @@ -675,6 +689,7 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1❌ | ✔️ | ❌ | +❌ | ❌ | ❌ | ❌ | @@ -722,6 +737,7 @@ See their respective documentation for more informations about how to setup them * [🎼 Music plugin](/source/plugins/music/README.md) * [⏱️ Website performances](/source/plugins/pagespeed/README.md) * [✒️ Recent posts](/source/plugins/posts/README.md) + * [🗨️ Stackoverflow plugin](/source/plugins/stackoverflow/README.md) * [🐤 Latest tweets](/source/plugins/tweets/README.md) * [⏰ WakaTime plugin](/source/plugins/wakatime/README.md) * **Health** diff --git a/action.yml b/action.yml index 68fc98814ca..c020a7000e2 100644 --- a/action.yml +++ b/action.yml @@ -128,7 +128,7 @@ inputs: # Specify one value (for both width and height) or two values (one for width and one for height) config_padding: description: Image padding - default: 6%, 15% + default: 6%, 13% # Metrics output format config_output: @@ -670,6 +670,36 @@ inputs: description: Posts external source username default: .user.login + # ==================================================================================== + # 🗨️ Stackoverflow plugin + + # Enable or disable plugin + plugin_stackoverflow: + description: Stackoverflow metrics + default: no + + # Stackoverflow user id + # To obtain it, extract the identifier on your account page url + plugin_stackoverflow_user: + description: Stackoverflow user id + default: 0 + + # Sections to display + plugin_stackoverflow_sections: + description: Sections to display + default: answers-top, questions-recent + + # Number of entries to display per section + plugin_stackoverflow_limit: + description: Maximum number of entries to display per section + default: 2 + + # Number of lines to display per question or answer + # Set to 0 to disable limitations + plugin_stackoverflow_lines: + description: Maximum number of lines to display per question or answer + default: 4 + # ==================================================================================== # 🐤 Latest tweets diff --git a/settings.example.json b/settings.example.json index ab91cb5abdd..a405e413e13 100644 --- a/settings.example.json +++ b/settings.example.json @@ -12,7 +12,7 @@ "debug": false, "//": "Debug logs", "mocked": false, "//": "Use mocked data instead of live APIs (use 'force' to use mocked token even if real token are defined)", "repositories": 100, "//": "Number of repositories to use", - "padding": ["6%", "15%"], "//": "Image padding (default)", + "padding": ["6%", "13%"], "//": "Image padding (default)", "hosted": { "by": "", "//": "Web instance host (displayed in footer)", "link": "", "//": "Web instance host link (displayed in footer)" @@ -91,6 +91,9 @@ "posts":{ "enabled": false, "//": "Display recent posts" }, + "stackoverflow":{ + "enabled": false, "//": "Stackoverflow metrics" + }, "tweets":{ "token": null, "//":"Twitter API token", "enabled": false, "//": "Display recent tweets" diff --git a/source/plugins/README.md b/source/plugins/README.md index 032838b29ef..f19d547ba7a 100644 --- a/source/plugins/README.md +++ b/source/plugins/README.md @@ -29,6 +29,7 @@ See their respective documentation for more informations about how to setup them * [🎼 Music plugin](/source/plugins/music/README.md) * [⏱️ Website performances](/source/plugins/pagespeed/README.md) * [✒️ Recent posts](/source/plugins/posts/README.md) + * [🗨️ Stackoverflow plugin](/source/plugins/stackoverflow/README.md) * [🐤 Latest tweets](/source/plugins/tweets/README.md) * [⏰ WakaTime plugin](/source/plugins/wakatime/README.md) * **Health**