Merge branch 'gethomepage:main' into main

pull/3286/head
brikim 2 months ago committed by GitHub
commit d3971445ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -12,6 +12,7 @@ The Glances widget allows you to monitor the resources (CPU, memory, storage, te
url: http://host.or.ip:port url: http://host.or.ip:port
username: user # optional if auth enabled in Glances username: user # optional if auth enabled in Glances
password: pass # optional if auth enabled in Glances password: pass # optional if auth enabled in Glances
version: 4 # required only if running glances v4 or higher, defaults to 3
cpu: true # optional, enabled by default, disable by setting to false cpu: true # optional, enabled by default, disable by setting to false
mem: true # optional, enabled by default, disable by setting to false mem: true # optional, enabled by default, disable by setting to false
cputemp: true # disabled by default cputemp: true # disabled by default

@ -7,14 +7,15 @@ Learn more about [Authentik](https://github.com/goauthentik/authentik).
This widget reads the number of active users in the system, as well as logins for the last 24 hours. This widget reads the number of active users in the system, as well as logins for the last 24 hours.
You will need to generate an API token for an existing user. To do so follow these steps: You will need to generate an API token for an existing user under `Admin Portal` > `Directory` > `Tokens & App passwords`.
Make sure to set Intent to "API Token".
1. Navigate to the Authentik Admin Portal The account you made the API token for also needs the following **Assigned global permissions** in Authentik:
2. Expand Directory, the click Tokens & App passwords
3. Click the Create button - authentik Core
4. Fill out the dialog making sure to set Intent to API Token - User
5. Click the Create button on the dialog - authentik Events
6. Click the copy button on the far right of the newly created API Token - Event
Allowed fields: `["users", "loginsLast24H", "failedLoginsLast24H"]`. Allowed fields: `["users", "loginsLast24H", "failedLoginsLast24H"]`.

@ -0,0 +1,19 @@
---
title: Crowdsec
description: Crowdsec Widget Configuration
---
Learn more about [Crowdsec](https://crowdsec.net).
See the [crowdsec docs](https://docs.crowdsec.net/docs/local_api/intro/#machines) for information about registering a machine,
in most instances you can use the default credentials (`/etc/crowdsec/local_api_credentials.yaml`).
Allowed fields: ["alerts", "bans"]
```yaml
widget:
type: crowdsec
url: http://crowdsechostorip:port
username: localhost # machine_id in crowdsec
passowrd: password
```

@ -17,8 +17,11 @@ widget:
url: http://glances.host.or.ip:port url: http://glances.host.or.ip:port
username: user # optional if auth enabled in Glances username: user # optional if auth enabled in Glances
password: pass # optional if auth enabled in Glances password: pass # optional if auth enabled in Glances
version: 4 # required only if running glances v4 or higher, defaults to 3
metric: cpu metric: cpu
diskUnits: bytes # optional, bytes (default) or bbytes. Only applies to disk diskUnits: bytes # optional, bytes (default) or bbytes. Only applies to disk
refreshInterval: 5000 # optional - in milliseconds, defaults to 1000 or more, depending on the metric
pointsLimit: 15 # optional, defaults to 15
``` ```
_Please note, this widget does not need an `href`, `icon` or `description` on its parent service. To achieve the same effect as the examples above, see as an example:_ _Please note, this widget does not need an `href`, `icon` or `description` on its parent service. To achieve the same effect as the examples above, see as an example:_

@ -5,7 +5,7 @@ description: Jackett Widget Configuration
Learn more about [Jackett](https://github.com/Jackett/Jackett). Learn more about [Jackett](https://github.com/Jackett/Jackett).
Jackett must not have any authentication for the widget to work. If Jackett has an admin password set, you must set the `password` field for the widget to work.
Allowed fields: `["configured", "errored"]`. Allowed fields: `["configured", "errored"]`.
@ -13,5 +13,5 @@ Allowed fields: `["configured", "errored"]`.
widget: widget:
type: jackett type: jackett
url: http://jackett.host.or.ip url: http://jackett.host.or.ip
key: jackettapikey password: jackettadminpassword # optional
``` ```

@ -44,6 +44,7 @@ nav:
- widgets/services/channelsdvrserver.md - widgets/services/channelsdvrserver.md
- widgets/services/cloudflared.md - widgets/services/cloudflared.md
- widgets/services/coin-market-cap.md - widgets/services/coin-market-cap.md
- widgets/services/crowdsec.md
- widgets/services/customapi.md - widgets/services/customapi.md
- widgets/services/deluge.md - widgets/services/deluge.md
- widgets/services/diskstation.md - widgets/services/diskstation.md

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Vanlyn", "offline": "Vanlyn",
"offline_alt": "Vanlyn",
"online": "Aanlyn", "online": "Aanlyn",
"total": "Totaal", "total": "Totaal",
"unknown": "Onbekend" "unknown": "Onbekend"
@ -863,5 +864,13 @@
"users": "Gebruikers", "users": "Gebruikers",
"recipes": "Resepte", "recipes": "Resepte",
"keywords": "Sleutelwoorde" "keywords": "Sleutelwoorde"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "Met Waarborg",
"locations": "Plekke",
"labels": "Etikette",
"users": "Gebruikers",
"totalValue": "Totale Waarde"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "غير متصل", "offline": "غير متصل",
"offline_alt": "غير متصل",
"online": "مُتّصل", "online": "مُتّصل",
"total": "المجموع", "total": "المجموع",
"unknown": "مجهول" "unknown": "مجهول"
@ -863,5 +864,13 @@
"users": "المستخدمون", "users": "المستخدمون",
"recipes": "وصفات", "recipes": "وصفات",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "المستخدمون",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Изключен", "offline": "Изключен",
"offline_alt": "Изключен",
"online": "Online", "online": "Online",
"total": "Общо", "total": "Общо",
"unknown": "Неизв." "unknown": "Неизв."
@ -863,5 +864,13 @@
"users": "Потребители", "users": "Потребители",
"recipes": "Рецепти", "recipes": "Рецепти",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "Потребители",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Fora de línia", "offline": "Fora de línia",
"offline_alt": "Fora de línia",
"online": "Online", "online": "Online",
"total": "Total", "total": "Total",
"unknown": "Desconegut" "unknown": "Desconegut"
@ -863,5 +864,13 @@
"users": "Usuaris", "users": "Usuaris",
"recipes": "Recipes", "recipes": "Recipes",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "Usuaris",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Offline", "offline": "Offline",
"offline_alt": "Offline",
"online": "Online", "online": "Online",
"total": "Celkem", "total": "Celkem",
"unknown": "Neznámý" "unknown": "Neznámý"
@ -863,5 +864,13 @@
"users": "Uživatelé", "users": "Uživatelé",
"recipes": "Recipes", "recipes": "Recipes",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "Uživatelé",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Offline", "offline": "Offline",
"offline_alt": "Offline",
"online": "Online", "online": "Online",
"total": "Total", "total": "Total",
"unknown": "Ukendt" "unknown": "Ukendt"
@ -863,5 +864,13 @@
"users": "Brugere", "users": "Brugere",
"recipes": "Opskrifter", "recipes": "Opskrifter",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "Brugere",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Offline", "offline": "Offline",
"offline_alt": "Offline",
"online": "Online", "online": "Online",
"total": "Gesamt", "total": "Gesamt",
"unknown": "Unbekannt" "unknown": "Unbekannt"
@ -863,5 +864,13 @@
"users": "Benutzer", "users": "Benutzer",
"recipes": "Rezepte", "recipes": "Rezepte",
"keywords": "Schlagwörter" "keywords": "Schlagwörter"
},
"homebox": {
"items": "Objekte",
"totalWithWarranty": "Mit Garantie",
"locations": "Orte",
"labels": "Labels",
"users": "Benutzer",
"totalValue": "Gesamtwert"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Εκτός σύνδεσης", "offline": "Εκτός σύνδεσης",
"offline_alt": "Εκτός σύνδεσης",
"online": "Συνδεδεμένοι", "online": "Συνδεδεμένοι",
"total": "Σύνολο", "total": "Σύνολο",
"unknown": "Άγνωστο" "unknown": "Άγνωστο"
@ -863,5 +864,13 @@
"users": "Χρήστες", "users": "Χρήστες",
"recipes": "Recipes", "recipes": "Recipes",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "Χρήστες",
"totalValue": "Total Value"
} }
} }

@ -872,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "Users", "users": "Users",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Alerts",
"bans": "Bans"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Malkonekta", "offline": "Malkonekta",
"offline_alt": "Malkonekta",
"online": "Online", "online": "Online",
"total": "Totalo", "total": "Totalo",
"unknown": "Nekonata" "unknown": "Nekonata"
@ -863,5 +864,13 @@
"users": "Uzantoj", "users": "Uzantoj",
"recipes": "Recipes", "recipes": "Recipes",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "Uzantoj",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Desconectado", "offline": "Desconectado",
"offline_alt": "Desconectado",
"online": "En línea", "online": "En línea",
"total": "Total", "total": "Total",
"unknown": "Desconocido" "unknown": "Desconocido"
@ -544,7 +545,7 @@
"channels": "Canales", "channels": "Canales",
"hd": "Alta definición", "hd": "Alta definición",
"tunerCount": "Tuners", "tunerCount": "Tuners",
"channelNumber": "Channel", "channelNumber": "Canal",
"channelNetwork": "Network", "channelNetwork": "Network",
"signalStrength": "Strength", "signalStrength": "Strength",
"signalQuality": "Quality", "signalQuality": "Quality",
@ -850,9 +851,9 @@
"playDuration": "Time Watched", "playDuration": "Time Watched",
"sceneSize": "Scenes Size", "sceneSize": "Scenes Size",
"sceneDuration": "Scenes Duration", "sceneDuration": "Scenes Duration",
"images": "Images", "images": "Imágenes",
"imageSize": "Images Size", "imageSize": "Images Size",
"galleries": "Galleries", "galleries": "Galerías",
"performers": "Performers", "performers": "Performers",
"studios": "Studios", "studios": "Studios",
"movies": "Películas", "movies": "Películas",
@ -863,5 +864,13 @@
"users": "Usuarios", "users": "Usuarios",
"recipes": "Recetas", "recipes": "Recetas",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "Con Garantía",
"locations": "Ubicaciones",
"labels": "Labels",
"users": "Usuarios",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Offline", "offline": "Offline",
"offline_alt": "Offline",
"online": "Online", "online": "Online",
"total": "Guztira", "total": "Guztira",
"unknown": "Ezezaguna" "unknown": "Ezezaguna"
@ -863,5 +864,13 @@
"users": "Users", "users": "Users",
"recipes": "Recipes", "recipes": "Recipes",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "Users",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Offline", "offline": "Offline",
"offline_alt": "Offline",
"online": "Online", "online": "Online",
"total": "Yhteensä", "total": "Yhteensä",
"unknown": "Unknown" "unknown": "Unknown"
@ -863,5 +864,13 @@
"users": "Users", "users": "Users",
"recipes": "Recipes", "recipes": "Recipes",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "Users",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Hors ligne", "offline": "Hors ligne",
"offline_alt": "Hors ligne",
"online": "En ligne", "online": "En ligne",
"total": "Total", "total": "Total",
"unknown": "Inconnu" "unknown": "Inconnu"
@ -863,5 +864,13 @@
"users": "Utilisateurs", "users": "Utilisateurs",
"recipes": "Recettes", "recipes": "Recettes",
"keywords": "Mots-clés" "keywords": "Mots-clés"
},
"homebox": {
"items": "Objets",
"totalWithWarranty": "Avec garantie",
"locations": "Emplacements",
"labels": "Étiquettes",
"users": "Utilisateurs",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "כבוי", "offline": "כבוי",
"offline_alt": "כבוי",
"online": "Online", "online": "Online",
"total": "סה\"כ", "total": "סה\"כ",
"unknown": "Unknown" "unknown": "Unknown"
@ -863,5 +864,13 @@
"users": "Users", "users": "Users",
"recipes": "Recipes", "recipes": "Recipes",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "Users",
"totalValue": "Total Value"
} }
} }

