Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:art: Sorts widget API endpoints alphabetically

Alicia Sykesd855c46ca331
diff --git a/src/utils/defaults.js b/src/utils/defaults.js
index 2a59e021..17935cb7 100644
--- a/src/utils/defaults.js
+++ b/src/utils/defaults.js
@@ -206,24 +206,25 @@ module.exports = {
},
/* API endpoints for widgets that need to fetch external data */
widgetApiEndpoints: {
- weather: 'https://api.openweathermap.org/data/2.5/weather',
- weatherForecast: 'https://api.openweathermap.org/data/2.5/forecast/daily',
- tflStatus: 'https://api.tfl.gov.uk/line/mode/tube/status',
+ astronomyPictureOfTheDay: 'https://apodapi.herokuapp.com/api',
+ codeStats: 'https://codestats.net/',
cryptoPrices: 'https://api.coingecko.com/api/v3/coins/',
cryptoWatchList: 'https://api.coingecko.com/api/v3/coins/markets/',
- xkcdComic: 'https://xkcd.vercel.app/',
exchangeRates: 'https://v6.exchangerate-api.com/v6/',
- stockPriceChart: 'https://www.alphavantage.co/query',
- jokes: 'https://v2.jokeapi.dev/joke/',
flights: 'https://aerodatabox.p.rapidapi.com/flights/airports/icao/',
- rssToJson: 'https://api.rss2json.com/v1/api.json',
- codeStats: 'https://codestats.net/',
+ githubTrending: 'https://gh-trending-repos.herokuapp.com/',
+ healthChecks: 'https://healthchecks.io/api/v1/',
holidays: 'https://kayaposoft.com/enrico/json/v2.0/?action=getHolidaysForDateRange',
+ jokes: 'https://v2.jokeapi.dev/joke/',
+ news: 'https://api.currentsapi.services/v1/latest-news',
publicIp: 'http://ip-api.com/json',
readMeStats: 'https://github-readme-stats.vercel.app/api',
- githubTrending: 'https://gh-trending-repos.herokuapp.com/',
- astronomyPictureOfTheDay: 'https://apodapi.herokuapp.com/api',
- news: 'https://api.currentsapi.services/v1/latest-news',
+ rssToJson: 'https://api.rss2json.com/v1/api.json',
+ stockPriceChart: 'https://www.alphavantage.co/query',
+ tflStatus: 'https://api.tfl.gov.uk/line/mode/tube/status',
+ weather: 'https://api.openweathermap.org/data/2.5/weather',
+ weatherForecast: 'https://api.openweathermap.org/data/2.5/forecast/daily',
+ xkcdComic: 'https://xkcd.vercel.app/',
},
/* URLs for web search engines */
searchEngineUrls: {