homepage/src/widgets/widgets.js

178 lines
4.6 KiB
JavaScript
Raw Normal View History

import adguard from "./adguard/widget";
2023-03-05 23:34:46 -08:00
import audiobookshelf from "./audiobookshelf/widget";
2022-09-25 17:42:16 -07:00
import authentik from "./authentik/widget";
2022-10-26 12:56:43 +02:00
import autobrr from "./autobrr/widget";
import bazarr from "./bazarr/widget";
2023-05-15 02:12:56 +02:00
import caddy from "./caddy/widget";
2022-10-13 18:40:26 -03:00
import changedetectionio from "./changedetectionio/widget";
2023-04-19 16:24:02 -04:00
import channelsdvrserver from "./channelsdvrserver/widget";
2023-01-20 11:43:19 -05:00
import cloudflared from "./cloudflared/widget";
import coinmarketcap from "./coinmarketcap/widget";
import deluge from "./deluge/widget";
import diskstation from "./diskstation/widget";
2022-12-22 10:54:03 -08:00
import downloadstation from "./downloadstation/widget";
import emby from "./emby/widget";
import evcc from "./evcc/widget";
2023-02-12 20:31:31 +03:00
import fileflows from "./fileflows/widget";
2022-12-01 12:40:19 +01:00
import flood from "./flood/widget";
import freshrss from "./freshrss/widget";
2023-04-19 16:24:02 -04:00
import ghostfolio from "./ghostfolio/widget";
2022-11-09 17:04:48 +01:00
import gluetun from "./gluetun/widget";
import gotify from "./gotify/widget";
2023-02-13 15:20:22 +03:00
import grafana from "./grafana/widget";
import hdhomerun from "./hdhomerun/widget";
2023-04-11 20:54:13 +02:00
import homeassistant from "./homeassistant/widget";
2022-10-24 16:40:49 -03:00
import homebridge from "./homebridge/widget";
2023-02-19 02:31:57 -06:00
import healthchecks from "./healthchecks/widget";
import immich from "./immich/widget";
import jackett from "./jackett/widget";
import jellyseerr from "./jellyseerr/widget";
import komga from "./komga/widget";
import kopia from "./kopia/widget";
2022-09-27 21:22:26 -07:00
import lidarr from "./lidarr/widget";
2022-09-26 02:23:02 +03:00
import mastodon from "./mastodon/widget";
2023-01-16 22:38:44 +01:00
import medusa from "./medusa/widget";
import minecraft from "./minecraft/widget";
2022-12-06 21:33:45 +08:00
import miniflux from "./miniflux/widget";
2022-12-23 18:12:06 +01:00
import mikrotik from "./mikrotik/widget";
import moonraker from "./moonraker/widget";
2023-02-03 15:51:52 -05:00
import mylar from "./mylar/widget";
2022-11-07 10:16:03 -06:00
import navidrome from "./navidrome/widget";
2023-02-16 11:30:05 +03:00
import nextcloud from "./nextcloud/widget";
2022-12-16 14:38:48 -03:00
import nextdns from "./nextdns/widget";
2022-09-26 02:23:02 +03:00
import npm from "./npm/widget";
import nzbget from "./nzbget/widget";
import octoprint from "./octoprint/widget";
Squashed commit of the following from initial Omada widget: commit ad3e664b56ad2a9024684f2141f8f21ead59177e Author: Benoit <oupsman@oupsman.fr> Date: Tue Dec 13 19:54:54 2022 +0100 Add .idea to .gitignore commit 7e51a093845c6bcda4fac78a2c174adbcc7701b6 Merge: 93d8035 7dd0b0e Author: Benoit SERRA <oupsman@oupsman.fr> Date: Tue Dec 13 18:38:51 2022 +0100 Merge branch 'benphelps:main' into main commit 93d80350b1d4519ac217b880568ccabbef43f03f Author: Benoit <oupsman@oupsman.fr> Date: Tue Dec 13 18:15:20 2022 +0100 Omada widget : One widget, shows only the number alerts, the number of connected AP, the number of connected devices to Wifi, the number of connected switches and gatewawys. commit a1babd860ce8a2dd6981b7fef6e055e249cbccb2 Author: Benoit <oupsman@oupsman.fr> Date: Tue Dec 13 09:33:50 2022 +0100 Omada widget : spliting widget between WLAN and LAN/WAN fields to have no more than 5 fields per widget. commit e12cc65c7703f2f1930fc7646c1f4386b49e73fb Merge: 331f31f 146326f Author: Benoit SERRA <oupsman@oupsman.fr> Date: Sun Dec 11 14:39:27 2022 +0100 Merge branch 'benphelps:main' into main commit 331f31fc2be80e0738869fd050b3034638979350 Merge: 37154e3 ccc1229 Author: Benoit SERRA <oupsman@oupsman.fr> Date: Sat Dec 10 17:56:44 2022 +0100 Merge branch 'benphelps:main' into main commit 37154e327af7d3fe66e7638ba79851ef789d3649 Author: Benoit <oupsman@oupsman.fr> Date: Sat Dec 10 17:11:30 2022 +0100 Omada widget : Improved error handling Omada widget: handling power as common.power in translation commit 1f484914067e514f22c1f250b62f589fedefe1fd Author: Benoit <oupsman@oupsman.fr> Date: Sat Dec 10 10:24:55 2022 +0100 Omada widget : adding stats for isolated aps, connected gateways, connected switches, available ports, power consumption commit f375f0b815bf6697f7044995203084427b14ea69 Merge: 467b678 775b511 Author: Benoit <oupsman@oupsman.fr> Date: Fri Dec 9 21:06:38 2022 +0100 Merge branch 'main' of https://github.com/Oupsman/homepage into main commit 467b67802a7b8dface01703b6035951dcaa1e069 Author: Benoit <oupsman@oupsman.fr> Date: Fri Dec 9 21:06:09 2022 +0100 Omada widget : v3 v4 and v5 versions don't use the same fields for the same stats, I've corrected the code to make it more reliable commit 775b5111e13072a18edb33f30a4d4f0589bc2af0 Merge: 8d66756 88c4375 Author: Benoit SERRA <oupsman@oupsman.fr> Date: Thu Dec 8 15:38:20 2022 +0100 Merge branch 'benphelps:main' into main commit 8d66756a7d8f9e0b43c8abde2f2e6f2fd86a1098 Author: Benoit <oupsman@oupsman.fr> Date: Thu Dec 8 12:45:44 2022 +0100 Omada Widget : code cleanup commit 282a6d0592c53a39184d63bba517f482a84f5b36 Author: Benoit <oupsman@oupsman.fr> Date: Thu Dec 8 12:42:41 2022 +0100 Omada Widget : code cleanup commit c3e9b8f87075e834ea1a520fd8c93708afb15ac0 Author: Benoit <oupsman@oupsman.fr> Date: Thu Dec 8 12:37:10 2022 +0100 Omada Widget : No more legacy variable, the code detects the controller version and adapts the requests. Logic is not duplicated anymore commit eafcc205975cc1bd04f063f1627d380f2a2b7f04 Author: Benoit <oupsman@oupsman.fr> Date: Wed Dec 7 15:46:00 2022 +0100 V2 API is working commit bcc2864ee2e1f0f1d2f4c009df1ba8a1a7244f80 Author: Benoit <oupsman@oupsman.fr> Date: Wed Dec 7 10:01:26 2022 +0100 Code fore v2 API is not working but V1 code is. commit ea8e297e849c2ef5659bfec94d76d2fff8677c4c Author: Benoit <oupsman@oupsman.fr> Date: Tue Dec 6 14:28:05 2022 +0100 Errors handling commit ab6d51a88c8737654dd31bec46106d7c49ed39d2 Author: Benoit <oupsman@oupsman.fr> Date: Tue Dec 6 09:50:14 2022 +0100 Adding alerts commit 047db2cce867c0207be7fe0827b24107fdd84923 Author: Benoit <oupsman@oupsman.fr> Date: Mon Dec 5 22:53:43 2022 +0100 Fixed translation system commit 42c5a3e6658f22662b1c58f54cba31dc90bfbc61 Author: Benoit <oupsman@oupsman.fr> Date: Mon Dec 5 22:34:34 2022 +0100 Translation system is still * up commit c80eac9d5bd5491ec4a61da38cdaf82f0ea1cc2f Author: Benoit <oupsman@oupsman.fr> Date: Mon Dec 5 22:33:50 2022 +0100 Translation system is still * up commit f8ba6b02454d66eb96e7e6ebd8022492ff79e690 Author: Benoit <oupsman@oupsman.fr> Date: Mon Dec 5 22:32:22 2022 +0100 Translation system is still * up commit dec7eec6de26298eb7c90fd01e1c0fd23b6469a4 Author: Benoit <oupsman@oupsman.fr> Date: Mon Dec 5 22:16:13 2022 +0100 Translation system is * up commit cc840cf7ccb40509f1da3f521a4a1b3e26498ac0 Author: Benoit <oupsman@oupsman.fr> Date: Mon Dec 5 21:33:00 2022 +0100 First working version commit 54b65e619e41c9963a614a177df3a4af68ebe77d Author: Benoit <oupsman@oupsman.fr> Date: Mon Dec 5 18:59:09 2022 +0100 Using getGlobalStat method commit 7ebc8500da9d52bd2911a620179fb6585f044c47 Author: Benoit <oupsman@oupsman.fr> Date: Mon Dec 5 14:33:37 2022 +0100 Working on Omada Widget : NOT WORKING FOR NOW commit 04eaf28cae1be0935cb190e50ae5b75c19254403 Merge: 61065ac 826fe15 Author: Benoit <oupsman@oupsman.fr> Date: Mon Dec 5 10:32:30 2022 +0100 Merge branch 'main' of https://github.com/Oupsman/homepage into main commit 61065ace2887c3c1d6486001d34ce6f58d58958d Author: Benoit <oupsman@oupsman.fr> Date: Mon Dec 5 10:24:57 2022 +0100 Working on Omada Widget remove idea Co-Authored-By: Benoit SERRA <11260343+oupsman@users.noreply.github.com>
2022-12-21 12:08:34 -08:00
import omada from "./omada/widget";
2022-09-26 02:23:02 +03:00
import ombi from "./ombi/widget";
import opnsense from "./opnsense/widget";
2022-09-25 19:43:47 +03:00
import overseerr from "./overseerr/widget";
2022-11-25 16:05:53 +01:00
import paperlessngx from "./paperlessngx/widget";
import pfsense from "./pfsense/widget";
2023-02-04 18:58:26 +01:00
import photoprism from "./photoprism/widget";
import proxmoxbackupserver from "./proxmoxbackupserver/widget";
import pialert from "./pialert/widget";
2022-09-26 02:23:02 +03:00
import pihole from "./pihole/widget";
2022-10-10 00:31:50 -07:00
import plex from "./plex/widget";
2022-09-26 00:35:54 +03:00
import portainer from "./portainer/widget";
import prometheus from "./prometheus/widget";
2022-09-26 00:35:54 +03:00
import prowlarr from "./prowlarr/widget";
2022-10-04 21:46:48 -07:00
import proxmox from "./proxmox/widget";
2023-02-17 09:25:07 +01:00
import pterodactyl from "./pterodactyl/widget";
2022-11-06 11:05:31 +01:00
import pyload from "./pyload/widget";
2022-09-26 00:35:54 +03:00
import qbittorrent from "./qbittorrent/widget";
2023-05-07 20:01:57 +10:00
import qnap from "./qnap/widget";
2022-09-25 19:43:47 +03:00
import radarr from "./radarr/widget";
2022-09-26 00:35:54 +03:00
import readarr from "./readarr/widget";
import rutorrent from "./rutorrent/widget";
import sabnzbd from "./sabnzbd/widget";
2022-11-23 15:27:04 +01:00
import scrutiny from "./scrutiny/widget";
2022-09-26 02:23:02 +03:00
import sonarr from "./sonarr/widget";
2022-09-26 00:35:54 +03:00
import speedtest from "./speedtest/widget";
import strelaysrv from "./strelaysrv/widget";
import tailscale from "./tailscale/widget";
2022-09-26 00:35:54 +03:00
import tautulli from "./tautulli/widget";
2022-12-16 18:31:26 +00:00
import tdarr from "./tdarr/widget";
2022-09-26 00:35:54 +03:00
import traefik from "./traefik/widget";
import transmission from "./transmission/widget";
2022-10-31 15:23:34 +02:00
import tubearchivist from "./tubearchivist/widget";
2022-10-26 11:36:15 +03:00
import truenas from "./truenas/widget";
import unifi from "./unifi/widget";
import unmanic from "./unmanic/widget";
import uptimekuma from "./uptimekuma/widget";
2023-01-17 03:54:24 +01:00
import watchtower from "./watchtower/widget";
import whatsupdocker from "./whatsupdocker/widget";
2023-01-17 03:54:24 +01:00
import xteve from "./xteve/widget";
2022-09-25 19:43:47 +03:00
const widgets = {
adguard,
2023-03-05 23:34:46 -08:00
audiobookshelf,
2022-09-25 17:42:16 -07:00
authentik,
2022-10-26 12:56:43 +02:00
autobrr,
bazarr,
2023-05-15 02:12:56 +02:00
caddy,
2022-10-13 18:40:26 -03:00
changedetectionio,
2023-04-19 16:24:02 -04:00
channelsdvrserver,
2023-01-20 11:43:19 -05:00
cloudflared,
coinmarketcap,
deluge,
diskstation,
2022-12-22 10:54:03 -08:00
downloadstation,
emby,
evcc,
2023-02-12 20:31:31 +03:00
fileflows,
2022-12-01 12:40:19 +01:00
flood,
freshrss,
2023-03-01 19:44:13 +01:00
ghostfolio,
2022-11-09 17:04:48 +01:00
gluetun,
gotify,
2023-02-13 15:20:22 +03:00
grafana,
hdhomerun,
2023-04-11 20:54:13 +02:00
homeassistant,
2022-10-24 16:40:49 -03:00
homebridge,
2023-02-19 02:31:57 -06:00
healthchecks,
immich,
jackett,
jellyfin: emby,
jellyseerr,
komga,
kopia,
2022-09-27 21:22:26 -07:00
lidarr,
2022-09-26 02:23:02 +03:00
mastodon,
2023-01-16 22:38:44 +01:00
medusa,
minecraft,
2022-12-06 21:33:45 +08:00
miniflux,
2022-12-23 18:12:06 +01:00
mikrotik,
moonraker,
2023-02-03 15:51:52 -05:00
mylar,
2022-11-07 10:16:03 -06:00
navidrome,
2023-02-16 11:30:05 +03:00
nextcloud,
2022-12-16 14:38:48 -03:00
nextdns,
2022-09-26 02:23:02 +03:00
npm,
nzbget,
octoprint,
Squashed commit of the following from initial Omada widget: commit ad3e664b56ad2a9024684f2141f8f21ead59177e Author: Benoit <oupsman@oupsman.fr> Date: Tue Dec 13 19:54:54 2022 +0100 Add .idea to .gitignore commit 7e51a093845c6bcda4fac78a2c174adbcc7701b6 Merge: 93d8035 7dd0b0e Author: Benoit SERRA <oupsman@oupsman.fr> Date: Tue Dec 13 18:38:51 2022 +0100 Merge branch 'benphelps:main' into main commit 93d80350b1d4519ac217b880568ccabbef43f03f Author: Benoit <oupsman@oupsman.fr> Date: Tue Dec 13 18:15:20 2022 +0100 Omada widget : One widget, shows only the number alerts, the number of connected AP, the number of connected devices to Wifi, the number of connected switches and gatewawys. commit a1babd860ce8a2dd6981b7fef6e055e249cbccb2 Author: Benoit <oupsman@oupsman.fr> Date: Tue Dec 13 09:33:50 2022 +0100 Omada widget : spliting widget between WLAN and LAN/WAN fields to have no more than 5 fields per widget. commit e12cc65c7703f2f1930fc7646c1f4386b49e73fb Merge: 331f31f 146326f Author: Benoit SERRA <oupsman@oupsman.fr> Date: Sun Dec 11 14:39:27 2022 +0100 Merge branch 'benphelps:main' into main commit 331f31fc2be80e0738869fd050b3034638979350 Merge: 37154e3 ccc1229 Author: Benoit SERRA <oupsman@oupsman.fr> Date: Sat Dec 10 17:56:44 2022 +0100 Merge branch 'benphelps:main' into main commit 37154e327af7d3fe66e7638ba79851ef789d3649 Author: Benoit <oupsman@oupsman.fr> Date: Sat Dec 10 17:11:30 2022 +0100 Omada widget : Improved error handling Omada widget: handling power as common.power in translation commit 1f484914067e514f22c1f250b62f589fedefe1fd Author: Benoit <oupsman@oupsman.fr> Date: Sat Dec 10 10:24:55 2022 +0100 Omada widget : adding stats for isolated aps, connected gateways, connected switches, available ports, power consumption commit f375f0b815bf6697f7044995203084427b14ea69 Merge: 467b678 775b511 Author: Benoit <oupsman@oupsman.fr> Date: Fri Dec 9 21:06:38 2022 +0100 Merge branch 'main' of https://github.com/Oupsman/homepage into main commit 467b67802a7b8dface01703b6035951dcaa1e069 Author: Benoit <oupsman@oupsman.fr> Date: Fri Dec 9 21:06:09 2022 +0100 Omada widget : v3 v4 and v5 versions don't use the same fields for the same stats, I've corrected the code to make it more reliable commit 775b5111e13072a18edb33f30a4d4f0589bc2af0 Merge: 8d66756 88c4375 Author: Benoit SERRA <oupsman@oupsman.fr> Date: Thu Dec 8 15:38:20 2022 +0100 Merge branch 'benphelps:main' into main commit 8d66756a7d8f9e0b43c8abde2f2e6f2fd86a1098 Author: Benoit <oupsman@oupsman.fr> Date: Thu Dec 8 12:45:44 2022 +0100 Omada Widget : code cleanup commit 282a6d0592c53a39184d63bba517f482a84f5b36 Author: Benoit <oupsman@oupsman.fr> Date: Thu Dec 8 12:42:41 2022 +0100 Omada Widget : code cleanup commit c3e9b8f87075e834ea1a520fd8c93708afb15ac0 Author: Benoit <oupsman@oupsman.fr> Date: Thu Dec 8 12:37:10 2022 +0100 Omada Widget : No more legacy variable, the code detects the controller version and adapts the requests. Logic is not duplicated anymore commit eafcc205975cc1bd04f063f1627d380f2a2b7f04 Author: Benoit <oupsman@oupsman.fr> Date: Wed Dec 7 15:46:00 2022 +0100 V2 API is working commit bcc2864ee2e1f0f1d2f4c009df1ba8a1a7244f80 Author: Benoit <oupsman@oupsman.fr> Date: Wed Dec 7 10:01:26 2022 +0100 Code fore v2 API is not working but V1 code is. commit ea8e297e849c2ef5659bfec94d76d2fff8677c4c Author: Benoit <oupsman@oupsman.fr> Date: Tue Dec 6 14:28:05 2022 +0100 Errors handling commit ab6d51a88c8737654dd31bec46106d7c49ed39d2 Author: Benoit <oupsman@oupsman.fr> Date: Tue Dec 6 09:50:14 2022 +0100 Adding alerts commit 047db2cce867c0207be7fe0827b24107fdd84923 Author: Benoit <oupsman@oupsman.fr> Date: Mon Dec 5 22:53:43 2022 +0100 Fixed translation system commit 42c5a3e6658f22662b1c58f54cba31dc90bfbc61 Author: Benoit <oupsman@oupsman.fr> Date: Mon Dec 5 22:34:34 2022 +0100 Translation system is still * up commit c80eac9d5bd5491ec4a61da38cdaf82f0ea1cc2f Author: Benoit <oupsman@oupsman.fr> Date: Mon Dec 5 22:33:50 2022 +0100 Translation system is still * up commit f8ba6b02454d66eb96e7e6ebd8022492ff79e690 Author: Benoit <oupsman@oupsman.fr> Date: Mon Dec 5 22:32:22 2022 +0100 Translation system is still * up commit dec7eec6de26298eb7c90fd01e1c0fd23b6469a4 Author: Benoit <oupsman@oupsman.fr> Date: Mon Dec 5 22:16:13 2022 +0100 Translation system is * up commit cc840cf7ccb40509f1da3f521a4a1b3e26498ac0 Author: Benoit <oupsman@oupsman.fr> Date: Mon Dec 5 21:33:00 2022 +0100 First working version commit 54b65e619e41c9963a614a177df3a4af68ebe77d Author: Benoit <oupsman@oupsman.fr> Date: Mon Dec 5 18:59:09 2022 +0100 Using getGlobalStat method commit 7ebc8500da9d52bd2911a620179fb6585f044c47 Author: Benoit <oupsman@oupsman.fr> Date: Mon Dec 5 14:33:37 2022 +0100 Working on Omada Widget : NOT WORKING FOR NOW commit 04eaf28cae1be0935cb190e50ae5b75c19254403 Merge: 61065ac 826fe15 Author: Benoit <oupsman@oupsman.fr> Date: Mon Dec 5 10:32:30 2022 +0100 Merge branch 'main' of https://github.com/Oupsman/homepage into main commit 61065ace2887c3c1d6486001d34ce6f58d58958d Author: Benoit <oupsman@oupsman.fr> Date: Mon Dec 5 10:24:57 2022 +0100 Working on Omada Widget remove idea Co-Authored-By: Benoit SERRA <11260343+oupsman@users.noreply.github.com>
2022-12-21 12:08:34 -08:00
omada,
2022-09-26 02:23:02 +03:00
ombi,
opnsense,
2022-09-25 19:43:47 +03:00
overseerr,
2022-11-25 16:05:53 +01:00
paperlessngx,
pfsense,
2023-02-04 18:58:26 +01:00
photoprism,
proxmoxbackupserver,
pialert,
2022-09-26 02:23:02 +03:00
pihole,
2022-10-10 00:31:50 -07:00
plex,
2022-09-26 00:35:54 +03:00
portainer,
prometheus,
2022-09-26 00:35:54 +03:00
prowlarr,
2022-10-04 21:46:48 -07:00
proxmox,
2023-02-17 09:25:07 +01:00
pterodactyl,
2022-11-06 11:05:31 +01:00
pyload,
2022-09-26 00:35:54 +03:00
qbittorrent,
2023-05-07 20:01:57 +10:00
qnap,
2022-09-25 19:43:47 +03:00
radarr,
2022-09-26 00:35:54 +03:00
readarr,
rutorrent,
sabnzbd,
2022-11-23 15:27:04 +01:00
scrutiny,
2022-09-26 02:23:02 +03:00
sonarr,
2022-09-26 00:35:54 +03:00
speedtest,
strelaysrv,
tailscale,
2022-09-26 00:35:54 +03:00
tautulli,
2022-12-16 18:31:26 +00:00
tdarr,
2022-09-26 00:35:54 +03:00
traefik,
transmission,
2022-10-31 15:23:34 +02:00
tubearchivist,
2022-10-26 11:36:15 +03:00
truenas,
unifi,
2022-10-13 18:40:26 -03:00
unifi_console: unifi,
2023-01-12 02:07:53 -05:00
unmanic,
uptimekuma,
2022-10-27 23:28:21 +02:00
watchtower,
whatsupdocker,
xteve,
2022-09-25 19:43:47 +03:00
};
2023-02-17 09:25:07 +01:00
export default widgets;