@ -11,14 +11,14 @@
"percent": "{{value, percent}}", "percent": "{{value, percent}}",
"number": "{{value, number}}", "number": "{{value, number}}",
"ms": "{{value, number}}", "ms": "{{value, number}}",
"date": "{{value, date}}", "date": "{value, date}",
"relativeDate": "{{value, relativeDate}}", "relativeDate": "{{value, relativeDate}}",
"uptime": "{{value, uptime}}", "uptime": "{{value, uptime}}",
"months": "mo", "months": "माह",
"days": "d", "days": "d",
"hours": "h", "hours": "घं.",
"minutes": "m", "minutes": "m",
"seconds": "s" "seconds": "पल"
}, },
"widget": { "widget": {
"missing_type": "Missing Widget Type: {{type}}", "missing_type": "Missing Widget Type: {{type}}",
@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Offline", "offline": "Offline",
"offline_alt": "Offline",
"online": "Online", "online": "Online",
"total": "Total", "total": "Total",
"unknown": "Unknown" "unknown": "Unknown"
@ -411,7 +412,7 @@
"free": "Free", "free": "Free",
"used": "Used", "used": "Used",
"days": "d", "days": "d",
"hours": "h", "hours": "घं.",
"crit": "Crit", "crit": "Crit",
"read": "Read", "read": "Read",
"write": "Write", "write": "Write",
@ -863,5 +864,13 @@
"users": "Users", "users": "Users",
"recipes": "Recipes", "recipes": "Recipes",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "Users",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Offline", "offline": "Offline",
"offline_alt": "Offline",
"online": "Online", "online": "Online",
"total": "Ukupno", "total": "Ukupno",
"unknown": "Nepoznato" "unknown": "Nepoznato"
@ -863,5 +864,13 @@
"users": "Korisnici", "users": "Korisnici",
"recipes": "Recepti", "recipes": "Recepti",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "Korisnici",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Nem elérhető", "offline": "Nem elérhető",
"offline_alt": "Nem elérhető",
"online": "Csatlakozva", "online": "Csatlakozva",
"total": "Összes", "total": "Összes",
"unknown": "Ismeretlen" "unknown": "Ismeretlen"
@ -124,8 +125,8 @@
"flood": { "flood": {
"download": "Letöltés", "download": "Letöltés",
"upload": "Feltöltés", "upload": "Feltöltés",
"leech": "Letöltés", "leech": "Leech",
"seed": "Feltöltés" "seed": "Seed"
}, },
"freshrss": { "freshrss": {
"subscriptions": "Előfizetések", "subscriptions": "Előfizetések",
@ -202,14 +203,14 @@
"transmission": { "transmission": {
"download": "Letöltés", "download": "Letöltés",
"upload": "Feltöltés", "upload": "Feltöltés",
"leech": "Letöltés", "leech": "Leech",
"seed": "Feltöltés" "seed": "Seed"
}, },
"qbittorrent": { "qbittorrent": {
"download": "Letöltés", "download": "Letöltés",
"upload": "Feltöltés", "upload": "Feltöltés",
"leech": "Letöltés", "leech": "Leech",
"seed": "Feltöltés" "seed": "Seed"
}, },
"qnap": { "qnap": {
"cpuUsage": "Processzor Használat", "cpuUsage": "Processzor Használat",
@ -222,14 +223,14 @@
"deluge": { "deluge": {
"download": "Letöltés", "download": "Letöltés",
"upload": "Feltöltés", "upload": "Feltöltés",
"leech": "Letöltés", "leech": "Leech",
"seed": "Feltöltés" "seed": "Seed"
}, },
"downloadstation": { "downloadstation": {
"download": "Letöltés", "download": "Letöltés",
"upload": "Feltöltés", "upload": "Feltöltés",
"leech": "Letöltés", "leech": "Leech",
"seed": "Feltöltés" "seed": "Seed"
}, },
"sonarr": { "sonarr": {
"wanted": "Keresett", "wanted": "Keresett",
@ -396,7 +397,7 @@
"proxmox": { "proxmox": {
"mem": "RAM", "mem": "RAM",
"cpu": "Processzor", "cpu": "Processzor",
"lxc": "LXC", "lxc": "LXC-k",
"vms": "VM-ek" "vms": "VM-ek"
}, },
"glances": { "glances": {
@ -525,7 +526,7 @@
"playlists": "Lejátszási listák" "playlists": "Lejátszási listák"
}, },
"truenas": { "truenas": {
"load": "Rendszerterheltség", "load": "Rendszerterhelés",
"uptime": "Üzemidő", "uptime": "Üzemidő",
"alerts": "Riasztások" "alerts": "Riasztások"
}, },
@ -543,14 +544,14 @@
"hdhomerun": { "hdhomerun": {
"channels": "Csatornák", "channels": "Csatornák",
"hd": "HD", "hd": "HD",
"tunerCount": "Tuners", "tunerCount": "Tuner-ek",
"channelNumber": "Channel", "channelNumber": "Csatorna",
"channelNetwork": "Network", "channelNetwork": "Hálózat",
"signalStrength": "Strength", "signalStrength": "Erősség",
"signalQuality": "Quality", "signalQuality": "Minőség",
"symbolQuality": "Quality", "symbolQuality": "Minőség",
"networkRate": "Bitráta", "networkRate": "Bitráta",
"clientIP": "Client" "clientIP": "Kliens"
}, },
"scrutiny": { "scrutiny": {
"passed": "Megfelelt", "passed": "Megfelelt",
@ -797,10 +798,10 @@
}, },
"openwrt": { "openwrt": {
"uptime": "Üzemidő", "uptime": "Üzemidő",
"cpuLoad": "CPU Load Avg (5m)", "cpuLoad": "Átlag CPU terhelés (5p)",
"up": "Fel", "up": "Fel",
"down": "Le", "down": "Le",
"bytesTx": "Transmitted", "bytesTx": "Továbbított",
"bytesRx": "Fogadott" "bytesRx": "Fogadott"
}, },
"uptimerobot": { "uptimerobot": {
@ -833,35 +834,43 @@
"criticals": "Kritikusok" "criticals": "Kritikusok"
}, },
"plantit": { "plantit": {
"events": "Events", "events": "Események",
"plants": "Plants", "plants": "Növények",
"photos": "Fényképek", "photos": "Fényképek",
"species": "Species" "species": "Fajok"
}, },
"gitea": { "gitea": {
"notifications": "Notifications", "notifications": "Üzenetek",
"issues": "Problémák", "issues": "Problémák",
"pulls": "Pull Requests" "pulls": "Pull request-ek"
}, },
"stash": { "stash": {
"scenes": "Scenes", "scenes": "Jelenetek",
"scenesPlayed": "Scenes Played", "scenesPlayed": "Lejátszott jelenetek",
"playCount": "Total Plays", "playCount": "Összes leátszás",
"playDuration": "Time Watched", "playDuration": "Nézett idő",
"sceneSize": "Scenes Size", "sceneSize": "Jelenetek mérete",
"sceneDuration": "Scenes Duration", "sceneDuration": "Jelenetek hossza",
"images": "Images", "images": "Képek",
"imageSize": "Images Size", "imageSize": "Képek mérete",
"galleries": "Galleries", "galleries": "Galériák",
"performers": "Performers", "performers": "Előadók",
"studios": "Studios", "studios": "Stúdiók",
"movies": "Film", "movies": "Film",
"tags": "Címkék", "tags": "Címkék",
"oCount": "O Count" "oCount": "O szám"
}, },
"tandoor": { "tandoor": {
"users": "Felhasználók", "users": "Felhasználók",
"recipes": "Receptek", "recipes": "Receptek",
"keywords": "Keywords" "keywords": "Kulcsszavak"
},
"homebox": {
"items": "Tárgyak",
"totalWithWarranty": "Garanciával",
"locations": "Helyek",
"labels": "Címkék",
"users": "Felhasználók",
"totalValue": "Teljes érték"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Offline", "offline": "Offline",
"offline_alt": "Offline",
"online": "Online", "online": "Online",
"total": "Total", "total": "Total",
"unknown": "Tidak Diketahui" "unknown": "Tidak Diketahui"
@ -863,5 +864,13 @@
"users": "Pengguna", "users": "Pengguna",
"recipes": "Resep", "recipes": "Resep",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "Pengguna",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Non in linea", "offline": "Non in linea",
"offline_alt": "Non in linea",
"online": "Online", "online": "Online",
"total": "Totale", "total": "Totale",
"unknown": "Sconosciuto" "unknown": "Sconosciuto"
@ -863,5 +864,13 @@
"users": "Utenti", "users": "Utenti",
"recipes": "Ricette", "recipes": "Ricette",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "Utenti",
"totalValue": "Total Value"
} }
} }

@ -14,7 +14,7 @@
"date": "{{value, date}}", "date": "{{value, date}}",
"relativeDate": "{{value, relativeDate}}", "relativeDate": "{{value, relativeDate}}",
"uptime": "{{value, uptime}}", "uptime": "{{value, uptime}}",
"months": "mo", "months": "",
"days": "日", "days": "日",
"hours": "時間", "hours": "時間",
"minutes": "分", "minutes": "分",
@ -92,7 +92,7 @@
"siteMonitor": { "siteMonitor": {
"http_status": "HTTP ステータス", "http_status": "HTTP ステータス",
"error": "エラー", "error": "エラー",
"response": "Response", "response": "応答",
"down": "下へ", "down": "下へ",
"up": "上へ", "up": "上へ",
"not_available": "利用できません。" "not_available": "利用できません。"
@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "オフライン", "offline": "オフライン",
"offline_alt": "オフライン",
"online": "オンライン", "online": "オンライン",
"total": "合計", "total": "合計",
"unknown": "不明" "unknown": "不明"
@ -133,21 +134,21 @@
}, },
"fritzbox": { "fritzbox": {
"connectionStatus": "状態", "connectionStatus": "状態",
"connectionStatusUnconfigured": "Unconfigured", "connectionStatusUnconfigured": "未設定",
"connectionStatusConnecting": "Connecting", "connectionStatusConnecting": "接続中",
"connectionStatusAuthenticating": "Authenticating", "connectionStatusAuthenticating": "認証中",
"connectionStatusPendingDisconnect": "Pending Disconnect", "connectionStatusPendingDisconnect": "接続を切断する",
"connectionStatusDisconnecting": "Disconnecting", "connectionStatusDisconnecting": "接続を切断中",
"connectionStatusDisconnected": "Disconnected", "connectionStatusDisconnected": "切断されました",
"connectionStatusConnected": "接続済み", "connectionStatusConnected": "接続済み",
"uptime": "稼働時間", "uptime": "稼働時間",
"maxDown": "Max. Down", "maxDown": "最大ダウン",
"maxUp": "Max. Up", "maxUp": "最大アップ",
"down": "下へ", "down": "下へ",
"up": "上へ", "up": "上へ",
"received": "受信済み", "received": "受信済み",
"sent": "送信済み", "sent": "送信済み",
"externalIPAddress": "Ext. IP" "externalIPAddress": "退出ID"
}, },
"caddy": { "caddy": {
"upstreams": "アップストリーム", "upstreams": "アップストリーム",
@ -543,7 +544,7 @@
"hdhomerun": { "hdhomerun": {
"channels": "チャンネル", "channels": "チャンネル",
"hd": "HD", "hd": "HD",
"tunerCount": "Tuners", "tunerCount": "チューナー",
"channelNumber": "チャンネル", "channelNumber": "チャンネル",
"channelNetwork": "ネットワーク", "channelNetwork": "ネットワーク",
"signalStrength": "強さ", "signalStrength": "強さ",
@ -562,7 +563,7 @@
"total": "合計" "total": "合計"
}, },
"peanut": { "peanut": {
"battery_charge": "Battery Charge", "battery_charge": "バッテリー充電",
"ups_load": "UPS 負荷", "ups_load": "UPS 負荷",
"ups_status": "UPS 状態", "ups_status": "UPS 状態",
"online": "オンライン", "online": "オンライン",
@ -825,43 +826,51 @@
"noEventsFound": "予定が見つかりません" "noEventsFound": "予定が見つかりません"
}, },
"romm": { "romm": {
"platforms": "Platforms", "platforms": "プラットフォーム",
"totalRoms": "Total ROMs" "totalRoms": "ROMの合計"
}, },
"netdata": { "netdata": {
"warnings": "警告", "warnings": "警告",
"criticals": "重大" "criticals": "重大"
}, },
"plantit": { "plantit": {
"events": "Events", "events": "イベント",
"plants": "Plants", "plants": "植物",
"photos": "写真", "photos": "写真",
"species": "Species" "species": ""
}, },
"gitea": { "gitea": {
"notifications": "Notifications", "notifications": "通知",
"issues": "課題", "issues": "課題",
"pulls": "Pull Requests" "pulls": "プルリクエスト"
}, },
"stash": { "stash": {
"scenes": "Scenes", "scenes": "シーン",
"scenesPlayed": "Scenes Played", "scenesPlayed": "再生されたシーン",
"playCount": "Total Plays", "playCount": "合計再生数",
"playDuration": "Time Watched", "playDuration": "視聴時間",
"sceneSize": "Scenes Size", "sceneSize": "シーンサイズ",
"sceneDuration": "Scenes Duration", "sceneDuration": "シーンの長さ",
"images": "Images", "images": "画像",
"imageSize": "Images Size", "imageSize": "画像サイズ",
"galleries": "Galleries", "galleries": "ギャラリー",
"performers": "Performers", "performers": "出演者",
"studios": "Studios", "studios": "スタジオ",
"movies": "映画", "movies": "映画",
"tags": "タグ", "tags": "タグ",
"oCount": "O Count" "oCount": "O カウント"
}, },
"tandoor": { "tandoor": {
"users": "ユーザ", "users": "ユーザ",
"recipes": "レシピ", "recipes": "レシピ",
"keywords": "Keywords" "keywords": "キーワード"
},
"homebox": {
"items": "アイテム",
"totalWithWarranty": "保証付き",
"locations": "場所",
"labels": "ラベル",
"users": "ユーザ",
"totalValue": "合計値"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "중지", "offline": "중지",
"offline_alt": "중지",
"online": "Online", "online": "Online",
"total": "총합", "total": "총합",
"unknown": "알 수 없음" "unknown": "알 수 없음"
@ -863,5 +864,13 @@
"users": "사용자", "users": "사용자",
"recipes": "Recipes", "recipes": "Recipes",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "사용자",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Bezsaistē", "offline": "Bezsaistē",
"offline_alt": "Bezsaistē",
"online": "Online", "online": "Online",
"total": "Kopā", "total": "Kopā",
"unknown": "Nezināms" "unknown": "Nezināms"
@ -863,5 +864,13 @@
"users": "Lietotāji", "users": "Lietotāji",
"recipes": "Recipes", "recipes": "Recipes",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "Lietotāji",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Luar talian", "offline": "Luar talian",
"offline_alt": "Luar talian",
"online": "Dalam Talian", "online": "Dalam Talian",
"total": "Jumlah", "total": "Jumlah",
"unknown": "Tidak Diketahui" "unknown": "Tidak Diketahui"
@ -863,5 +864,13 @@
"users": "Pengguna", "users": "Pengguna",
"recipes": "Resipi", "recipes": "Resipi",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "Pengguna",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Onbereikbaar", "offline": "Onbereikbaar",
"offline_alt": "Onbereikbaar",
"online": "Bereikbaar", "online": "Bereikbaar",
"total": "Totaal", "total": "Totaal",
"unknown": "Onbekend" "unknown": "Onbekend"
@ -863,5 +864,13 @@
"users": "Gebruikers", "users": "Gebruikers",
"recipes": "Recepten", "recipes": "Recepten",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "Met garantie",
"locations": "Locaties",
"labels": "Labels",
"users": "Gebruikers",
"totalValue": "Totale waarde"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Offline", "offline": "Offline",
"offline_alt": "Offline",
"online": "Online", "online": "Online",
"total": "Total", "total": "Total",
"unknown": "Unknown" "unknown": "Unknown"
@ -863,5 +864,13 @@
"users": "Users", "users": "Users",
"recipes": "Recipes", "recipes": "Recipes",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "Users",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Nieosiągalny", "offline": "Nieosiągalny",
"offline_alt": "Nieosiągalny",
"online": "Dostępny", "online": "Dostępny",
"total": "Całkowite", "total": "Całkowite",
"unknown": "Nieznany" "unknown": "Nieznany"
@ -863,5 +864,13 @@
"users": "Użytkownicy", "users": "Użytkownicy",
"recipes": "Recipes", "recipes": "Recipes",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "Użytkownicy",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Desligado", "offline": "Desligado",
"offline_alt": "Desligado",
"online": "Online", "online": "Online",
"total": "Total", "total": "Total",
"unknown": "Desconhecido" "unknown": "Desconhecido"
@ -863,5 +864,13 @@
"users": "Utilizadores", "users": "Utilizadores",
"recipes": "Receitas", "recipes": "Receitas",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "Utilizadores",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Desligado", "offline": "Desligado",
"offline_alt": "Desligado",
"online": "Online", "online": "Online",
"total": "Total", "total": "Total",
"unknown": "Desconhecido" "unknown": "Desconhecido"
@ -863,5 +864,13 @@
"users": "Utilizadores", "users": "Utilizadores",
"recipes": "Recipes", "recipes": "Recipes",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "Utilizadores",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Offline", "offline": "Offline",
"offline_alt": "Offline",
"online": "Online", "online": "Online",
"total": "Total", "total": "Total",
"unknown": "Necunoscut" "unknown": "Necunoscut"
@ -863,5 +864,13 @@
"users": "Utilizatori", "users": "Utilizatori",
"recipes": "Recipes", "recipes": "Recipes",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "Utilizatori",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Не в сети", "offline": "Не в сети",
"offline_alt": "Не в сети",
"online": "В сети", "online": "В сети",
"total": "Всего", "total": "Всего",
"unknown": "Неизвестен" "unknown": "Неизвестен"
@ -830,38 +831,46 @@
}, },
"netdata": { "netdata": {
"warnings": "Предупреждения", "warnings": "Предупреждения",
"criticals": "Криты" "criticals": "Критические"
}, },
"plantit": { "plantit": {
"events": "Events", "events": "События",
"plants": "Plants", "plants": "Растения",
"photos": "Фото", "photos": "Фото",
"species": "Species" "species": "Виды"
}, },
"gitea": { "gitea": {
"notifications": "Notifications", "notifications": "Уведомления",
"issues": "Вопросы", "issues": "Вопросы",
"pulls": "Pull Requests" "pulls": "Запросы на слияние (Pull Request)"
}, },
"stash": { "stash": {
"scenes": "Scenes", "scenes": "Сцены",
"scenesPlayed": "Scenes Played", "scenesPlayed": "Проигранных сцен",
"playCount": "Total Plays", "playCount": "Всего проиграно",
"playDuration": "Time Watched", "playDuration": "Просмотрено времени",
"sceneSize": "Scenes Size", "sceneSize": "Размер сцены",
"sceneDuration": "Scenes Duration", "sceneDuration": "Длительность сцен",
"images": "Images", "images": "Изображения",
"imageSize": "Images Size", "imageSize": "Размер изображений",
"galleries": "Galleries", "galleries": "Галереи",
"performers": "Performers", "performers": "Исполнители",
"studios": "Studios", "studios": "Студии",
"movies": "Фильмы", "movies": "Фильмы",
"tags": "Теги", "tags": "Теги",
"oCount": "O Count" "oCount": "0"
}, },
"tandoor": { "tandoor": {
"users": "Пользователи", "users": "Пользователи",
"recipes": "Рецепты", "recipes": "Рецепты",
"keywords": "Keywords" "keywords": "Ключевые слова"
},
"homebox": {
"items": "Элементы",
"totalWithWarranty": "С гарантией",
"locations": "Местоположения",
"labels": "Ярлыки",
"users": "Пользователи",
"totalValue": "Общая стоимость"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Nedostupný", "offline": "Nedostupný",
"offline_alt": "Nedostupný",
"online": "Online", "online": "Online",
"total": "Celkovo", "total": "Celkovo",
"unknown": "Neznáme" "unknown": "Neznáme"
@ -833,28 +834,28 @@
"criticals": "Kritické" "criticals": "Kritické"
}, },
"plantit": { "plantit": {
"events": "Events", "events": "Udalosti",
"plants": "Plants", "plants": "Rastliny",
"photos": "Fotografie", "photos": "Fotografie",
"species": "Species" "species": "Druhy"
}, },
"gitea": { "gitea": {
"notifications": "Notifications", "notifications": "Oznámenia",
"issues": "Problémy", "issues": "Problémy",
"pulls": "Pull Requests" "pulls": "Pull requesty"
}, },
"stash": { "stash": {
"scenes": "Scenes", "scenes": "Scény",
"scenesPlayed": "Scenes Played", "scenesPlayed": "Scenes Played",
"playCount": "Total Plays", "playCount": "Celkovo prehraní",
"playDuration": "Time Watched", "playDuration": "Pozeraný čas",
"sceneSize": "Scenes Size", "sceneSize": "Veľkosť obrazovky",
"sceneDuration": "Scenes Duration", "sceneDuration": "Dĺžka scény",
"images": "Images", "images": "Obrázky",
"imageSize": "Images Size", "imageSize": "Veľkosť obrázkov",
"galleries": "Galleries", "galleries": "Galérie",
"performers": "Performers", "performers": "Herci",
"studios": "Studios", "studios": "Štúdiá",
"movies": "Filmy", "movies": "Filmy",
"tags": "Štítky", "tags": "Štítky",
"oCount": "O Count" "oCount": "O Count"
@ -862,6 +863,14 @@
"tandoor": { "tandoor": {
"users": "Používatelia", "users": "Používatelia",
"recipes": "Recepty", "recipes": "Recepty",
"keywords": "Keywords" "keywords": "Kľúčové slová"
},
"homebox": {
"items": "Položky",
"totalWithWarranty": "So zárukou",
"locations": "Umiestnenia",
"labels": "Labels",
"users": "Používatelia",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Ni povezan", "offline": "Ni povezan",
"offline_alt": "Ni povezan",
"online": "Na spletu", "online": "Na spletu",
"total": "Skupaj", "total": "Skupaj",
"unknown": "Neznano" "unknown": "Neznano"
@ -863,5 +864,13 @@
"users": "Uporabniki", "users": "Uporabniki",
"recipes": "Recepti", "recipes": "Recepti",
"keywords": "Ključne besede" "keywords": "Ključne besede"
},
"homebox": {
"items": "Predmeti",
"totalWithWarranty": "Z garancijo",
"locations": "Lokacije",
"labels": "Oznake",
"users": "Uporabniki",
"totalValue": "Skupna vrednost"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Offline", "offline": "Offline",
"offline_alt": "Offline",
"online": "Online", "online": "Online",
"total": "Total", "total": "Total",
"unknown": "Unknown" "unknown": "Unknown"
@ -863,5 +864,13 @@
"users": "Users", "users": "Users",
"recipes": "Recipes", "recipes": "Recipes",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "Users",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Offline", "offline": "Offline",
"offline_alt": "Offline",
"online": "Online", "online": "Online",
"total": "Total", "total": "Total",
"unknown": "Unknown" "unknown": "Unknown"
@ -863,5 +864,13 @@
"users": "Användare", "users": "Användare",
"recipes": "Recipes", "recipes": "Recipes",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "Användare",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "ఆఫ్‌లైన్", "offline": "ఆఫ్‌లైన్",
"offline_alt": "ఆఫ్‌లైన్",
"online": "Online", "online": "Online",
"total": "మొత్తం", "total": "మొత్తం",
"unknown": "Unknown" "unknown": "Unknown"
@ -863,5 +864,13 @@
"users": "వినియోగదారులు", "users": "వినియోగదారులు",
"recipes": "Recipes", "recipes": "Recipes",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "వినియోగదారులు",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "ออฟไลน์", "offline": "ออฟไลน์",
"offline_alt": "ออฟไลน์",
"online": "Online", "online": "Online",
"total": "ทั้งหมด", "total": "ทั้งหมด",
"unknown": "ไม่ทราบ" "unknown": "ไม่ทราบ"
@ -863,5 +864,13 @@
"users": "ผู้ใช้", "users": "ผู้ใช้",
"recipes": "Recipes", "recipes": "Recipes",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "ผู้ใช้",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Çevrimdışı", "offline": "Çevrimdışı",
"offline_alt": "Çevrimdışı",
"online": "Çevrimiçi", "online": "Çevrimiçi",
"total": "Toplam", "total": "Toplam",
"unknown": "Bilinmiyor" "unknown": "Bilinmiyor"
@ -136,18 +137,18 @@
"connectionStatusUnconfigured": "Yapılandırılmamış", "connectionStatusUnconfigured": "Yapılandırılmamış",
"connectionStatusConnecting": "Bağlanıyor", "connectionStatusConnecting": "Bağlanıyor",
"connectionStatusAuthenticating": "Kimlik doğrulanıyor", "connectionStatusAuthenticating": "Kimlik doğrulanıyor",
"connectionStatusPendingDisconnect": "Pending Disconnect", "connectionStatusPendingDisconnect": "Bağlantının Kesilmesi Bekleniyor",
"connectionStatusDisconnecting": "Bağlantı kesiliyor...", "connectionStatusDisconnecting": "Bağlantı kesiliyor...",
"connectionStatusDisconnected": "Bağlantı kesildi", "connectionStatusDisconnected": "Bağlantı kesildi",
"connectionStatusConnected": "Bağlandı", "connectionStatusConnected": "Bağlandı",
"uptime": "Çalışma Süresi", "uptime": "Çalışma Süresi",
"maxDown": "Max. Down", "maxDown": "Max. Indirme",
"maxUp": "Max. Up", "maxUp": "Max. Gönderme",
"down": "İndirme", "down": "İndirme",
"up": "Yükleme", "up": "Yükleme",
"received": "Alınan", "received": "Alınan",
"sent": "Gönderilen", "sent": "Gönderilen",
"externalIPAddress": "Ext. IP" "externalIPAddress": "Harici IP"
}, },
"caddy": { "caddy": {
"upstreams": "Akış", "upstreams": "Akış",
@ -169,7 +170,7 @@
"transcoding": "Dönüştürülüyor", "transcoding": "Dönüştürülüyor",
"bitrate": "Bit Oranı", "bitrate": "Bit Oranı",
"no_active": "Aktif akış yok", "no_active": "Aktif akış yok",
"plex_connection_error": "Check Plex Connection" "plex_connection_error": "Plex Bağlantısı Kontrol Ediliyor"
}, },
"omada": { "omada": {
"connectedAp": "Bağlı AP'ler", "connectedAp": "Bağlı AP'ler",
@ -426,7 +427,7 @@
"custom": "Özel", "custom": "Özel",
"visit": "Ziyaret", "visit": "Ziyaret",
"url": "URL", "url": "URL",
"searchsuggestion": "Suggestion" "searchsuggestion": "Öneri"
}, },
"wmo": { "wmo": {
"0-day": "Güneşli", "0-day": "Güneşli",
@ -498,14 +499,14 @@
"down": "İndirme" "down": "İndirme"
}, },
"healthchecks": { "healthchecks": {
"new": "New", "new": "Yeni",
"up": "Yükleme", "up": "Yükleme",
"grace": "In Grace Period", "grace": "Tolerans Döneminde",
"down": "İndirme", "down": "İndirme",
"paused": "Paused", "paused": "Durduruldu",
"status": "Durum", "status": "Durum",
"last_ping": "Son Ping", "last_ping": "Son Ping",
"never": "No pings yet" "never": "Henüz ping yok"
}, },
"watchtower": { "watchtower": {
"containers_scanned": "Tarandı", "containers_scanned": "Tarandı",
@ -543,14 +544,14 @@
"hdhomerun": { "hdhomerun": {
"channels": "Kanallar", "channels": "Kanallar",
"hd": "HD", "hd": "HD",
"tunerCount": "Tuners", "tunerCount": "Ayarlayıcılar",
"channelNumber": "Channel", "channelNumber": "Kanal",
"channelNetwork": "Network", "channelNetwork": "",
"signalStrength": "Strength", "signalStrength": "Sağlamlık",
"signalQuality": "Quality", "signalQuality": "Kalite",
"symbolQuality": "Quality", "symbolQuality": "Kalite",
"networkRate": "Bit Oranı", "networkRate": "Bit Oranı",
"clientIP": "Client" "clientIP": "Alıcı"
}, },
"scrutiny": { "scrutiny": {
"passed": "Geçti", "passed": "Geçti",
@ -563,11 +564,11 @@
}, },
"peanut": { "peanut": {
"battery_charge": "Pil Yüzdesi", "battery_charge": "Pil Yüzdesi",
"ups_load": "UPS Load", "ups_load": "UPS Yükü",
"ups_status": "UPS Status", "ups_status": "UPS Durumu",
"online": "Çevrimiçi", "online": "Çevrimiçi",
"on_battery": "Pilde", "on_battery": "Pilde",
"low_battery": "Low Battery" "low_battery": "Düşük Pil"
}, },
"nextdns": { "nextdns": {
"wait": "Lütfen Bekleyin", "wait": "Lütfen Bekleyin",
@ -577,7 +578,7 @@
"cpuLoad": "CPU Yükü", "cpuLoad": "CPU Yükü",
"memoryUsed": "Bellek Kullanımı", "memoryUsed": "Bellek Kullanımı",
"uptime": "Çalışma Süresi", "uptime": "Çalışma Süresi",
"numberOfLeases": "Leases" "numberOfLeases": "Kiralama"
}, },
"xteve": { "xteve": {
"streams_all": "Tüm Akışlar", "streams_all": "Tüm Akışlar",
@ -585,9 +586,9 @@
"streams_xepg": "XEPG Kanalları" "streams_xepg": "XEPG Kanalları"
}, },
"opendtu": { "opendtu": {
"yieldDay": "Today", "yieldDay": "Bugün",
"absolutePower": "Power", "absolutePower": "Güç",
"relativePower": "Power %", "relativePower": "Güç %",
"limit": "Limit" "limit": "Limit"
}, },
"opnsense": { "opnsense": {
@ -606,25 +607,25 @@
"printer_state": "Durum", "printer_state": "Durum",
"temp_tool": "Araç sıcaklığı", "temp_tool": "Araç sıcaklığı",
"temp_bed": "Yatak sıcaklığı", "temp_bed": "Yatak sıcaklığı",
"job_completion": "Completion" "job_completion": "Tamamlanma"
}, },
"cloudflared": { "cloudflared": {
"origin_ip": "Origin IP", "origin_ip": "Gerçek IP",
"status": "Durum" "status": "Durum"
}, },
"pfsense": { "pfsense": {
"load": "Load Avg", "load": "Ort. Yükleme",
"memory": "Mem Usage", "memory": "Bellek Kullanımı",
"wanStatus": "WAN Status", "wanStatus": "WAN Durumu",
"up": "Yükleme", "up": "Yükleme",
"down": "İndirme", "down": "İndirme",
"temp": "Sıcaklık", "temp": "Sıcaklık",
"disk": "Disk Usage", "disk": "Disk Kullanımı",
"wanIP": "WAN IP" "wanIP": "WAN IP"
}, },
"proxmoxbackupserver": { "proxmoxbackupserver": {
"datastore_usage": "Datastore", "datastore_usage": "Veri deposu",
"failed_tasks_24h": "Failed Tasks 24h", "failed_tasks_24h": "Başarısız Görevler 24h",
"cpu_usage": "CPU", "cpu_usage": "CPU",
"memory_usage": "Bellek" "memory_usage": "Bellek"
}, },
@ -638,14 +639,14 @@
"up": "Sites Up", "up": "Sites Up",
"down": "Sites Down", "down": "Sites Down",
"uptime": "Çalışma Süresi", "uptime": "Çalışma Süresi",
"incident": "Incident", "incident": "Olay",
"m": "dk" "m": "dk"
}, },
"atsumeru": { "atsumeru": {
"series": "Diziler", "series": "Diziler",
"archives": "Archives", "archives": "Arşivler",
"chapters": "Chapters", "chapters": "Bölümler",
"categories": "Categories" "categories": "Kategoriler"
}, },
"komga": { "komga": {
"libraries": "Kütüphane", "libraries": "Kütüphane",
@ -672,42 +673,42 @@
"queue": "Kuyruk", "queue": "Kuyruk",
"processing": "İşleniyor", "processing": "İşleniyor",
"processed": "İşlendi", "processed": "İşlendi",
"time": "Time" "time": "Zaman"
}, },
"grafana": { "grafana": {
"dashboards": "Dashboards", "dashboards": "Kontrol Paneli",
"datasources": "Data Sources", "datasources": "Veri Kaynakları",
"totalalerts": "Total Alerts", "totalalerts": "Toplam Uyarılar",
"alertstriggered": "Alerts Triggered" "alertstriggered": "Uyarılar Tetiklendi"
}, },
"nextcloud": { "nextcloud": {
"cpuload": "Cpu Load", "cpuload": "Cpu Yükü",
"memoryusage": "Memory Usage", "memoryusage": "Bellek Kullanımı",
"freespace": "Free Space", "freespace": "Boş Alan",
"activeusers": "Active Users", "activeusers": "Aktif Kullanıcılar",
"numfiles": "Files", "numfiles": "Dosyalar",
"numshares": "Shared Items" "numshares": "Paylaşılan Öğeler"
}, },
"kopia": { "kopia": {
"status": "Durum", "status": "Durum",
"size": "Size", "size": "Boyut",
"lastrun": "Last Run", "lastrun": "Son Çalışma",
"nextrun": "Next Run", "nextrun": "Sonraki Çalışma",
"failed": "Başarısız" "failed": "Başarısız"
}, },
"unmanic": { "unmanic": {
"active_workers": "Active Workers", "active_workers": "Aktif Kullanıcılar",
"total_workers": "Total Workers", "total_workers": "Toplam Kullanıcılar",
"records_total": "Queue Length" "records_total": "Sıra Uzunluğu"
}, },
"pterodactyl": { "pterodactyl": {
"servers": "Servers", "servers": "Sunucular",
"nodes": "Nodes" "nodes": "Düğümler"
}, },
"prometheus": { "prometheus": {
"targets_up": "Targets Up", "targets_up": "Targets Up",
"targets_down": "Targets Down", "targets_down": "Targets Down",
"targets_total": "Total Targets" "targets_total": "Toplam Hedef"
}, },
"gatus": { "gatus": {
"up": "Sites Up", "up": "Sites Up",
@ -715,50 +716,50 @@
"uptime": "Çalışma Süresi" "uptime": "Çalışma Süresi"
}, },
"ghostfolio": { "ghostfolio": {
"gross_percent_today": "Today", "gross_percent_today": "Bugün",
"gross_percent_1y": "One year", "gross_percent_1y": "Bir yıl",
"gross_percent_max": "All time" "gross_percent_max": "Tüm zaman"
}, },
"audiobookshelf": { "audiobookshelf": {
"podcasts": "Podcasts", "podcasts": "Podcast",
"books": "Kitaplar", "books": "Kitaplar",
"podcastsDuration": "Duration", "podcastsDuration": "Süre",
"booksDuration": "Duration" "booksDuration": "Süre"
}, },
"homeassistant": { "homeassistant": {
"people_home": "People Home", "people_home": "People Home",
"lights_on": "Lights On", "lights_on": "ıklar Açık",
"switches_on": "Switches On" "switches_on": ""
}, },
"whatsupdocker": { "whatsupdocker": {
"monitoring": "Monitoring", "monitoring": "İzleme",
"updates": "Güncellemeler" "updates": "Güncellemeler"
}, },
"calibreweb": { "calibreweb": {
"books": "Kitaplar", "books": "Kitaplar",
"authors": "Authors", "authors": "Yazarlar",
"categories": "Categories", "categories": "Kategoriler",
"series": "Diziler" "series": "Diziler"
}, },
"jdownloader": { "jdownloader": {
"downloadCount": "Kuyruk", "downloadCount": "Kuyruk",
"downloadBytesRemaining": "Kalan", "downloadBytesRemaining": "Kalan",
"downloadTotalBytes": "Size", "downloadTotalBytes": "Boyut",
"downloadSpeed": "Hız" "downloadSpeed": "Hız"
}, },
"kavita": { "kavita": {
"seriesCount": "Diziler", "seriesCount": "Diziler",
"totalFiles": "Files" "totalFiles": "Dosyalar"
}, },
"azuredevops": { "azuredevops": {
"result": "Result", "result": "Sonuç",
"status": "Durum", "status": "Durum",
"buildId": "Build ID", "buildId": "Build ID",
"succeeded": "Succeeded", "succeeded": "Başarılı",
"notStarted": "Not Started", "notStarted": "Henüz Başlamadı",
"failed": "Başarısız", "failed": "Başarısız",
"canceled": "Canceled", "canceled": "İptal edildi",
"inProgress": "In Progress", "inProgress": "Sürüyor",
"totalPrs": "Total PRs", "totalPrs": "Total PRs",
"myPrs": "My PRs", "myPrs": "My PRs",
"approved": "Onaylı" "approved": "Onaylı"
@ -767,28 +768,28 @@
"status": "Durum", "status": "Durum",
"online": "Çevrimiçi", "online": "Çevrimiçi",
"offline": "Çevrimdışı", "offline": "Çevrimdışı",
"name": "Name", "name": "İsim",
"map": "Map", "map": "Harita",
"currentPlayers": "Current players", "currentPlayers": "Mevcut oyuncular",
"players": "Oyuncular", "players": "Oyuncular",
"maxPlayers": "Max players", "maxPlayers": "Maks. oyuncu",
"bots": "Bots", "bots": "Botlar",
"ping": "Gecikme" "ping": "Gecikme"
}, },
"urbackup": { "urbackup": {
"ok": "Ok", "ok": "Tamam",
"errored": "Errors", "errored": "Hatalar",
"noRecent": "Out of Date", "noRecent": "Tarihi geçmiş",
"totalUsed": "Used Storage" "totalUsed": "Kullanılan depolama alanı"
}, },
"mealie": { "mealie": {
"recipes": "Recipes", "recipes": "Tarifler",
"users": "Kullanıcılar", "users": "Kullanıcılar",
"categories": "Categories", "categories": "Kategoriler",
"tags": "Tags" "tags": "Etiketler"
}, },
"openmediavault": { "openmediavault": {
"downloading": "Downloading", "downloading": "İndiriliyor",
"total": "Toplam", "total": "Toplam",
"running": "Çalışan", "running": "Çalışan",
"stopped": "Durduruldu", "stopped": "Durduruldu",
@ -797,71 +798,79 @@
}, },
"openwrt": { "openwrt": {
"uptime": "Çalışma Süresi", "uptime": "Çalışma Süresi",
"cpuLoad": "CPU Load Avg (5m)", "cpuLoad": "CPU Yükü Ortalaması (5dk)",
"up": "Yükleme", "up": "Yükleme",
"down": "İndirme", "down": "İndirme",
"bytesTx": "Transmitted", "bytesTx": "İletilen",
"bytesRx": "Alınan" "bytesRx": "Alınan"
}, },
"uptimerobot": { "uptimerobot": {
"status": "Durum", "status": "Durum",
"uptime": "Çalışma Süresi", "uptime": "Çalışma Süresi",
"lastDown": "Last Downtime", "lastDown": "Son Kesinti",
"downDuration": "Downtime Duration", "downDuration": "Kesinti Süresi",
"sitesUp": "Sites Up", "sitesUp": "Sites Up",
"sitesDown": "Sites Down", "sitesDown": "Sites Down",
"paused": "Paused", "paused": "Durduruldu",
"notyetchecked": "Not Yet Checked", "notyetchecked": "Henüz Kontrol Edilmedi",
"up": "Yükleme", "up": "Yükleme",
"seemsdown": "Seems Down", "seemsdown": "Kapalı görünüyor",
"down": "İndirme", "down": "İndirme",
"unknown": "Bilinmiyor" "unknown": "Bilinmiyor"
}, },
"calendar": { "calendar": {
"inCinemas": "In cinemas", "inCinemas": "Sinemalarda",
"physicalRelease": "Physical release", "physicalRelease": "Fiziksel Yayınlanan",
"digitalRelease": "Digital release", "digitalRelease": "Dijital Yayınlanan",
"noEventsToday": "No events for today!", "noEventsToday": "Bugün için etkinlik yok!",
"noEventsFound": "No events found" "noEventsFound": "Etkinlik bulunamadı"
}, },
"romm": { "romm": {
"platforms": "Platforms", "platforms": "Platformlar",
"totalRoms": "Total ROMs" "totalRoms": "Toplam ROM'lar"
}, },
"netdata": { "netdata": {
"warnings": "Warnings", "warnings": "Uyarılar",
"criticals": "Criticals" "criticals": "Kritik"
}, },
"plantit": { "plantit": {
"events": "Events", "events": "Etkinlikler",
"plants": "Plants", "plants": "Plants",
"photos": "Fotoğraflar", "photos": "Fotoğraflar",
"species": "Species" "species": "Türler"
}, },
"gitea": { "gitea": {
"notifications": "Notifications", "notifications": "Bildirimler",
"issues": "Sorunlar", "issues": "Sorunlar",
"pulls": "Pull Requests" "pulls": "Değişiklik İstekleri"
}, },
"stash": { "stash": {
"scenes": "Scenes", "scenes": "Sahneler",
"scenesPlayed": "Scenes Played", "scenesPlayed": "Oynanan Sahneler",
"playCount": "Total Plays", "playCount": "Toplam Oynatma",
"playDuration": "Time Watched", "playDuration": "İzlenen Süre",
"sceneSize": "Scenes Size", "sceneSize": "Sahne Boyutu",
"sceneDuration": "Scenes Duration", "sceneDuration": "Sahne Süresi",
"images": "Images", "images": "Görseller",
"imageSize": "Images Size", "imageSize": "Görsel Boyutu",
"galleries": "Galleries", "galleries": "Galeriler",
"performers": "Performers", "performers": "Performers",
"studios": "Studios", "studios": "Stüdyolar",
"movies": "Filmler", "movies": "Filmler",
"tags": "Tags", "tags": "Etiketler",
"oCount": "O Count" "oCount": "O Count"
}, },
"tandoor": { "tandoor": {
"users": "Kullanıcılar", "users": "Kullanıcılar",
"recipes": "Recipes", "recipes": "Tarifler",
"keywords": "Keywords" "keywords": "Anahtar Sözcükler"
},
"homebox": {
"items": "Ögeler",
"totalWithWarranty": "Garantili",
"locations": "Konum",
"labels": "Etiketler",
"users": "Kullanıcılar",
"totalValue": "Toplam Değer"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Офлайн", "offline": "Офлайн",
"offline_alt": "Офлайн",
"online": "Онлайн", "online": "Онлайн",
"total": "Усього", "total": "Усього",
"unknown": "Невідомий" "unknown": "Невідомий"
@ -863,5 +864,13 @@
"users": "Користувачі", "users": "Користувачі",
"recipes": "Recipes", "recipes": "Recipes",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "Користувачі",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "Ngoại tuyến", "offline": "Ngoại tuyến",
"offline_alt": "Ngoại tuyến",
"online": "Online", "online": "Online",
"total": "Tổng", "total": "Tổng",
"unknown": "Unknown" "unknown": "Unknown"
@ -863,5 +864,13 @@
"users": "Users", "users": "Users",
"recipes": "Recipes", "recipes": "Recipes",
"keywords": "Keywords" "keywords": "Keywords"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "Users",
"totalValue": "Total Value"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "離線", "offline": "離線",
"offline_alt": "離線",
"online": "在線", "online": "在線",
"total": "全部", "total": "全部",
"unknown": "未知" "unknown": "未知"
@ -862,6 +863,14 @@
"tandoor": { "tandoor": {
"users": "使用者", "users": "使用者",
"recipes": "食譜", "recipes": "食譜",
"keywords": "Keywords" "keywords": "關鍵字"
},
"homebox": {
"items": "項目",
"totalWithWarranty": "With Warranty",
"locations": "位置",
"labels": "標籤",
"users": "使用者",
"totalValue": "總共"
} }
} }

@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "离线", "offline": "离线",
"offline_alt": "离线",
"online": "在线", "online": "在线",
"total": "总计", "total": "总计",
"unknown": "未知" "unknown": "未知"
@ -141,13 +142,13 @@
"connectionStatusDisconnected": "未连接", "connectionStatusDisconnected": "未连接",
"connectionStatusConnected": "已连接", "connectionStatusConnected": "已连接",
"uptime": "运行时间", "uptime": "运行时间",
"maxDown": "", "maxDown": "最大下载速度",
"maxUp": "", "maxUp": "",
"down": "离线", "down": "离线",
"up": "在线", "up": "在线",
"received": "已接收", "received": "最大上传数",
"sent": "已发送", "sent": "已发送",
"externalIPAddress": "Ext. IP" "externalIPAddress": "外部IP"
}, },
"caddy": { "caddy": {
"upstreams": "上行", "upstreams": "上行",
@ -543,8 +544,8 @@
"hdhomerun": { "hdhomerun": {
"channels": "频道", "channels": "频道",
"hd": "HD", "hd": "HD",
"tunerCount": "Tuners", "tunerCount": "电台数",
"channelNumber": "Channel", "channelNumber": "频道数",
"channelNetwork": "网络", "channelNetwork": "网络",
"signalStrength": "强度", "signalStrength": "强度",
"signalQuality": "质量", "signalQuality": "质量",
@ -801,7 +802,7 @@
"up": "在线", "up": "在线",
"down": "离线", "down": "离线",
"bytesTx": "已传输", "bytesTx": "已传输",
"bytesRx": "已接收" "bytesRx": "最大上传数"
}, },
"uptimerobot": { "uptimerobot": {
"status": "状态", "status": "状态",
@ -833,28 +834,28 @@
"criticals": "严重" "criticals": "严重"
}, },
"plantit": { "plantit": {
"events": "Events", "events": "事件",
"plants": "Plants", "plants": "植物",
"photos": "照片", "photos": "照片",
"species": "Species" "species": "物种"
}, },
"gitea": { "gitea": {
"notifications": "Notifications", "notifications": "通知",
"issues": "出版", "issues": "出版",
"pulls": "Pull Requests" "pulls": "PR"
}, },
"stash": { "stash": {
"scenes": "Scenes", "scenes": "场景",
"scenesPlayed": "Scenes Played", "scenesPlayed": "已播放场景",
"playCount": "Total Plays", "playCount": "播放总数",
"playDuration": "Time Watched", "playDuration": "播放时间",
"sceneSize": "Scenes Size", "sceneSize": "场景大小",
"sceneDuration": "Scenes Duration", "sceneDuration": "场景时长",
"images": "Images", "images": "图片",
"imageSize": "Images Size", "imageSize": "图像大小",
"galleries": "Galleries", "galleries": "图库",
"performers": "Performers", "performers": "演员",
"studios": "Studios", "studios": "工作室",
"movies": "电影", "movies": "电影",
"tags": "标签", "tags": "标签",
"oCount": "O Count" "oCount": "O Count"
@ -862,6 +863,14 @@
"tandoor": { "tandoor": {
"users": "用户数", "users": "用户数",
"recipes": "食谱", "recipes": "食谱",
"keywords": "Keywords" "keywords": "关键词"
},
"homebox": {
"items": "Items",
"totalWithWarranty": "With Warranty",
"locations": "Locations",
"labels": "Labels",
"users": "用户数",
"totalValue": "Total Value"
} }
} }

@ -50,7 +50,7 @@
"uptime": "運作時間" "uptime": "運作時間"
}, },
"unifi": { "unifi": {
"users": "使用者", "users": "用戶",
"uptime": "運行時間", "uptime": "運行時間",
"days": "天", "days": "天",
"wan": "WAN", "wan": "WAN",
@ -109,6 +109,7 @@
}, },
"esphome": { "esphome": {
"offline": "離線", "offline": "離線",
"offline_alt": "離線",
"online": "在線", "online": "在線",
"total": "全部", "total": "全部",
"unknown": "未知" "unknown": "未知"
@ -368,7 +369,7 @@
"transferRate": "速率" "transferRate": "速率"
}, },
"mastodon": { "mastodon": {
"user_count": "使用者", "user_count": "用戶",
"status_count": "文章", "status_count": "文章",
"domain_count": "網域" "domain_count": "網域"
}, },
@ -389,7 +390,7 @@
"unread": "未讀" "unread": "未讀"
}, },
"authentik": { "authentik": {
"users": "使用者", "users": "用戶",
"loginsLast24H": "登入 (過去 24 小時)", "loginsLast24H": "登入 (過去 24 小時)",
"failedLoginsLast24H": "登入失敗 (過去 24 小時)" "failedLoginsLast24H": "登入失敗 (過去 24 小時)"
}, },
@ -629,7 +630,7 @@
"memory_usage": "記憶體" "memory_usage": "記憶體"
}, },
"immich": { "immich": {
"users": "使用者", "users": "用戶",
"photos": "照片", "photos": "照片",
"videos": "影片", "videos": "影片",
"storage": "儲存空間" "storage": "儲存空間"
@ -783,7 +784,7 @@
}, },
"mealie": { "mealie": {
"recipes": "食譜", "recipes": "食譜",
"users": "使用者", "users": "用戶",
"categories": "類別", "categories": "類別",
"tags": "標籤" "tags": "標籤"
}, },
@ -860,8 +861,16 @@
"oCount": "O Count" "oCount": "O Count"
}, },
"tandoor": { "tandoor": {
"users": "使用者", "users": "用戶",
"recipes": "食譜", "recipes": "食譜",
"keywords": "Keywords" "keywords": "關鍵字"
},
"homebox": {
"items": "項目",
"totalWithWarranty": "With Warranty",
"locations": "位置",
"labels": "標籤",
"users": "用戶",
"totalValue": "總共"
} }
} }

