diff --git a/public/locales/af/common.json b/public/locales/af/common.json
index 87ecefc8..d49f0208 100644
--- a/public/locales/af/common.json
+++ b/public/locales/af/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Optyd",
"version": "Weergawe"
+ },
+ "foundry": {
+ "version": "Weergawe",
+ "world": "Wêreld",
+ "users": "Gebruikers",
+ "uptime": "Optyd"
}
}
diff --git a/public/locales/ar/common.json b/public/locales/ar/common.json
index 0f1eb3bc..27d2e0fe 100644
--- a/public/locales/ar/common.json
+++ b/public/locales/ar/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "مدة التشغيل",
"version": "الإصدار"
+ },
+ "foundry": {
+ "version": "الإصدار",
+ "world": "عالم",
+ "users": "المستخدمون",
+ "uptime": "مدة التشغيل"
}
}
diff --git a/public/locales/bg/common.json b/public/locales/bg/common.json
index 849bb7f7..47b79068 100644
--- a/public/locales/bg/common.json
+++ b/public/locales/bg/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Uptime",
"version": "Version"
+ },
+ "foundry": {
+ "version": "Version",
+ "world": "Свят",
+ "users": "Потребители",
+ "uptime": "Онлайн"
}
}
diff --git a/public/locales/ca/common.json b/public/locales/ca/common.json
index 4fb07bad..1485f6c2 100644
--- a/public/locales/ca/common.json
+++ b/public/locales/ca/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Temps actiu",
"version": "Versió"
+ },
+ "foundry": {
+ "version": "Versió",
+ "world": "Món",
+ "users": "Usuaris",
+ "uptime": "Temps actiu"
}
}
diff --git a/public/locales/cs/common.json b/public/locales/cs/common.json
index 4d9e3c98..641d2ebb 100644
--- a/public/locales/cs/common.json
+++ b/public/locales/cs/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Doba spuštění",
"version": "Verze"
+ },
+ "foundry": {
+ "version": "Verze",
+ "world": "Svět",
+ "users": "Uživatelé",
+ "uptime": "Doba spuštění"
}
}
diff --git a/public/locales/da/common.json b/public/locales/da/common.json
index 839eaed4..ce050014 100644
--- a/public/locales/da/common.json
+++ b/public/locales/da/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Oppetid",
"version": "Version"
+ },
+ "foundry": {
+ "version": "Version",
+ "world": "Verden",
+ "users": "Brugere",
+ "uptime": "Oppetid"
}
}
diff --git a/public/locales/de/common.json b/public/locales/de/common.json
index 3383fe6e..2ea8656d 100644
--- a/public/locales/de/common.json
+++ b/public/locales/de/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Betriebszeit",
"version": "Version"
+ },
+ "foundry": {
+ "version": "Version",
+ "world": "Welt",
+ "users": "Benutzer",
+ "uptime": "Betriebszeit"
}
}
diff --git a/public/locales/el/common.json b/public/locales/el/common.json
index d9f24d0d..ef0a659c 100644
--- a/public/locales/el/common.json
+++ b/public/locales/el/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Χρόνος Λειτουργίας",
"version": "Έκδοση"
+ },
+ "foundry": {
+ "version": "Έκδοση",
+ "world": "Κόσμος",
+ "users": "Χρήστες",
+ "uptime": "Χρόνος Λειτουργίας"
}
}
diff --git a/public/locales/en/common.json b/public/locales/en/common.json
index 28c54895..432cf7c7 100644
--- a/public/locales/en/common.json
+++ b/public/locales/en/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Uptime",
"version": "Version"
+ },
+ "foundry": {
+ "version": "Version",
+ "world": "World",
+ "users": "Users",
+ "uptime": "Uptime"
}
}
diff --git a/public/locales/eo/common.json b/public/locales/eo/common.json
index 21c11c64..6a10edbd 100644
--- a/public/locales/eo/common.json
+++ b/public/locales/eo/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Uptime",
"version": "Version"
+ },
+ "foundry": {
+ "version": "Versio",
+ "world": "Mondo",
+ "users": "Uzantoj",
+ "uptime": "Aktivtempo"
}
}
diff --git a/public/locales/es/common.json b/public/locales/es/common.json
index 4615db74..5a914658 100644
--- a/public/locales/es/common.json
+++ b/public/locales/es/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Tiempo activo",
"version": "Versión"
+ },
+ "foundry": {
+ "version": "Versión",
+ "world": "Mundo",
+ "users": "Usuarios",
+ "uptime": "Tiempo activo"
}
}
diff --git a/public/locales/eu/common.json b/public/locales/eu/common.json
index 29bd5c6d..ec7fc891 100644
--- a/public/locales/eu/common.json
+++ b/public/locales/eu/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Uptime",
"version": "Version"
+ },
+ "foundry": {
+ "version": "Bertsioa",
+ "world": "Mundua",
+ "users": "Erabiltzaileak",
+ "uptime": "Denbora aktiboa"
}
}
diff --git a/public/locales/fi/common.json b/public/locales/fi/common.json
index a3e44039..789ccd48 100644
--- a/public/locales/fi/common.json
+++ b/public/locales/fi/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Uptime",
"version": "Version"
+ },
+ "foundry": {
+ "version": "Versio",
+ "world": "Mundua",
+ "users": "Käyttäjät",
+ "uptime": "Käyttöaste"
}
}
diff --git a/public/locales/fr/common.json b/public/locales/fr/common.json
index aafbdd6f..b6f3da55 100644
--- a/public/locales/fr/common.json
+++ b/public/locales/fr/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Démarré depuis",
"version": "Version"
+ },
+ "foundry": {
+ "version": "Version",
+ "world": "Monde",
+ "users": "Utilisateurs",
+ "uptime": "Démarré depuis"
}
}
diff --git a/public/locales/he/common.json b/public/locales/he/common.json
index fe621152..8b5d933e 100644
--- a/public/locales/he/common.json
+++ b/public/locales/he/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Uptime",
"version": "Version"
+ },
+ "foundry": {
+ "version": "Version",
+ "world": "World",
+ "users": "Users",
+ "uptime": "Uptime"
}
}
diff --git a/public/locales/hi/common.json b/public/locales/hi/common.json
index c78dc146..f93599f8 100644
--- a/public/locales/hi/common.json
+++ b/public/locales/hi/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Uptime",
"version": "Version"
+ },
+ "foundry": {
+ "version": "Version",
+ "world": "World",
+ "users": "Users",
+ "uptime": "Uptime"
}
}
diff --git a/public/locales/hr/common.json b/public/locales/hr/common.json
index 2e869778..14a83529 100644
--- a/public/locales/hr/common.json
+++ b/public/locales/hr/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Vrijeme rada",
"version": "Verzija"
+ },
+ "foundry": {
+ "version": "Verzija",
+ "world": "Svijet",
+ "users": "Korisnici",
+ "uptime": "Vrijeme rada"
}
}
diff --git a/public/locales/hu/common.json b/public/locales/hu/common.json
index 1d8023c3..848c3d03 100644
--- a/public/locales/hu/common.json
+++ b/public/locales/hu/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Üzemidő",
"version": "Verzió"
+ },
+ "foundry": {
+ "version": "Verzió",
+ "world": "Világ",
+ "users": "Felhasználók",
+ "uptime": "Üzemidő"
}
}
diff --git a/public/locales/id/common.json b/public/locales/id/common.json
index 07ccf743..6ef8e635 100644
--- a/public/locales/id/common.json
+++ b/public/locales/id/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Waktu Aktif",
"version": "Versi"
+ },
+ "foundry": {
+ "version": "Versi",
+ "world": "Dunia",
+ "users": "Pengguna",
+ "uptime": "Waktu Aktif"
}
}
diff --git a/public/locales/it/common.json b/public/locales/it/common.json
index 4f7a7feb..264a5648 100644
--- a/public/locales/it/common.json
+++ b/public/locales/it/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Tempo di attività",
"version": "Versione"
+ },
+ "foundry": {
+ "version": "Versione",
+ "world": "Mondo",
+ "users": "Utenti",
+ "uptime": "Tempo di attività"
}
}
diff --git a/public/locales/ja/common.json b/public/locales/ja/common.json
index c14a78e9..914ee698 100644
--- a/public/locales/ja/common.json
+++ b/public/locales/ja/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "稼働時間",
"version": "バージョン"
+ },
+ "foundry": {
+ "version": "バージョン",
+ "world": "世界",
+ "users": "ユーザ",
+ "uptime": "稼働時間"
}
}
diff --git a/public/locales/ko/common.json b/public/locales/ko/common.json
index eb26c0ac..ec22976c 100644
--- a/public/locales/ko/common.json
+++ b/public/locales/ko/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Uptime",
"version": "버전"
+ },
+ "foundry": {
+ "version": "버전",
+ "world": "세계",
+ "users": "사용자",
+ "uptime": "Uptime"
}
}
diff --git a/public/locales/lv/common.json b/public/locales/lv/common.json
index f45f17e1..71eb49c0 100644
--- a/public/locales/lv/common.json
+++ b/public/locales/lv/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Uptime",
"version": "Version"
+ },
+ "foundry": {
+ "version": "Version",
+ "world": "World",
+ "users": "Users",
+ "uptime": "Uptime"
}
}
diff --git a/public/locales/ms/common.json b/public/locales/ms/common.json
index 4fc9de89..bc77004a 100644
--- a/public/locales/ms/common.json
+++ b/public/locales/ms/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Masa Hidup",
"version": "Versi"
+ },
+ "foundry": {
+ "version": "Versi",
+ "world": "Dunia",
+ "users": "Pengguna",
+ "uptime": "Masa Hidup"
}
}
diff --git a/public/locales/nl/common.json b/public/locales/nl/common.json
index 4f0c4f90..083c4059 100644
--- a/public/locales/nl/common.json
+++ b/public/locales/nl/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Online",
"version": "Versie"
+ },
+ "foundry": {
+ "version": "Versie",
+ "world": "Wereld",
+ "users": "Gebruikers",
+ "uptime": "Online"
}
}
diff --git a/public/locales/no/common.json b/public/locales/no/common.json
index c25d583e..d45ce6a0 100644
--- a/public/locales/no/common.json
+++ b/public/locales/no/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Oppetid",
"version": "Versjon"
+ },
+ "foundry": {
+ "version": "Versjon",
+ "world": "Verden",
+ "users": "Brukere",
+ "uptime": "Oppetid"
}
}
diff --git a/public/locales/pl/common.json b/public/locales/pl/common.json
index 14297dd7..20e33398 100644
--- a/public/locales/pl/common.json
+++ b/public/locales/pl/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Czas działania",
"version": "Wersja"
+ },
+ "foundry": {
+ "version": "Wersja",
+ "world": "Świat",
+ "users": "Użytkownicy",
+ "uptime": "Czas działania"
}
}
diff --git a/public/locales/pt/common.json b/public/locales/pt/common.json
index 18de2c0b..13cdc4ae 100644
--- a/public/locales/pt/common.json
+++ b/public/locales/pt/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Ligado",
"version": "Versão"
+ },
+ "foundry": {
+ "version": "Versão",
+ "world": "Mundo",
+ "users": "Utilizadores",
+ "uptime": "Ligado"
}
}
diff --git a/public/locales/pt_BR/common.json b/public/locales/pt_BR/common.json
index 3fe50516..57de121a 100644
--- a/public/locales/pt_BR/common.json
+++ b/public/locales/pt_BR/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Ligado",
"version": "Versão"
+ },
+ "foundry": {
+ "version": "Versão",
+ "world": "Mundo",
+ "users": "Utilizadores",
+ "uptime": "Ligado"
}
}
diff --git a/public/locales/ro/common.json b/public/locales/ro/common.json
index 41767d02..334b315a 100644
--- a/public/locales/ro/common.json
+++ b/public/locales/ro/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Uptime",
"version": "Version"
+ },
+ "foundry": {
+ "version": "Version",
+ "world": "Lume",
+ "users": "Utilizatori",
+ "uptime": "Uptime"
}
}
diff --git a/public/locales/ru/common.json b/public/locales/ru/common.json
index a723634f..e01fe643 100644
--- a/public/locales/ru/common.json
+++ b/public/locales/ru/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Время работы",
"version": "Версия"
+ },
+ "foundry": {
+ "version": "Версия",
+ "world": "Мир",
+ "users": "Пользователи",
+ "uptime": "Время работы"
}
}
diff --git a/public/locales/sk/common.json b/public/locales/sk/common.json
index fa98f6bb..cedb43f6 100644
--- a/public/locales/sk/common.json
+++ b/public/locales/sk/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Prevádzka",
"version": "Verzia"
+ },
+ "foundry": {
+ "version": "Verzia",
+ "world": "Svet",
+ "users": "Používatelia",
+ "uptime": "Prevádzka"
}
}
diff --git a/public/locales/sl/common.json b/public/locales/sl/common.json
index 02d15ec6..8d9d4a7f 100644
--- a/public/locales/sl/common.json
+++ b/public/locales/sl/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Čas delovanja",
"version": "Verzija"
+ },
+ "foundry": {
+ "version": "Verzija",
+ "world": "Svet",
+ "users": "Uporabniki",
+ "uptime": "Čas delovanja"
}
}
diff --git a/public/locales/sr/common.json b/public/locales/sr/common.json
index b53935ca..c0bd3d63 100644
--- a/public/locales/sr/common.json
+++ b/public/locales/sr/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Uptime",
"version": "Version"
+ },
+ "foundry": {
+ "version": "Version",
+ "world": "World",
+ "users": "Users",
+ "uptime": "Uptime"
}
}
diff --git a/public/locales/sv/common.json b/public/locales/sv/common.json
index fd8c0e6a..37585dc3 100644
--- a/public/locales/sv/common.json
+++ b/public/locales/sv/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Uptime",
"version": "Version"
+ },
+ "foundry": {
+ "version": "Version",
+ "world": "World",
+ "users": "Användare",
+ "uptime": "Uptime"
}
}
diff --git a/public/locales/te/common.json b/public/locales/te/common.json
index 301090a9..4fd00a10 100644
--- a/public/locales/te/common.json
+++ b/public/locales/te/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Uptime",
"version": "Version"
+ },
+ "foundry": {
+ "version": "Version",
+ "world": "World",
+ "users": "వినియోగదారులు",
+ "uptime": "Uptime"
}
}
diff --git a/public/locales/th/common.json b/public/locales/th/common.json
index 74f7ab26..7b9ca165 100644
--- a/public/locales/th/common.json
+++ b/public/locales/th/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Uptime",
"version": "Version"
+ },
+ "foundry": {
+ "version": "Version",
+ "world": "World",
+ "users": "ผู้ใช้",
+ "uptime": "Uptime"
}
}
diff --git a/public/locales/tr/common.json b/public/locales/tr/common.json
index 118821bb..ade9d83c 100644
--- a/public/locales/tr/common.json
+++ b/public/locales/tr/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Çalışma Süresi",
"version": "Versiyon"
+ },
+ "foundry": {
+ "version": "Versiyon",
+ "world": "Dünya",
+ "users": "Kullanıcılar",
+ "uptime": "Çalışma Süresi"
}
}
diff --git a/public/locales/uk/common.json b/public/locales/uk/common.json
index 779cd9af..c775974e 100644
--- a/public/locales/uk/common.json
+++ b/public/locales/uk/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Час роботи",
"version": "Версія"
+ },
+ "foundry": {
+ "version": "Версія",
+ "world": "Світ",
+ "users": "Користувачі",
+ "uptime": "Час роботи"
}
}
diff --git a/public/locales/vi/common.json b/public/locales/vi/common.json
index e717988b..71e0c4f3 100644
--- a/public/locales/vi/common.json
+++ b/public/locales/vi/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "Uptime",
"version": "Version"
+ },
+ "foundry": {
+ "version": "Version",
+ "world": "World",
+ "users": "Users",
+ "uptime": "Uptime"
}
}
diff --git a/public/locales/yue/common.json b/public/locales/yue/common.json
index 02d95d33..a865d2fd 100644
--- a/public/locales/yue/common.json
+++ b/public/locales/yue/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "運行時間",
"version": "版本"
+ },
+ "foundry": {
+ "version": "版本",
+ "world": "世界",
+ "users": "使用者",
+ "uptime": "運行時間"
}
}
diff --git a/public/locales/zh-Hans/common.json b/public/locales/zh-Hans/common.json
index 160a8a1c..35165798 100644
--- a/public/locales/zh-Hans/common.json
+++ b/public/locales/zh-Hans/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "运行时间",
"version": "版本"
+ },
+ "foundry": {
+ "version": "版本",
+ "world": "世界",
+ "users": "用户数",
+ "uptime": "运行时间"
}
}
diff --git a/public/locales/zh-Hant/common.json b/public/locales/zh-Hant/common.json
index 558ac2aa..5e398192 100644
--- a/public/locales/zh-Hant/common.json
+++ b/public/locales/zh-Hant/common.json
@@ -905,5 +905,11 @@
"cameras": "Cameras",
"uptime": "運行時間",
"version": "版本"
+ },
+ "foundry": {
+ "version": "版本",
+ "world": "世界",
+ "users": "用戶",
+ "uptime": "運行時間"
}
}
diff --git a/src/widgets/components.js b/src/widgets/components.js
index 341f5211..121b3270 100644
--- a/src/widgets/components.js
+++ b/src/widgets/components.js
@@ -28,6 +28,7 @@ const components = {
evcc: dynamic(() => import("./evcc/component")),
fileflows: dynamic(() => import("./fileflows/component")),
flood: dynamic(() => import("./flood/component")),
+ foundry: dynamic(() => import("./foundry/component")),
freshrss: dynamic(() => import("./freshrss/component")),
frigate: dynamic(() => import("./frigate/component")),
fritzbox: dynamic(() => import("./fritzbox/component")),
diff --git a/src/widgets/foundry/component.jsx b/src/widgets/foundry/component.jsx
new file mode 100644
index 00000000..8de244b7
--- /dev/null
+++ b/src/widgets/foundry/component.jsx
@@ -0,0 +1,37 @@
+import { useTranslation } from "next-i18next";
+
+import Container from "components/services/widget/container";
+import Block from "components/services/widget/block";
+import useWidgetAPI from "utils/proxy/use-widget-api";
+
+export default function Component({ service }) {
+ const { t } = useTranslation();
+
+ const { widget } = service;
+
+ const { data: statusData, error: statusError } = useWidgetAPI(widget, "status");
+
+ if (statusError) {
+ return ;
+ }
+
+ if (!statusData) {
+ return (
+
+
+
+
+
+
+ );
+ }
+
+ return (
+
+
+
+
+
+
+ );
+}
diff --git a/src/widgets/foundry/widget.js b/src/widgets/foundry/widget.js
new file mode 100644
index 00000000..b93a5c12
--- /dev/null
+++ b/src/widgets/foundry/widget.js
@@ -0,0 +1,14 @@
+import genericProxyHandler from "utils/proxy/handlers/generic";
+
+const widget = {
+ api: "{url}/api/status",
+ proxyHandler: genericProxyHandler,
+
+ mappings: {
+ status: {
+ endpoint: "/"
+ }
+ }
+}
+
+export default widget;
\ No newline at end of file
diff --git a/src/widgets/widgets.js b/src/widgets/widgets.js
index a72a4126..936a4190 100644
--- a/src/widgets/widgets.js
+++ b/src/widgets/widgets.js
@@ -116,6 +116,7 @@ import whatsupdocker from "./whatsupdocker/widget";
import xteve from "./xteve/widget";
import urbackup from "./urbackup/widget";
import romm from "./romm/widget";
+import foundry from "./foundry/widget"
const widgets = {
adguard,
@@ -141,6 +142,7 @@ const widgets = {
evcc,
fileflows,
flood,
+ foundry,
freshrss,
frigate,
fritzbox,