diff --git a/src/components/Widgets/ChuckNorris.vue b/src/components/Widgets/ChuckNorris.vue new file mode 100644 index 00000000..1a380259 --- /dev/null +++ b/src/components/Widgets/ChuckNorris.vue @@ -0,0 +1,66 @@ + + + + + \ No newline at end of file diff --git a/src/components/Widgets/WidgetBase.vue b/src/components/Widgets/WidgetBase.vue index a1efa1cd..e7e5d3f8 100644 --- a/src/components/Widgets/WidgetBase.vue +++ b/src/components/Widgets/WidgetBase.vue @@ -46,20 +46,21 @@ const COMPAT = { 'adguard-filter-status': 'AdGuardFilterStatus', 'adguard-stats': 'AdGuardStats', 'adguard-top-domains': 'AdGuardTopDomains', - anonaddy: 'addy.io', - apod: 'Apod', + 'anonaddy': 'addy.io', + 'apod': 'Apod', 'blacklist-check': 'BlacklistCheck', - clock: 'Clock', + 'chucknorris': 'ChuckNorris', + 'clock': 'Clock', + 'code-stats': 'CodeStats', + 'covid-stats': 'CovidStats', 'crypto-price-chart': 'CryptoPriceChart', 'crypto-watch-list': 'CryptoWatchList', 'custom-search': 'CustomSearch', 'custom-list': 'CustomList', 'cve-vulnerabilities': 'CveVulnerabilities', 'domain-monitor': 'DomainMonitor', - 'code-stats': 'CodeStats', - 'covid-stats': 'CovidStats', 'drone-ci': 'DroneCi', - embed: 'EmbedWidget', + 'embed': 'EmbedWidget', 'eth-gas-prices': 'EthGasPrices', 'exchange-rates': 'ExchangeRates', 'flight-data': 'Flights', @@ -81,16 +82,16 @@ const COMPAT = { 'gl-network-traffic': 'GlNetworkTraffic', 'gl-system-load': 'GlSystemLoad', 'gl-cpu-temp': 'GlCpuTemp', + 'gluetun-status': 'GluetunStatus', 'health-checks': 'HealthChecks', 'hackernews-trending': 'HackernewsTrending', - 'gluetun-status': 'GluetunStatus', - iframe: 'IframeWidget', - image: 'ImageWidget', - joke: 'Jokes', + 'iframe': 'IframeWidget', + 'image': 'ImageWidget', + 'joke': 'Jokes', + 'linkding': 'Linkding', 'minecraft-status': 'MinecraftStatus', 'mullvad-status': 'MullvadStatus', - mvg: 'Mvg', - linkding: 'Linkding', + 'mvg': 'Mvg', 'mvg-connection': 'MvgConnection', 'nd-cpu-history': 'NdCpuHistory', 'nd-load-history': 'NdLoadHistory', @@ -113,17 +114,17 @@ const COMPAT = { 'public-ip': 'PublicIp', 'rescue-time': 'RescueTime', 'rss-feed': 'RssFeed', - sabnzbd: 'Sabnzbd', + 'sabnzbd': 'Sabnzbd', 'sports-scores': 'SportsScores', 'stat-ping': 'StatPing', 'stock-price-chart': 'StockPriceChart', 'synology-download': 'SynologyDownload', 'system-info': 'SystemInfo', 'tfl-status': 'TflStatus', - trmm: 'TacticalRMM', + 'trmm': 'TacticalRMM', 'uptime-kuma': 'UptimeKuma', 'wallet-balance': 'WalletBalance', - weather: 'Weather', + 'weather': 'Weather', 'weather-forecast': 'WeatherForecast', 'xkcd-comic': 'XkcdComic', }; diff --git a/src/utils/defaults.js b/src/utils/defaults.js index 847dbe6f..8f72fcc8 100644 --- a/src/utils/defaults.js +++ b/src/utils/defaults.js @@ -227,6 +227,7 @@ module.exports = { anonAddy: 'https://app.addy.io', astronomyPictureOfTheDay: 'https://apod.as93.net/apod', blacklistCheck: 'https://api.blacklistchecker.com/check', + chuckNorris: 'https://api.chucknorris.io/jokes/random', codeStats: 'https://codestats.net/', covidStats: 'https://disease.sh/v3/covid-19', cryptoPrices: 'https://api.coingecko.com/api/v3/coins/',