@ -3,13 +3,19 @@ import classNames from "classnames";
import { TabContext } from "utils/contexts/tab"; import { TabContext } from "utils/contexts/tab";
export function slugify(tabName) { function slugify(tabName) {
return tabName !== undefined ? encodeURIComponent(tabName.toString().replace(/\s+/g, "-").toLowerCase()) : ""; return tabName.toString().replace(/\s+/g, "-").toLowerCase();
}
export function slugifyAndEncode(tabName) {
return tabName !== undefined ? encodeURIComponent(slugify(tabName)) : "";
} }
export default function Tab({ tab }) { export default function Tab({ tab }) {
const { activeTab, setActiveTab } = useContext(TabContext); const { activeTab, setActiveTab } = useContext(TabContext);
const matchesTab = decodeURI(activeTab) === slugify(tab);
return ( return (
<li <li
key={tab} key={tab}
@ -21,16 +27,14 @@ export default function Tab({ tab }) {
type="button" type="button"
role="tab" role="tab"
aria-controls={`#${tab}`} aria-controls={`#${tab}`}
aria-selected={activeTab === slugify(tab) ? "true" : "false"} aria-selected={matchesTab ? "true" : "false"}
className={classNames( className={classNames(
"w-full rounded-md m-1", "w-full rounded-md m-1",
activeTab === slugify(tab) matchesTab ? "bg-theme-300/20 dark:bg-white/10" : "hover:bg-theme-100/20 dark:hover:bg-white/5",
? "bg-theme-300/20 dark:bg-white/10"
: "hover:bg-theme-100/20 dark:hover:bg-white/5",
)} )}
onClick={() => { onClick={() => {
setActiveTab(slugify(tab)); setActiveTab(slugifyAndEncode(tab));
window.location.hash = `#${slugify(tab)}`; window.location.hash = `#${slugifyAndEncode(tab)}`;
}} }}
> >
{tab} {tab}

@ -13,7 +13,7 @@ async function retrieveFromGlancesAPI(privateWidgetOptions, endpoint) {
throw new Error(errorMessage); throw new Error(errorMessage);
} }
const apiUrl = `${url}/api/3/${endpoint}`; const apiUrl = `${url}/api/${privateWidgetOptions.version}/${endpoint}`;
const headers = { const headers = {
"Accept-Encoding": "application/json", "Accept-Encoding": "application/json",
}; };
@ -42,9 +42,10 @@ async function retrieveFromGlancesAPI(privateWidgetOptions, endpoint) {
} }
export default async function handler(req, res) { export default async function handler(req, res) {
const { index, cputemp: includeCpuTemp, uptime: includeUptime, disk: includeDisks } = req.query; const { index, cputemp: includeCpuTemp, uptime: includeUptime, disk: includeDisks, version } = req.query;
const privateWidgetOptions = await getPrivateWidgetOptions("glances", index); const privateWidgetOptions = await getPrivateWidgetOptions("glances", index);
privateWidgetOptions.version = version ?? 3;
try { try {
const cpuData = await retrieveFromGlancesAPI(privateWidgetOptions, "cpu"); const cpuData = await retrieveFromGlancesAPI(privateWidgetOptions, "cpu");

@ -10,7 +10,7 @@ import { BiError } from "react-icons/bi";
import { serverSideTranslations } from "next-i18next/serverSideTranslations"; import { serverSideTranslations } from "next-i18next/serverSideTranslations";
import { useRouter } from "next/router"; import { useRouter } from "next/router";
import Tab, { slugify } from "components/tab"; import Tab, { slugifyAndEncode } from "components/tab";
import ServicesGroup from "components/services/group"; import ServicesGroup from "components/services/group";
import BookmarksGroup from "components/bookmarks/group"; import BookmarksGroup from "components/bookmarks/group";
import Widget from "components/widgets/widget"; import Widget from "components/widgets/widget";
@ -258,13 +258,13 @@ function Home({ initialSettings }) {
useEffect(() => { useEffect(() => {
if (!activeTab) { if (!activeTab) {
const initialTab = decodeURI(asPath.substring(asPath.indexOf("#") + 1)); const initialTab = asPath.substring(asPath.indexOf("#") + 1);
setActiveTab(initialTab === "/" ? slugify(tabs["0"]) : initialTab); setActiveTab(initialTab === "/" ? slugifyAndEncode(tabs["0"]) : initialTab);
} }
}); });
const servicesAndBookmarksGroups = useMemo(() => { const servicesAndBookmarksGroups = useMemo(() => {
const tabGroupFilter = (g) => g && [activeTab, ""].includes(slugify(settings.layout?.[g.name]?.tab)); const tabGroupFilter = (g) => g && [activeTab, ""].includes(slugifyAndEncode(settings.layout?.[g.name]?.tab));
const undefinedGroupFilter = (g) => settings.layout?.[g.name] === undefined; const undefinedGroupFilter = (g) => settings.layout?.[g.name] === undefined;
const layoutGroups = Object.keys(settings.layout ?? {}) const layoutGroups = Object.keys(settings.layout ?? {})

@ -394,6 +394,7 @@ export function cleanServiceGroups(groups) {
enableNowPlaying, enableNowPlaying,
// glances // glances
version,
chart, chart,
metric, metric,
pointsLimit, pointsLimit,
@ -528,6 +529,7 @@ export function cleanServiceGroups(groups) {
if (snapshotPath) cleanedService.widget.snapshotPath = snapshotPath; if (snapshotPath) cleanedService.widget.snapshotPath = snapshotPath;
} }
if (type === "glances") { if (type === "glances") {
if (version) cleanedService.widget.version = version;
if (metric) cleanedService.widget.metric = metric; if (metric) cleanedService.widget.metric = metric;
if (chart !== undefined) { if (chart !== undefined) {
cleanedService.widget.chart = chart; cleanedService.widget.chart = chart;

@ -103,7 +103,7 @@ export async function httpProxy(url, params = {}) {
try { try {
const [status, contentType, data, responseHeaders] = await request; const [status, contentType, data, responseHeaders] = await request;
return [status, contentType, data, responseHeaders]; return [status, contentType, data, responseHeaders, params];
} catch (err) { } catch (err) {
logger.error( logger.error(
"Error calling %s//%s%s%s...", "Error calling %s//%s%s%s...",

@ -15,6 +15,7 @@ const components = {
channelsdvrserver: dynamic(() => import("./channelsdvrserver/component")), channelsdvrserver: dynamic(() => import("./channelsdvrserver/component")),
cloudflared: dynamic(() => import("./cloudflared/component")), cloudflared: dynamic(() => import("./cloudflared/component")),
coinmarketcap: dynamic(() => import("./coinmarketcap/component")), coinmarketcap: dynamic(() => import("./coinmarketcap/component")),
crowdsec: dynamic(() => import("./crowdsec/component")),
iframe: dynamic(() => import("./iframe/component")), iframe: dynamic(() => import("./iframe/component")),
customapi: dynamic(() => import("./customapi/component")), customapi: dynamic(() => import("./customapi/component")),
deluge: dynamic(() => import("./deluge/component")), deluge: dynamic(() => import("./deluge/component")),

@ -0,0 +1,34 @@
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: alerts, error: alertsError } = useWidgetAPI(widget, "alerts");
const { data: bans, error: bansError } = useWidgetAPI(widget, "bans");
if (alertsError || bansError) {
return <Container service={service} error={alertsError ?? bansError} />;
}
if (!alerts && !bans) {
return (
<Container service={service}>
<Block label="crowdsec.alerts" />
<Block label="crowdsec.bans" />
</Container>
);
}
return (
<Container service={service}>
<Block label="crowdsec.alerts" value={t("common.number", { value: alerts?.length ?? 0 })} />
<Block label="crowdsec.bans" value={t("common.number", { value: bans?.length ?? 0 })} />
</Container>
);
}

@ -0,0 +1,86 @@
import cache from "memory-cache";
import { httpProxy } from "utils/proxy/http";
import { formatApiCall } from "utils/proxy/api-helpers";
import getServiceWidget from "utils/config/service-helpers";
import createLogger from "utils/logger";
import widgets from "widgets/widgets";
const proxyName = "crowdsecProxyHandler";
const logger = createLogger(proxyName);
const sessionTokenCacheKey = `${proxyName}__sessionToken`;
async function login(widget, service) {
const url = formatApiCall(widgets[widget.type].loginURL, widget);
const [status, , data] = await httpProxy(url, {
method: "POST",
headers: {
"Content-Type": "application/json",
"User-Agent": "Mozilla/5.0", // Crowdsec requires a user-agent
},
body: JSON.stringify({
machine_id: widget.username,
password: widget.password,
scenarios: [],
}),
});
const dataParsed = JSON.parse(data);
if (!(status === 200) || !dataParsed.token) {
logger.error("Failed to login to Crowdsec API, status: %d", status);
cache.del(`${sessionTokenCacheKey}.${service}`);
}
cache.put(`${sessionTokenCacheKey}.${service}`, dataParsed.token, new Date(dataParsed.expire) - new Date());
}
export default async function crowdsecProxyHandler(req, res) {
const { group, service, endpoint } = req.query;
if (!group || !service) {
logger.error("Invalid or missing service '%s' or group '%s'", service, group);
return res.status(400).json({ error: "Invalid proxy service type" });
}
const widget = await getServiceWidget(group, service);
if (!widget || !widgets[widget.type].api) {
logger.error("Invalid or missing widget for service '%s' in group '%s'", service, group);
return res.status(400).json({ error: "Invalid widget configuration" });
}
if (!cache.get(`${sessionTokenCacheKey}.${service}`)) {
await login(widget, service);
}
const token = cache.get(`${sessionTokenCacheKey}.${service}`);
if (!token) {
return res.status(500).json({ error: "Failed to authenticate with Crowdsec" });
}
const url = new URL(formatApiCall(widgets[widget.type].api, { endpoint, ...widget }));
try {
const params = {
method: "GET",
headers: {
"User-Agent": "Mozilla/5.0", // Crowdsec requires a user-agent
"Content-Type": "application/json",
Authorization: `Bearer ${token}`,
},
};
logger.debug("Calling Crowdsec API endpoint: %s", endpoint);
const [status, , data] = await httpProxy(url, params);
if (status !== 200) {
logger.error("Error calling Crowdsec API: %d. Data: %s", status, data);
return res.status(status).json({ error: "Crowdsec API Error", data });
}
return res.status(status).send(data);
} catch (error) {
logger.error("Exception calling Crowdsec API: %s", error.message);
return res.status(500).json({ error: "Crowdsec API Error", message: error.message });
}
}

@ -0,0 +1,18 @@
import crowdsecProxyHandler from "./proxy";
const widget = {
api: "{url}/v1/{endpoint}",
loginURL: "{url}/v1/watchers/login",
proxyHandler: crowdsecProxyHandler,
mappings: {
alerts: {
endpoint: "alerts",
},
bans: {
endpoint: "alerts?decision_type=ban&origin=crowdsec&has_active_decision=1",
},
},
};
export default widget;

@ -16,15 +16,16 @@ const defaultInterval = 1000;
export default function Component({ service }) { export default function Component({ service }) {
const { t } = useTranslation(); const { t } = useTranslation();
const { widget } = service; const { widget } = service;
const { chart, refreshInterval = defaultInterval, pointsLimit = defaultPointsLimit } = widget; const { chart, refreshInterval = defaultInterval, pointsLimit = defaultPointsLimit, version = 3 } = widget;
const [dataPoints, setDataPoints] = useState(new Array(pointsLimit).fill({ value: 0 }, 0, pointsLimit)); const [dataPoints, setDataPoints] = useState(new Array(pointsLimit).fill({ value: 0 }, 0, pointsLimit));
const { data, error } = useWidgetAPI(service.widget, "cpu", { const { data, error } = useWidgetAPI(service.widget, "cpu", {
refreshInterval: Math.max(defaultInterval, refreshInterval), refreshInterval: Math.max(defaultInterval, refreshInterval),
version,
}); });
const { data: systemData, error: systemError } = useWidgetAPI(service.widget, "system"); const { data: quicklookData, error: quicklookError } = useWidgetAPI(service.widget, "quicklook", { version });
useEffect(() => { useEffect(() => {
if (data) { if (data) {
@ -71,22 +72,15 @@ export default function Component({ service }) {
/> />
)} )}
{!chart && systemData && !systemError && ( {!chart && quicklookData && !quicklookError && (
<Block position="top-3 right-3"> <Block position="top-3 right-3">
<div className="text-xs opacity-50"> <div className="text-[0.6rem] opacity-50">{quicklookData.cpu_name && quicklookData.cpu_name}</div>
{systemData.linux_distro && `${systemData.linux_distro} - `}
{systemData.os_version && systemData.os_version}
</div>
</Block> </Block>
)} )}
{systemData && !systemError && ( {quicklookData && !quicklookError && (
<Block position="bottom-3 left-3"> <Block position="bottom-3 left-3">
{systemData.linux_distro && chart && <div className="text-xs opacity-50">{systemData.linux_distro}</div>} {quicklookData.cpu_name && chart && <div className="text-xs opacity-50">{quicklookData.cpu_name}</div>}
{systemData.os_version && chart && <div className="text-xs opacity-50">{systemData.os_version}</div>}
{systemData.hostname && <div className="text-xs opacity-50">{systemData.hostname}</div>}
</Block> </Block>
)} )}

@ -16,7 +16,7 @@ const defaultInterval = 1000;
export default function Component({ service }) { export default function Component({ service }) {
const { t } = useTranslation(); const { t } = useTranslation();
const { widget } = service; const { widget } = service;
const { chart, refreshInterval = defaultInterval, pointsLimit = defaultPointsLimit } = widget; const { chart, refreshInterval = defaultInterval, pointsLimit = defaultPointsLimit, version = 3 } = widget;
const [, diskName] = widget.metric.split(":"); const [, diskName] = widget.metric.split(":");
const [dataPoints, setDataPoints] = useState( const [dataPoints, setDataPoints] = useState(
@ -26,6 +26,7 @@ export default function Component({ service }) {
const { data, error } = useWidgetAPI(service.widget, "diskio", { const { data, error } = useWidgetAPI(service.widget, "diskio", {
refreshInterval: Math.max(defaultInterval, refreshInterval), refreshInterval: Math.max(defaultInterval, refreshInterval),
version,
}); });
const calculateRates = (d) => const calculateRates = (d) =>

@ -11,12 +11,13 @@ const defaultInterval = 1000;
export default function Component({ service }) { export default function Component({ service }) {
const { t } = useTranslation(); const { t } = useTranslation();
const { widget } = service; const { widget } = service;
const { chart, refreshInterval = defaultInterval } = widget; const { chart, refreshInterval = defaultInterval, version = 3 } = widget;
const [, fsName] = widget.metric.split("fs:"); const [, fsName] = widget.metric.split("fs:");
const diskUnits = widget.diskUnits === "bbytes" ? "common.bbytes" : "common.bytes"; const diskUnits = widget.diskUnits === "bbytes" ? "common.bbytes" : "common.bytes";
const { data, error } = useWidgetAPI(widget, "fs", { const { data, error } = useWidgetAPI(widget, "fs", {
refreshInterval: Math.max(defaultInterval, refreshInterval), refreshInterval: Math.max(defaultInterval, refreshInterval),
version,
}); });
if (error) { if (error) {

@ -16,13 +16,14 @@ const defaultInterval = 1000;
export default function Component({ service }) { export default function Component({ service }) {
const { t } = useTranslation(); const { t } = useTranslation();
const { widget } = service; const { widget } = service;
const { chart, refreshInterval = defaultInterval, pointsLimit = defaultPointsLimit } = widget; const { chart, refreshInterval = defaultInterval, pointsLimit = defaultPointsLimit, version = 3 } = widget;
const [, gpuName] = widget.metric.split(":"); const [, gpuName] = widget.metric.split(":");
const [dataPoints, setDataPoints] = useState(new Array(pointsLimit).fill({ a: 0, b: 0 }, 0, pointsLimit)); const [dataPoints, setDataPoints] = useState(new Array(pointsLimit).fill({ a: 0, b: 0 }, 0, pointsLimit));
const { data, error } = useWidgetAPI(widget, "gpu", { const { data, error } = useWidgetAPI(widget, "gpu", {
refreshInterval: Math.max(defaultInterval, refreshInterval), refreshInterval: Math.max(defaultInterval, refreshInterval),
version,
}); });
useEffect(() => { useEffect(() => {

@ -74,14 +74,16 @@ const defaultSystemInterval = 30000; // This data (OS, hostname, distribution) i
export default function Component({ service }) { export default function Component({ service }) {
const { widget } = service; const { widget } = service;
const { chart, refreshInterval = defaultInterval } = widget; const { chart, refreshInterval = defaultInterval, version = 3 } = widget;
const { data: quicklookData, errorL: quicklookError } = useWidgetAPI(service.widget, "quicklook", { const { data: quicklookData, errorL: quicklookError } = useWidgetAPI(service.widget, "quicklook", {
refreshInterval, refreshInterval,
version,
}); });
const { data: systemData, errorL: systemError } = useWidgetAPI(service.widget, "system", { const { data: systemData, errorL: systemError } = useWidgetAPI(service.widget, "system", {
refreshInterval: defaultSystemInterval, refreshInterval: defaultSystemInterval,
version,
}); });
if (quicklookError) { if (quicklookError) {
@ -122,7 +124,10 @@ export default function Component({ service }) {
)} )}
{!chart && quicklookData?.swap === 0 && ( {!chart && quicklookData?.swap === 0 && (
<div className="text-[0.6rem] opacity-50">{quicklookData.cpu_name}</div> <div className="text-[0.6rem] opacity-50">
{systemData && systemData.linux_distro && `${systemData.linux_distro} - `}
{systemData && systemData.os_version}
</div>
)} )}
<div className="w-[4rem]">{!chart && <Swap quicklookData={quicklookData} className="opacity-25" />}</div> <div className="w-[4rem]">{!chart && <Swap quicklookData={quicklookData} className="opacity-25" />}</div>
@ -137,7 +142,7 @@ export default function Component({ service }) {
)} )}
{!chart && ( {!chart && (
<Block position="bottom-3 left-3 w-[3rem]"> <Block position="bottom-3 left-3 w-[4rem]">
<CPU quicklookData={quicklookData} className="opacity-75" /> <CPU quicklookData={quicklookData} className="opacity-75" />
</Block> </Block>
)} )}

@ -17,12 +17,13 @@ export default function Component({ service }) {
const { t } = useTranslation(); const { t } = useTranslation();
const { widget } = service; const { widget } = service;
const { chart } = widget; const { chart } = widget;
const { refreshInterval = defaultInterval(chart), pointsLimit = defaultPointsLimit } = widget; const { refreshInterval = defaultInterval(chart), pointsLimit = defaultPointsLimit, version = 3 } = widget;
const [dataPoints, setDataPoints] = useState(new Array(pointsLimit).fill({ value: 0 }, 0, pointsLimit)); const [dataPoints, setDataPoints] = useState(new Array(pointsLimit).fill({ value: 0 }, 0, pointsLimit));
const { data, error } = useWidgetAPI(service.widget, "mem", { const { data, error } = useWidgetAPI(service.widget, "mem", {
refreshInterval: Math.max(defaultInterval(chart), refreshInterval), refreshInterval: Math.max(defaultInterval(chart), refreshInterval),
version,
}); });
useEffect(() => { useEffect(() => {

@ -17,7 +17,10 @@ export default function Component({ service }) {
const { t } = useTranslation(); const { t } = useTranslation();
const { widget } = service; const { widget } = service;
const { chart, metric } = widget; const { chart, metric } = widget;
const { refreshInterval = defaultInterval(chart), pointsLimit = defaultPointsLimit } = widget; const { refreshInterval = defaultInterval(chart), pointsLimit = defaultPointsLimit, version = 3 } = widget;
const rxKey = version === 3 ? "rx" : "bytes_recv";
const txKey = version === 3 ? "tx" : "bytes_sent";
const [, interfaceName] = metric.split(":"); const [, interfaceName] = metric.split(":");
@ -25,6 +28,7 @@ export default function Component({ service }) {
const { data, error } = useWidgetAPI(widget, "network", { const { data, error } = useWidgetAPI(widget, "network", {
refreshInterval: Math.max(defaultInterval(chart), refreshInterval), refreshInterval: Math.max(defaultInterval(chart), refreshInterval),
version,
}); });
useEffect(() => { useEffect(() => {
@ -36,8 +40,8 @@ export default function Component({ service }) {
const newDataPoints = [ const newDataPoints = [
...prevDataPoints, ...prevDataPoints,
{ {
a: (interfaceData.rx * 8) / interfaceData.time_since_update, a: (interfaceData[rxKey] * 8) / interfaceData.time_since_update,
b: (interfaceData.tx * 8) / interfaceData.time_since_update, b: (interfaceData[txKey] * 8) / interfaceData.time_since_update,
}, },
]; ];
if (newDataPoints.length > pointsLimit) { if (newDataPoints.length > pointsLimit) {
@ -97,7 +101,7 @@ export default function Component({ service }) {
<div className="text-xs opacity-75"> <div className="text-xs opacity-75">
{t("common.bitrate", { {t("common.bitrate", {
value: (interfaceData.rx * 8) / interfaceData.time_since_update, value: (interfaceData[rxKey] * 8) / interfaceData.time_since_update,
maximumFractionDigits: 0, maximumFractionDigits: 0,
})}{" "} })}{" "}
{t("docker.rx")} {t("docker.rx")}
@ -115,7 +119,7 @@ export default function Component({ service }) {
<Block position="bottom-3 right-3"> <Block position="bottom-3 right-3">
<div className="text-xs opacity-75"> <div className="text-xs opacity-75">
{t("common.bitrate", { {t("common.bitrate", {
value: (interfaceData.tx * 8) / interfaceData.time_since_update, value: (interfaceData[txKey] * 8) / interfaceData.time_since_update,
maximumFractionDigits: 0, maximumFractionDigits: 0,
})}{" "} })}{" "}
{t("docker.tx")} {t("docker.tx")}

@ -22,10 +22,13 @@ const defaultInterval = 1000;
export default function Component({ service }) { export default function Component({ service }) {
const { t } = useTranslation(); const { t } = useTranslation();
const { widget } = service; const { widget } = service;
const { chart, refreshInterval = defaultInterval } = widget; const { chart, refreshInterval = defaultInterval, version = 3 } = widget;
const memoryInfoKey = version === 3 ? 0 : "data";
const { data, error } = useWidgetAPI(service.widget, "processlist", { const { data, error } = useWidgetAPI(service.widget, "processlist", {
refreshInterval: Math.max(defaultInterval, refreshInterval), refreshInterval: Math.max(defaultInterval, refreshInterval),
version,
}); });
if (error) { if (error) {
@ -66,7 +69,7 @@ export default function Component({ service }) {
<div className="opacity-25 w-14 text-right">{item.cpu_percent.toFixed(1)}%</div> <div className="opacity-25 w-14 text-right">{item.cpu_percent.toFixed(1)}%</div>
<div className="opacity-25 w-14 text-right"> <div className="opacity-25 w-14 text-right">
{t("common.bytes", { {t("common.bytes", {
value: item.memory_info[0], value: item.memory_info[memoryInfoKey],
maximumFractionDigits: 0, maximumFractionDigits: 0,
})} })}
</div> </div>

@ -16,13 +16,14 @@ const defaultInterval = 1000;
export default function Component({ service }) { export default function Component({ service }) {
const { t } = useTranslation(); const { t } = useTranslation();
const { widget } = service; const { widget } = service;
const { chart, refreshInterval = defaultInterval, pointsLimit = defaultPointsLimit } = widget; const { chart, refreshInterval = defaultInterval, pointsLimit = defaultPointsLimit, version = 3 } = widget;
const [, sensorName] = widget.metric.split(":"); const [, sensorName] = widget.metric.split(":");
const [dataPoints, setDataPoints] = useState(new Array(pointsLimit).fill({ value: 0 }, 0, pointsLimit)); const [dataPoints, setDataPoints] = useState(new Array(pointsLimit).fill({ value: 0 }, 0, pointsLimit));
const { data, error } = useWidgetAPI(service.widget, "sensors", { const { data, error } = useWidgetAPI(service.widget, "sensors", {
refreshInterval: Math.max(defaultInterval, refreshInterval), refreshInterval: Math.max(defaultInterval, refreshInterval),
version,
}); });
useEffect(() => { useEffect(() => {

@ -1,7 +1,7 @@
import credentialedProxyHandler from "utils/proxy/handlers/credentialed"; import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
const widget = { const widget = {
api: "{url}/api/3/{endpoint}", api: "{url}/api/{version}/{endpoint}",
proxyHandler: credentialedProxyHandler, proxyHandler: credentialedProxyHandler,
}; };

@ -0,0 +1,68 @@
import { httpProxy } from "utils/proxy/http";
import { formatApiCall } from "utils/proxy/api-helpers";
import getServiceWidget from "utils/config/service-helpers";
import createLogger from "utils/logger";
import widgets from "widgets/widgets";
const logger = createLogger("jackettProxyHandler");
async function fetchJackettCookie(widget, loginURL) {
const url = new URL(formatApiCall(loginURL, widget));
const loginData = `password=${encodeURIComponent(widget.password)}`;
const [status, , , , params] = await httpProxy(url, {
method: "POST",
headers: {
"Content-Type": "application/x-www-form-urlencoded",
},
body: loginData,
});
if (!(status === 200) || !params?.headers?.Cookie) {
logger.error("Failed to fetch Jackett cookie, status: %d", status);
return null;
}
return params.headers.Cookie;
}
export default async function jackettProxyHandler(req, res) {
const { group, service, endpoint } = req.query;
if (!group || !service) {
logger.error("Invalid or missing service '%s' or group '%s'", service, group);
return res.status(400).json({ error: "Invalid proxy service type" });
}
const widget = await getServiceWidget(group, service);
if (!widget || !widgets[widget.type].api) {
logger.error("Invalid or missing widget for service '%s' in group '%s'", service, group);
return res.status(400).json({ error: "Invalid widget configuration" });
}
if (widget.password) {
const jackettCookie = await fetchJackettCookie(widget, widgets[widget.type].loginURL);
if (!jackettCookie) {
return res.status(500).json({ error: "Failed to authenticate with Jackett" });
}
// Add the cookie to the widget for use in subsequent requests
widget.headers = { ...widget.headers, Cookie: jackettCookie };
}
const url = new URL(formatApiCall(widgets[widget.type].api, { endpoint, ...widget }));
try {
const [status, , data] = await httpProxy(url, {
method: "GET",
headers: widget.headers,
});
if (status !== 200) {
logger.error("Error calling Jackett API: %d. Data: %s", status, data);
return res.status(status).json({ error: "Failed to call Jackett API", data });
}
return res.status(status).send(data);
} catch (error) {
logger.error("Exception calling Jackett API: %s", error.message);
return res.status(500).json({ error: "Server error", message: error.message });
}
}

@ -1,8 +1,9 @@
import genericProxyHandler from "utils/proxy/handlers/generic"; import jackettProxyHandler from "./proxy";
const widget = { const widget = {
api: "{url}/api/v2.0/{endpoint}?apikey={key}&configured=true", api: "{url}/api/v2.0/{endpoint}?apikey={key}&configured=true",
proxyHandler: genericProxyHandler, proxyHandler: jackettProxyHandler,
loginURL: "{url}/UI/Dashboard",
mappings: { mappings: {
indexers: { indexers: {

@ -12,6 +12,7 @@ import changedetectionio from "./changedetectionio/widget";
import channelsdvrserver from "./channelsdvrserver/widget"; import channelsdvrserver from "./channelsdvrserver/widget";
import cloudflared from "./cloudflared/widget"; import cloudflared from "./cloudflared/widget";
import coinmarketcap from "./coinmarketcap/widget"; import coinmarketcap from "./coinmarketcap/widget";
import crowdsec from "./crowdsec/widget";
import customapi from "./customapi/widget"; import customapi from "./customapi/widget";
import deluge from "./deluge/widget"; import deluge from "./deluge/widget";
import diskstation from "./diskstation/widget"; import diskstation from "./diskstation/widget";
@ -125,6 +126,7 @@ const widgets = {
channelsdvrserver, channelsdvrserver,
cloudflared, cloudflared,
coinmarketcap, coinmarketcap,
crowdsec,
customapi, customapi,
deluge, deluge,
diskstation, diskstation,

Loading…
Cancel
Save