Merge main

This commit is contained in:
Jason Fischer 2023-01-29 17:07:40 -08:00
commit 893b3f0986
No known key found for this signature in database
53 changed files with 1068 additions and 383 deletions

View File

@ -7,12 +7,10 @@ WORKDIR /app
COPY --link package.json pnpm-lock.yaml* ./ COPY --link package.json pnpm-lock.yaml* ./
RUN <<EOF SHELL ["/bin/ash", "-xeo", "pipefail", "-c"]
set -xe RUN apk add --no-cache libc6-compat \
apk add libc6-compat && apk add --no-cache --virtual .gyp python3 make g++ \
apk add --virtual .gyp python3 make g++ && npm install -g pnpm
npm install -g pnpm
EOF
RUN --mount=type=cache,id=pnpm-store,target=/root/.local/share/pnpm/store pnpm fetch | grep -v "cross-device link not permitted\|Falling back to copying packages from store" RUN --mount=type=cache,id=pnpm-store,target=/root/.local/share/pnpm/store pnpm fetch | grep -v "cross-device link not permitted\|Falling back to copying packages from store"
@ -29,12 +27,10 @@ ARG REVISION
COPY --link --from=deps /app/node_modules ./node_modules/ COPY --link --from=deps /app/node_modules ./node_modules/
COPY . . COPY . .
RUN <<EOF SHELL ["/bin/ash", "-xeo", "pipefail", "-c"]
set -xe RUN npm run telemetry \
npm run telemetry && mkdir config && echo '---' > config/settings.yaml \
mkdir config && echo '-' > config/settings.yaml && NEXT_PUBLIC_BUILDTIME=$BUILDTIME NEXT_PUBLIC_VERSION=$VERSION NEXT_PUBLIC_REVISION=$REVISION npm run build
NEXT_PUBLIC_BUILDTIME=$BUILDTIME NEXT_PUBLIC_VERSION=$VERSION NEXT_PUBLIC_REVISION=$REVISION npm run build
EOF
# Production image, copy all the files and run next # Production image, copy all the files and run next
FROM docker.io/node:18-alpine AS runner FROM docker.io/node:18-alpine AS runner
@ -50,12 +46,15 @@ ENV NODE_ENV production
WORKDIR /app WORKDIR /app
# Copy files from context (this allows the files to copy before the builder stage is done). # Copy files from context (this allows the files to copy before the builder stage is done).
COPY --link package.json next.config.js ./ COPY --link --chown=1000:1000 package.json next.config.js ./
COPY --link /public ./public COPY --link --chown=1000:1000 /public ./public/
# Copy files from builder # Copy files from builder
COPY --link --from=builder /app/.next/standalone ./ COPY --link --from=builder --chown=1000:1000 /app/.next/standalone ./
COPY --link --from=builder /app/.next/static/ ./.next/static/ COPY --link --from=builder --chown=1000:1000 /app/.next/static/ ./.next/static/
COPY --link --chmod=755 docker-entrypoint.sh /usr/local/bin/
RUN apk add --no-cache su-exec
ENV PORT 3000 ENV PORT 3000
EXPOSE $PORT EXPOSE $PORT
@ -63,4 +62,5 @@ EXPOSE $PORT
HEALTHCHECK --interval=10s --timeout=3s --start-period=20s \ HEALTHCHECK --interval=10s --timeout=3s --start-period=20s \
CMD wget --no-verbose --tries=1 --spider --no-check-certificate http://localhost:$PORT/api/healthcheck || exit 1 CMD wget --no-verbose --tries=1 --spider --no-check-certificate http://localhost:$PORT/api/healthcheck || exit 1
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["node", "server.js"] CMD ["node", "server.js"]

View File

@ -2,8 +2,22 @@
set -e set -e
# Default to root, so old installations won't break
export PUID=${PUID:-0}
export PGID=${PGID:-0}
# This is in attempt to preserve the original behavior of the Dockerfile, # This is in attempt to preserve the original behavior of the Dockerfile,
# while also supporting the lscr.io /config directory # while also supporting the lscr.io /config directory
[ ! -d "/app/config" ] && ln -s /config /app/config [ ! -d "/app/config" ] && ln -s /config /app/config
node server.js # Set privileges for /app but only if pid 1 user is root and we are dropping privileges.
# If container is run as an unprivileged user, it means owner already handled ownership setup on their own.
# Running chown in that case (as non-root) will cause error
[ "$(id -u)" == "0" ] && [ "${PUID}" != "0" ] && chown -R ${PUID}:${PGID} /app
# Drop privileges (when asked to) if root, otherwise run as current user
if [ "$(id -u)" == "0" ] && [ "${PUID}" != "0" ]; then
su-exec ${PUID}:${PGID} "$@"
else
exec "$@"
fi

View File

@ -3,16 +3,16 @@
"missing_type": "نوع القطعة مفقود: {{type}}", "missing_type": "نوع القطعة مفقود: {{type}}",
"api_error": "API خطأ", "api_error": "API خطأ",
"status": "الحالة", "status": "الحالة",
"information": "Information", "information": "معلومات",
"url": "URL", "url": "URL",
"raw_error": "Raw Error", "raw_error": "Raw Error",
"response_data": "Response Data" "response_data": "بيانات الاستجابة"
}, },
"weather": { "weather": {
"current": "الموقع الحالي", "current": "الموقع الحالي",
"allow": "اضغط للسماح", "allow": "أنقر للسماح",
"updating": "جاري التحديث", "updating": "جاري التحديث",
"wait": "الرجاء الانتظار" "wait": "الرجاء الإنتظار"
}, },
"search": { "search": {
"placeholder": "بحث …" "placeholder": "بحث …"
@ -27,88 +27,88 @@
"unifi": { "unifi": {
"users": "المستخدمون", "users": "المستخدمون",
"uptime": "مدة تشغيل النظام", "uptime": "مدة تشغيل النظام",
"days": "ايام", "days": "أيام",
"wan": "WAN", "wan": "WAN",
"lan": "LAN", "lan": "LAN",
"wlan": "WLAN", "wlan": "WLAN",
"devices": "الاجهزة", "devices": "الأجهزة",
"lan_devices": "LAN اجهزة", "lan_devices": "LAN أجهزة",
"wlan_devices": "WLAN احهزة", "wlan_devices": "WLAN أجهزة",
"lan_users": "LAN مستخدمين", "lan_users": "LAN مستخدمين",
"wlan_users": "WLAN مستخدمين", "wlan_users": "WLAN مستخدمين",
"up": "اعلي", "up": "يعمل",
"down": "اسفل", "down": "لا يعمل",
"wait": "الرجاء الانتظار" "wait": "الرجاء الإنتظار"
}, },
"wmo": { "wmo": {
"73-day": "Snow", "73-day": "ثلج",
"0-day": "Sunny", "0-day": "مشمس",
"0-night": "Clear", "0-night": "صافي",
"1-day": "Mainly Sunny", "1-day": "مشمس غالباً",
"1-night": "Mainly Clear", "1-night": "صافي غالباً",
"2-day": "Partly Cloudy", "2-day": "غائم جزئياً",
"2-night": "Partly Cloudy", "2-night": "غائم جزئياً",
"3-day": "Cloudy", "3-day": "غائم",
"3-night": "Cloudy", "3-night": "غائم",
"45-day": "Foggy", "45-day": "ضبابي",
"45-night": "Foggy", "45-night": "ضبابي",
"48-day": "Foggy", "48-day": "ضبابي",
"48-night": "Foggy", "48-night": "ضبابي",
"51-day": "Light Drizzle", "51-day": "رذاذ خفيف",
"51-night": "Light Drizzle", "51-night": "رذاذ خفيف",
"53-day": "Drizzle", "53-day": "رذاذ",
"53-night": "Drizzle", "53-night": "رذاذ",
"55-day": "Heavy Drizzle", "55-day": "رذاذ كثيف",
"55-night": "Heavy Drizzle", "55-night": "رذاذ كثيف",
"56-day": "Light Freezing Drizzle", "56-day": "رذاذ متجمد خفيف",
"56-night": "Light Freezing Drizzle", "56-night": "رذاذ متجمد خفيف",
"57-day": "Freezing Drizzle", "57-day": "رذاذ متجمد",
"57-night": "Freezing Drizzle", "57-night": "رذاذ متجمد",
"61-day": "Light Rain", "61-day": "مطر خفيف",
"61-night": "Light Rain", "61-night": "مطر خفيف",
"63-day": "Rain", "63-day": "مطر",
"63-night": "Rain", "63-night": "مطر",
"65-day": "Heavy Rain", "65-day": "مطر شديد",
"65-night": "Heavy Rain", "65-night": "مطر شديد",
"66-day": "Freezing Rain", "66-day": "مطر متجمد",
"66-night": "Freezing Rain", "66-night": "مطر متجمد",
"67-day": "Freezing Rain", "67-day": "مطر متجمد",
"67-night": "Freezing Rain", "67-night": "مطر متجمد",
"71-day": "Light Snow", "71-day": "ثلج خفيف",
"71-night": "Light Snow", "71-night": "ثلج خفيف",
"73-night": "Snow", "73-night": "ثلج",
"75-day": "Heavy Snow", "75-day": "ثلج شديد",
"75-night": "Heavy Snow", "75-night": "ثلج شديد",
"77-day": "Snow Grains", "77-day": "حبيبات الثلج",
"77-night": "Snow Grains", "77-night": "حبيبات الثلج",
"80-day": "Light Showers", "80-day": "أمطار خفيفة",
"80-night": "Light Showers", "80-night": "أمطار خفيفة",
"81-day": "Showers", "81-day": "أمطار",
"81-night": "Showers", "81-night": "أمطار",
"82-day": "Heavy Showers", "82-day": "أمطار شديدة",
"82-night": "Heavy Showers", "82-night": "أمطار شديدة",
"85-day": "Snow Showers", "85-day": "زخات الثلوج",
"85-night": "Snow Showers", "85-night": "زخات الثلوج",
"86-day": "Snow Showers", "86-day": "زخات الثلوج",
"86-night": "Snow Showers", "86-night": "زخات الثلوج",
"95-day": "Thunderstorm", "95-day": "عاصفة رعدية",
"95-night": "Thunderstorm", "95-night": "‬عاصفة رعدية",
"96-day": "Thunderstorm With Hail", "96-day": "عاصفة رعدية مع مطر",
"96-night": "Thunderstorm With Hail", "96-night": "عاصفة رعدية مع مطر",
"99-day": "Thunderstorm With Hail", "99-day": "عاصفة رعدية مع مطر",
"99-night": "Thunderstorm With Hail" "99-night": "عاصفة رعدية مع مطر"
}, },
"docker": { "docker": {
"rx": "RX", "rx": "RX",
"tx": "TX", "tx": "TX",
"mem": "الرام", "mem": "الذاكرة",
"cpu": "المعالج", "cpu": "المعالج",
"offline": "غير متصل", "offline": "غير متصل",
"error": "Error", "error": "خطأ",
"unknown": "Unknown" "unknown": "مجهول"
}, },
"emby": { "emby": {
"playing": "يعمل الان", "playing": "يعمل الآن",
"transcoding": "التحويل", "transcoding": "التحويل",
"bitrate": "معدل البت", "bitrate": "معدل البت",
"no_active": "No Active Streams" "no_active": "No Active Streams"
@ -118,310 +118,323 @@
"diffsDetected": "Diffs Detected" "diffsDetected": "Diffs Detected"
}, },
"tautulli": { "tautulli": {
"playing": "Playing", "playing": "يشتغل",
"transcoding": "Transcoding", "transcoding": "التحويل",
"bitrate": "Bitrate", "bitrate": "معدل البت",
"no_active": "No Active Streams" "no_active": "No Active Streams"
}, },
"nzbget": { "nzbget": {
"rate": "Rate", "rate": "معدل",
"remaining": "Remaining", "remaining": "متبقي",
"downloaded": "Downloaded" "downloaded": "مُنزل"
}, },
"plex": { "plex": {
"streams": "Active Streams", "streams": "Active Streams",
"movies": "Movies", "movies": "أفلام",
"tv": "TV Shows" "tv": "مسلسلات"
}, },
"sabnzbd": { "sabnzbd": {
"rate": "Rate", "rate": "معدل",
"queue": "Queue", "queue": "إنتظار",
"timeleft": "Time Left" "timeleft": "الوقت المتبقي"
}, },
"rutorrent": { "rutorrent": {
"active": "Active", "active": "نشط",
"upload": "Upload", "upload": "تحميل",
"download": "Download" "download": "تنزيل"
}, },
"transmission": { "transmission": {
"download": "Download", "download": "تنزيل",
"upload": "Upload", "upload": "تحميل",
"leech": "Leech", "leech": "Leech",
"seed": "Seed" "seed": "Seed"
}, },
"qbittorrent": { "qbittorrent": {
"download": "Download", "download": "تنزيل",
"upload": "Upload", "upload": "تحميل",
"leech": "Leech", "leech": "Leech",
"seed": "Seed" "seed": "Seed"
}, },
"sonarr": { "sonarr": {
"wanted": "Wanted", "wanted": "مطلوب",
"queued": "Queued", "queued": "في الإنتظار",
"series": "Series" "series": "سلسلة"
}, },
"radarr": { "radarr": {
"wanted": "Wanted", "wanted": "مطلوب",
"missing": "Missing", "missing": "مفقود",
"queued": "Queued", "queued": "في الإنتظار",
"movies": "Movies" "movies": "أفلام"
}, },
"lidarr": { "lidarr": {
"wanted": "Wanted", "wanted": "مطلوب",
"queued": "Queued", "queued": "في الإنتظار",
"albums": "Albums" "albums": "ألبومات"
}, },
"readarr": { "readarr": {
"wanted": "Wanted", "wanted": "مطلوب",
"queued": "Queued", "queued": "في الإنتظار",
"books": "Books" "books": "كتب"
}, },
"bazarr": { "bazarr": {
"missingEpisodes": "Missing Episodes", "missingEpisodes": "حلقات مفقودة",
"missingMovies": "Missing Movies" "missingMovies": "أفلام مفقودة"
}, },
"ombi": { "ombi": {
"pending": "Pending", "pending": "معلق",
"approved": "Approved", "approved": "مصدق",
"available": "Available" "available": "متاح"
}, },
"jellyseerr": { "jellyseerr": {
"pending": "Pending", "pending": "معلق",
"approved": "Approved", "approved": "مصدق",
"available": "Available" "available": "متاح"
}, },
"overseerr": { "overseerr": {
"pending": "Pending", "pending": "معلق",
"approved": "Approved", "approved": "مصدق",
"available": "Available", "available": "متاح",
"processing": "Processing" "processing": "معالجة"
}, },
"pihole": { "pihole": {
"queries": "Queries", "queries": "الاستعلامات",
"blocked": "Blocked", "blocked": "محظور",
"gravity": "Gravity" "gravity": "الجاذبية"
}, },
"adguard": { "adguard": {
"queries": "Queries", "queries": "الاستعلامات",
"blocked": "Blocked", "blocked": "محظور",
"filtered": "Filtered", "filtered": "مرشح",
"latency": "Latency" "latency": "الإستجابة"
}, },
"speedtest": { "speedtest": {
"upload": "Upload", "upload": "التحميل",
"download": "Download", "download": "تنزيل",
"ping": "Ping" "ping": "Ping"
}, },
"portainer": { "portainer": {
"running": "Running", "running": "يعمل",
"stopped": "Stopped", "stopped": "متوقف",
"total": "Total" "total": "مجموع"
}, },
"traefik": { "traefik": {
"routers": "Routers", "routers": "راوتر",
"services": "Services", "services": "خدمات",
"middleware": "Middleware" "middleware": "الوسيطة"
}, },
"npm": { "npm": {
"enabled": "Enabled", "enabled": "مفعل",
"disabled": "Disabled", "disabled": "معطل",
"total": "Total" "total": "مجموع"
}, },
"coinmarketcap": { "coinmarketcap": {
"configure": "Configure one or more crypto currencies to track", "configure": "قم بأنشاء عملة تشفير واحدة أو أكثر للتتبع",
"1hour": "1 Hour", "1hour": "١ ساعة",
"1day": "1 Day", "1day": "١ يوم",
"7days": "7 Days", "7days": "٧ أيام",
"30days": "30 Days" "30days": "٣٠ يوم"
}, },
"gotify": { "gotify": {
"apps": "Applications", "apps": "التطبيقات",
"clients": "Clients", "clients": "العملاء",
"messages": "Messages" "messages": "الرسائل"
}, },
"prowlarr": { "prowlarr": {
"enableIndexers": "Indexers", "enableIndexers": "مفهرسات",
"numberOfGrabs": "Grabs", "numberOfGrabs": "Grabs",
"numberOfQueries": "Queries", "numberOfQueries": "الاستعلامات",
"numberOfFailGrabs": "Fail Grabs", "numberOfFailGrabs": "Fail Grabs",
"numberOfFailQueries": "Fail Queries" "numberOfFailQueries": "فشل الاستعلامات"
}, },
"jackett": { "jackett": {
"configured": "Configured", "configured": "Configured",
"errored": "Errored" "errored": "خطأ"
}, },
"strelaysrv": { "strelaysrv": {
"numActiveSessions": "Sessions", "numActiveSessions": "الجلسات",
"numConnections": "Connections", "numConnections": "التوصيلات",
"dataRelayed": "Relayed", "dataRelayed": "Relayed",
"transferRate": "Rate" "transferRate": "معدل"
}, },
"mastodon": { "mastodon": {
"user_count": "Users", "user_count": "المستخدمين",
"status_count": "Posts", "status_count": "Posts",
"domain_count": "Domains" "domain_count": "Domains"
}, },
"authentik": { "authentik": {
"users": "Users", "users": "المستخدمين",
"loginsLast24H": "Logins (24h)", "loginsLast24H": "تسجيلات الدخول (٢٤س)",
"failedLoginsLast24H": "Failed Logins (24h)" "failedLoginsLast24H": "فشل تسجيلات الدخول (٢٤س)"
}, },
"proxmox": { "proxmox": {
"mem": "MEM", "mem": "الذاكرة",
"cpu": "CPU", "cpu": "المعالج",
"lxc": "LXC", "lxc": "LXC",
"vms": "VMs" "vms": "VMs"
}, },
"glances": { "glances": {
"cpu": "CPU", "cpu": "معالج",
"mem": "MEM", "mem": "الذاكرة",
"wait": "Please wait" "wait": "الرجاء الإنتظار"
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Bookmark", "bookmark": "مفضلة",
"service": "Service" "service": "خدمة"
}, },
"homebridge": { "homebridge": {
"available_update": "System", "available_update": "نظام",
"updates": "Updates", "updates": "تحديثات",
"update_available": "Update Available", "update_available": "تحديث متاح",
"up_to_date": "Up to Date", "up_to_date": "حتى الآن",
"child_bridges": "Child Bridges", "child_bridges": "Child Bridges",
"child_bridges_status": "{{ok}}/{{total}}" "child_bridges_status": "{{ok}}/{{total}}"
}, },
"watchtower": { "watchtower": {
"containers_scanned": "Scanned", "containers_scanned": "Scanned",
"containers_updated": "Updated", "containers_updated": "محدث",
"containers_failed": "Failed" "containers_failed": "فشل"
}, },
"autobrr": { "autobrr": {
"approvedPushes": "Approved", "approvedPushes": "مصدق",
"rejectedPushes": "Rejected", "rejectedPushes": "مرفوض",
"filters": "Filters", "filters": "المرشحات",
"indexers": "Indexers" "indexers": "مفهرسات"
}, },
"tubearchivist": { "tubearchivist": {
"downloads": "Queue", "downloads": "إنتظار",
"videos": "Videos", "videos": "الفيديوهات",
"channels": "Channels", "channels": "القنوات",
"playlists": "Playlists" "playlists": "قوائم التشغيل"
}, },
"truenas": { "truenas": {
"load": "System Load", "load": "حمل النظام",
"uptime": "Uptime", "uptime": "مدة التشغيل",
"alerts": "Alerts", "alerts": "تنبيهات",
"time": "{{value, number(style: unit; unitDisplay: long;)}}" "time": "{{value, number(style: unit; unitDisplay: long;)}}"
}, },
"navidrome": { "navidrome": {
"nothing_streaming": "No Active Streams", "nothing_streaming": "No Active Streams",
"please_wait": "Please Wait" "please_wait": "الرجاء الإنتظار"
}, },
"pyload": { "pyload": {
"speed": "Speed", "speed": "السرعة",
"active": "Active", "active": "نشط",
"queue": "Queue", "queue": "إنتظار",
"total": "Total" "total": "مجموع"
}, },
"gluetun": { "gluetun": {
"public_ip": "Public IP", "public_ip": "العام IP",
"region": "Region", "region": "منطقة",
"country": "Country" "country": "الدولة"
}, },
"hdhomerun": { "hdhomerun": {
"channels": "Channels", "channels": "قنوات",
"hd": "HD" "hd": "HD"
}, },
"ping": { "ping": {
"error": "Error", "error": "خطأ",
"ping": "Ping" "ping": "Ping"
}, },
"scrutiny": { "scrutiny": {
"passed": "Passed", "passed": "إجتاز",
"failed": "Failed", "failed": "فشل",
"unknown": "Unknown" "unknown": "مجهول"
}, },
"paperlessngx": { "paperlessngx": {
"inbox": "Inbox", "inbox": "صندوق الوارد",
"total": "Total" "total": "المجموع"
}, },
"deluge": { "deluge": {
"download": "Download", "download": "تنزيل",
"upload": "Upload", "upload": "تحميل",
"leech": "Leech", "leech": "Leech",
"seed": "Seed" "seed": "Seed"
}, },
"flood": { "flood": {
"download": "Download", "download": "التنزيل",
"upload": "Upload", "upload": "التحميل",
"leech": "Leech", "leech": "Leech",
"seed": "Seed" "seed": "Seed"
}, },
"tdarr": { "tdarr": {
"queue": "Queue", "queue": "إنتظار",
"processed": "Processed", "processed": "معالجة",
"errored": "Errored", "errored": "خطأ",
"saved": "Saved" "saved": "حفظ"
}, },
"miniflux": { "miniflux": {
"read": "Read", "read": "قراءة",
"unread": "Unread" "unread": "غير مقروء"
}, },
"nextdns": { "nextdns": {
"wait": "Please Wait", "wait": "الرجاء الإنتظار",
"no_devices": "No Device Data Received" "no_devices": "لم يتم استلام بيانات الجهاز"
}, },
"common": { "common": {
"bibyterate": "{{value, rate(bits: false; binary: true)}}", "bibyterate": "{{value, rate(bits: false; binary: true)}}",
"bibitrate": "{{value, rate(bits: true; binary: true)}}" "bibitrate": "{{value, rate(bits: true; binary: true)}}"
}, },
"omada": { "omada": {
"connectedAp": "Connected APs", "connectedAp": "المتصلة APs",
"activeUser": "Active devices", "activeUser": "الأجهزة النشطة",
"alerts": "Alerts", "alerts": "تنبيهات",
"connectedGateway": "Connected gateways", "connectedGateway": "Connected gateways",
"connectedSwitches": "Connected switches" "connectedSwitches": "Connected switches"
}, },
"downloadstation": { "downloadstation": {
"download": "Download", "download": "تنزيل",
"upload": "Upload", "upload": "تحميل",
"leech": "Leech", "leech": "Leech",
"seed": "Seed" "seed": "Seed"
}, },
"mikrotik": { "mikrotik": {
"cpuLoad": "CPU Load", "cpuLoad": "حمل المعالج",
"memoryUsed": "Memory Used", "memoryUsed": "الذاكرة الستخدمة",
"uptime": "Uptime", "uptime": "مدة التشغيل",
"numberOfLeases": "Leases" "numberOfLeases": "Leases"
}, },
"xteve": { "xteve": {
"streams_all": "All Streams", "streams_all": "All Streams",
"streams_active": "Active Streams", "streams_active": "Active Streams",
"streams_xepg": "XEPG Channels" "streams_xepg": "XEPG قنوات"
}, },
"opnsense": { "opnsense": {
"cpu": "CPU Load", "cpu": "حمل المعالج",
"memory": "Active Memory", "memory": "الذاكرة النشطة",
"wanUpload": "WAN Upload", "wanUpload": "WAN التحميل",
"wanDownload": "WAN Download" "wanDownload": "WAN التنزيل"
}, },
"moonraker": { "moonraker": {
"printer_state": "Printer State", "printer_state": "حالة الطابعة",
"print_status": "Print Status", "print_status": "حالة الطابعة",
"print_progress": "Progress", "print_progress": "تقدم",
"layers": "Layers" "layers": "طبقات"
}, },
"medusa": { "medusa": {
"wanted": "Wanted", "wanted": "مطلوب",
"queued": "Queued", "queued": "في الإنتظار",
"series": "Series" "series": "سلسلة"
},
"octoPrint": {
"job_completion": "Completion"
}, },
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "حالة",
"temp_tool": "Tool temp", "temp_tool": "أداة درجة الحرارة",
"temp_bed": "Bed temp", "temp_bed": "درجة حرارة السرير",
"job_completion": "Completion" "job_completion": "إتمام"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "حالة"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "Queued", "queued": "Queued",
"series": "Series" "series": "Series"
}, },
"octoPrint": {
"job_completion": "Completion"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -184,7 +184,7 @@
"failedLoginsLast24H": "Errors d'inici de sessió (24h)" "failedLoginsLast24H": "Errors d'inici de sessió (24h)"
}, },
"proxmox": { "proxmox": {
"vms": "Màquines Virtuals", "vms": "VMs",
"mem": "Memòria", "mem": "Memòria",
"cpu": "Processador", "cpu": "Processador",
"lxc": "LXC" "lxc": "LXC"
@ -415,13 +415,26 @@
"queued": "Queued", "queued": "Queued",
"series": "Series" "series": "Series"
}, },
"octoPrint": {
"job_completion": "Completion"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "Queued", "queued": "Queued",
"series": "Series" "series": "Series"
}, },
"octoPrint": {
"job_completion": "Completion"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "Queued", "queued": "Queued",
"series": "Series" "series": "Series"
}, },
"octoPrint": {
"job_completion": "Completion"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "Queued", "queued": "Queued",
"series": "Series" "series": "Series"
}, },
"octoPrint": {
"job_completion": "Completion"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"cpu_usage": "CPU",
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -431,6 +431,22 @@
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
}, },
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
},
"diskstation": { "diskstation": {
"days": "Days", "days": "Days",
"uptime": "Uptime", "uptime": "Uptime",

View File

@ -415,13 +415,26 @@
"queued": "Queued", "queued": "Queued",
"series": "Series" "series": "Series"
}, },
"octoPrint": {
"job_completion": "Completion"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "A la espera", "queued": "A la espera",
"series": "Serie" "series": "Serie"
}, },
"octoPrint": {
"job_completion": "Conclusión"
},
"octoprint": { "octoprint": {
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "IP de origen",
"status": "Estado"
},
"proxmoxbackupserver": {
"cpu_usage": "CPU",
"datastore_usage": "Almacén de datos",
"failed_tasks_24h": "Tareas fallidas en 24h",
"memory_usage": "Memoria"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -194,7 +194,7 @@
"uptime": "System Uptime", "uptime": "System Uptime",
"lan_users": "LAN Users", "lan_users": "LAN Users",
"wlan_users": "WLAN Users", "wlan_users": "WLAN Users",
"wait": "Please wait", "wait": "Odota, ole hyvä",
"days": "Days", "days": "Days",
"wan": "WAN", "wan": "WAN",
"up": "UP", "up": "UP",
@ -314,7 +314,7 @@
}, },
"navidrome": { "navidrome": {
"nothing_streaming": "No Active Streams", "nothing_streaming": "No Active Streams",
"please_wait": "Please Wait" "please_wait": "Odota, ole hyvä"
}, },
"pyload": { "pyload": {
"speed": "Speed", "speed": "Speed",
@ -411,17 +411,30 @@
"layers": "Layers" "layers": "Layers"
}, },
"medusa": { "medusa": {
"wanted": "Wanted", "wanted": "Haluttu",
"queued": "Queued", "queued": "Jonossa",
"series": "Series" "series": "Sarja"
},
"octoPrint": {
"job_completion": "Completion"
}, },
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "En attente", "queued": "En attente",
"series": "Séries" "series": "Séries"
}, },
"octoPrint": {
"job_completion": "Achèvement"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Achèvement"
},
"cloudflared": {
"origin_ip": "IP Publique",
"status": "Statut"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Tâches échouées 24h",
"cpu_usage": "CPU",
"memory_usage": "Mémoire"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "Queued", "queued": "Queued",
"series": "Series" "series": "Series"
}, },
"octoPrint": {
"job_completion": "Completion"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "Queued", "queued": "Queued",
"series": "Series" "series": "Series"
}, },
"octoPrint": {
"job_completion": "Completion"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "Queued", "queued": "Queued",
"series": "Series" "series": "Series"
}, },
"octoPrint": {
"job_completion": "Completion"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "Queued", "queued": "Queued",
"series": "Series" "series": "Series"
}, },
"octoPrint": {
"job_completion": "Completion"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "Queued", "queued": "Queued",
"series": "Series" "series": "Series"
}, },
"octoPrint": {
"job_completion": "Completion"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "Queued", "queued": "Queued",
"series": "Series" "series": "Series"
}, },
"octoPrint": {
"job_completion": "Completion"
},
"octoprint": { "octoprint": {
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"print_progress": "Progress", "print_progress": "Progress",
"layers": "Layers" "layers": "Layers"
}, },
"octoPrint": {
"job_completion": "Completion"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "Queued", "queued": "Queued",
"series": "Series" "series": "Series"
}, },
"octoPrint": {
"job_completion": "Completion"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "Queued", "queued": "Queued",
"series": "Series" "series": "Series"
}, },
"octoPrint": {
"job_completion": "Completion"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "Queued", "queued": "Queued",
"series": "Series" "series": "Series"
}, },
"octoPrint": {
"job_completion": "Completion"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "Zakolejkowane", "queued": "Zakolejkowane",
"series": "Seria" "series": "Seria"
}, },
"octoPrint": {
"job_completion": "Ukończenie"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "Queued", "queued": "Queued",
"series": "Series" "series": "Series"
}, },
"octoPrint": {
"job_completion": "Completion"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -424,13 +424,26 @@
"queued": "Queued", "queued": "Queued",
"series": "Series" "series": "Series"
}, },
"octoPrint": {
"job_completion": "Completion"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "Queued", "queued": "Queued",
"series": "Series" "series": "Series"
}, },
"octoPrint": {
"job_completion": "Completion"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "Queued", "queued": "Queued",
"series": "Series" "series": "Series"
}, },
"octoPrint": {
"job_completion": "Completion"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "Queued", "queued": "Queued",
"series": "Series" "series": "Series"
}, },
"octoPrint": {
"job_completion": "Completion"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "Queued", "queued": "Queued",
"series": "Series" "series": "Series"
}, },
"octoPrint": {
"job_completion": "Completion"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "Queued", "queued": "Queued",
"series": "Series" "series": "Series"
}, },
"octoPrint": {
"job_completion": "Completion"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "Queued", "queued": "Queued",
"series": "Series" "series": "Series"
}, },
"octoPrint": {
"job_completion": "Completion"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "У черзі", "queued": "У черзі",
"series": "Серії" "series": "Серії"
}, },
"octoPrint": { "octoprint": {
"printer_state": "Стан",
"temp_tool": "Температура інструменту",
"temp_bed": "Температура ліжка",
"job_completion": "Завершення" "job_completion": "Завершення"
}, },
"octoprint": { "cloudflared": {
"printer_state": "Status", "origin_ip": "Походження IP",
"temp_tool": "Tool temp", "status": "Стан"
"temp_bed": "Bed temp", },
"job_completion": "Completion" "proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "Queued", "queued": "Queued",
"series": "Series" "series": "Series"
}, },
"octoPrint": {
"job_completion": "Completion"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "Queued", "queued": "Queued",
"series": "Series" "series": "Series"
}, },
"octoPrint": {
"job_completion": "Completion"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "Queued", "queued": "Queued",
"series": "Series" "series": "Series"
}, },
"octoPrint": {
"job_completion": "Completion"
},
"octoprint": { "octoprint": {
"printer_state": "Status", "printer_state": "Status",
"temp_tool": "Tool temp", "temp_tool": "Tool temp",
"temp_bed": "Bed temp", "temp_bed": "Bed temp",
"job_completion": "Completion" "job_completion": "Completion"
},
"cloudflared": {
"origin_ip": "Origin IP",
"status": "Status"
},
"proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -415,13 +415,26 @@
"queued": "已加入佇列", "queued": "已加入佇列",
"series": "影集" "series": "影集"
}, },
"octoPrint": { "octoprint": {
"printer_state": "狀態",
"temp_tool": "噴頭溫度",
"temp_bed": "平台溫度",
"job_completion": "完成度" "job_completion": "完成度"
}, },
"octoprint": { "cloudflared": {
"printer_state": "Status", "origin_ip": "Origin IP",
"temp_tool": "Tool temp", "status": "Status"
"temp_bed": "Bed temp", },
"job_completion": "Completion" "proxmoxbackupserver": {
"datastore_usage": "Datastore",
"failed_tasks_24h": "Failed Tasks 24h",
"cpu_usage": "CPU",
"memory_usage": "Memory"
},
"immich": {
"users": "Users",
"photos": "Photos",
"videos": "Videos",
"storage": "Storage"
} }
} }

View File

@ -1,16 +1,18 @@
import Docker from "dockerode"; import Docker from "dockerode";
import getDockerArguments from "utils/config/docker"; import getDockerArguments from "utils/config/docker";
import createLogger from "utils/logger";
const logger = createLogger("dockerStatsService");
export default async function handler(req, res) { export default async function handler(req, res) {
const { service } = req.query; const { service } = req.query;
const [containerName, containerServer] = service; const [containerName, containerServer] = service;
if (!containerName && !containerServer) { if (!containerName && !containerServer) {
res.status(400).send({ return res.status(400).send({
error: "docker query parameters are required", error: "docker query parameters are required",
}); });
return;
} }
try { try {
@ -23,10 +25,9 @@ export default async function handler(req, res) {
// bad docker connections can result in a <Buffer ...> object? // bad docker connections can result in a <Buffer ...> object?
// in any case, this ensures the result is the expected array // in any case, this ensures the result is the expected array
if (!Array.isArray(containers)) { if (!Array.isArray(containers)) {
res.status(500).send({ return res.status(500).send({
error: "query failed", error: "query failed",
}); });
return;
} }
const containerNames = containers.map((container) => container.Names[0].replace(/^\//, "")); const containerNames = containers.map((container) => container.Names[0].replace(/^\//, ""));
@ -36,10 +37,9 @@ export default async function handler(req, res) {
const container = docker.getContainer(containerName); const container = docker.getContainer(containerName);
const stats = await container.stats({ stream: false }); const stats = await container.stats({ stream: false });
res.status(200).json({ return res.status(200).json({
stats, stats,
}); });
return;
} }
// Try with a service deployed in Docker Swarm, if enabled // Try with a service deployed in Docker Swarm, if enabled
@ -61,19 +61,19 @@ export default async function handler(req, res) {
const container = docker.getContainer(taskContainerId); const container = docker.getContainer(taskContainerId);
const stats = await container.stats({ stream: false }); const stats = await container.stats({ stream: false });
res.status(200).json({ return res.status(200).json({
stats, stats,
}); });
return;
} }
} }
res.status(200).send({ return res.status(200).send({
error: "not found", error: "not found",
}); });
} catch { } catch (e) {
res.status(500).send({ logger.error(e);
error: {message: "Unknown error"}, return res.status(500).send({
error: {message: e?.message ?? "Unknown error"},
}); });
} }
} }

View File

@ -1,6 +1,9 @@
import Docker from "dockerode"; import Docker from "dockerode";
import getDockerArguments from "utils/config/docker"; import getDockerArguments from "utils/config/docker";
import createLogger from "utils/logger";
const logger = createLogger("dockerStatusService");
export default async function handler(req, res) { export default async function handler(req, res) {
const { service } = req.query; const { service } = req.query;
@ -68,9 +71,10 @@ export default async function handler(req, res) {
return res.status(200).send({ return res.status(200).send({
error: "not found", error: "not found",
}); });
} catch { } catch (e) {
logger.error(e);
return res.status(500).send({ return res.status(500).send({
error: "unknown error", error: {message: e?.message ?? "Unknown error"},
}); });
} }
} }

View File

@ -13,6 +13,17 @@ import {
} from "utils/config/service-helpers"; } from "utils/config/service-helpers";
import { cleanWidgetGroups, widgetsFromConfig } from "utils/config/widget-helpers"; import { cleanWidgetGroups, widgetsFromConfig } from "utils/config/widget-helpers";
/**
* Compares services by weight then by name.
*/
function compareServices(service1, service2) {
const comp = service1.weight - service2.weight;
if (comp !== 0) {
return comp;
}
return service1.name.localeCompare(service2.name);
}
export async function bookmarksResponse() { export async function bookmarksResponse() {
checkAndCopyConfig("bookmarks.yaml"); checkAndCopyConfig("bookmarks.yaml");
@ -112,7 +123,8 @@ export async function servicesResponse() {
...discoveredDockerGroup.services, ...discoveredDockerGroup.services,
...discoveredKubernetesGroup.services, ...discoveredKubernetesGroup.services,
...configuredGroup.services ...configuredGroup.services
].filter((service) => service), ].filter((service) => service)
.sort(compareServices),
}; };
if (definedLayouts) { if (definedLayouts) {

View File

@ -33,6 +33,15 @@ export async function servicesFromConfig() {
})), })),
})); }));
// add default weight to services based on their position in the configuration
servicesArray.forEach((group, groupIndex) => {
group.services.forEach((service, serviceIndex) => {
if(!service.weight) {
servicesArray[groupIndex].services[serviceIndex].weight = (serviceIndex + 1) * 100;
}
});
});
return servicesArray; return servicesArray;
} }
@ -152,6 +161,7 @@ export async function servicesFromKubernetes() {
href: ingress.metadata.annotations[`${ANNOTATION_BASE}/href`] || getUrlFromIngress(ingress), href: ingress.metadata.annotations[`${ANNOTATION_BASE}/href`] || getUrlFromIngress(ingress),
name: ingress.metadata.annotations[`${ANNOTATION_BASE}/name`] || ingress.metadata.name, name: ingress.metadata.annotations[`${ANNOTATION_BASE}/name`] || ingress.metadata.name,
group: ingress.metadata.annotations[`${ANNOTATION_BASE}/group`] || "Kubernetes", group: ingress.metadata.annotations[`${ANNOTATION_BASE}/group`] || "Kubernetes",
weight: ingress.metadata.annotations[`${ANNOTATION_BASE}/weight`] || '0',
icon: ingress.metadata.annotations[`${ANNOTATION_BASE}/icon`] || '', icon: ingress.metadata.annotations[`${ANNOTATION_BASE}/icon`] || '',
description: ingress.metadata.annotations[`${ANNOTATION_BASE}/description`] || '', description: ingress.metadata.annotations[`${ANNOTATION_BASE}/description`] || '',
}; };
@ -201,6 +211,17 @@ export function cleanServiceGroups(groups) {
name: serviceGroup.name, name: serviceGroup.name,
services: serviceGroup.services.map((service) => { services: serviceGroup.services.map((service) => {
const cleanedService = { ...service }; const cleanedService = { ...service };
if (typeof service.weight === 'string') {
const weight = parseInt(service.weight, 10);
if (Number.isNaN(weight)) {
cleanedService.weight = 0;
} else {
cleanedService.weight = weight;
}
}
if (typeof cleanedService.weight !== "number") {
cleanedService.weight = 0;
}
if (cleanedService.widget) { if (cleanedService.widget) {
// whitelisted set of keys to pass to the frontend // whitelisted set of keys to pass to the frontend
@ -214,12 +235,15 @@ export function cleanServiceGroups(groups) {
defaultinterval, defaultinterval,
namespace, // kubernetes widget namespace, // kubernetes widget
app, app,
podSelector podSelector,
wan // opnsense widget
} = cleanedService.widget; } = cleanedService.widget;
const fieldsList = typeof fields === 'string' ? JSON.parse(fields) : fields;
cleanedService.widget = { cleanedService.widget = {
type, type,
fields: fields || null, fields: fieldsList || null,
service_name: service.name, service_name: service.name,
service_group: serviceGroup.name, service_group: serviceGroup.name,
}; };
@ -237,6 +261,9 @@ export function cleanServiceGroups(groups) {
if (app) cleanedService.widget.app = app; if (app) cleanedService.widget.app = app;
if (podSelector) cleanedService.widget.podSelector = podSelector; if (podSelector) cleanedService.widget.podSelector = podSelector;
} }
if (type === "opnsense") {
if (wan) cleanedService.widget.wan = wan;
}
} }
return cleanedService; return cleanedService;

View File

@ -34,12 +34,18 @@ export default async function credentialedProxyHandler(req, res, map) {
headers.Authorization = `Bearer ${widget.key}`; headers.Authorization = `Bearer ${widget.key}`;
} else if (widget.type === "proxmox") { } else if (widget.type === "proxmox") {
headers.Authorization = `PVEAPIToken=${widget.username}=${widget.password}`; headers.Authorization = `PVEAPIToken=${widget.username}=${widget.password}`;
} else if (widget.type === "proxmoxbackupserver") {
delete headers["Content-Type"];
headers.Authorization = `PBSAPIToken=${widget.username}:${widget.password}`;
} else if (widget.type === "autobrr") { } else if (widget.type === "autobrr") {
headers["X-API-Token"] = `${widget.key}`; headers["X-API-Token"] = `${widget.key}`;
} else if (widget.type === "tubearchivist") { } else if (widget.type === "tubearchivist") {
headers.Authorization = `Token ${widget.key}`; headers.Authorization = `Token ${widget.key}`;
} else if (widget.type === "miniflux") { } else if (widget.type === "miniflux") {
headers["X-Auth-Token"] = `${widget.key}`; headers["X-Auth-Token"] = `${widget.key}`;
} else if (widget.type === "cloudflared") {
headers["X-Auth-Email"] = `${widget.email}`;
headers["X-Auth-Key"] = `${widget.key}`;
} else { } else {
headers["X-API-Key"] = `${widget.key}`; headers["X-API-Key"] = `${widget.key}`;
} }

View File

@ -0,0 +1,31 @@
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 { widget } = service;
const { data: statsData, error: statsError } = useWidgetAPI(widget, "cfd_tunnel");
if (statsError) {
return <Container error={statsError} />;
}
if (!statsData) {
return (
<Container service={service}>
<Block label="cloudflared.status" />
<Block label="cloudflared.origin_ip" />
</Container>
);
}
const originIP = statsData.result.connections?.origin_ip ?? statsData.result.connections[0]?.origin_ip;
return (
<Container service={service}>
<Block label="cloudflared.status" value={statsData.result.status.charAt(0).toUpperCase() + statsData.result.status.slice(1)} />
<Block label="cloudflared.origin_ip" value={originIP} />
</Container>
);
}

View File

@ -0,0 +1,18 @@
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
const widget = {
api: "https://api.cloudflare.com/client/v4/accounts/{accountid}/{endpoint}/{tunnelid}",
proxyHandler: credentialedProxyHandler,
mappings: {
"cfd_tunnel": {
endpoint: "cfd_tunnel",
validate: [
"success",
"result"
]
},
},
};
export default widget;

View File

@ -6,6 +6,7 @@ const components = {
autobrr: dynamic(() => import("./autobrr/component")), autobrr: dynamic(() => import("./autobrr/component")),
bazarr: dynamic(() => import("./bazarr/component")), bazarr: dynamic(() => import("./bazarr/component")),
changedetectionio: dynamic(() => import("./changedetectionio/component")), changedetectionio: dynamic(() => import("./changedetectionio/component")),
cloudflared: dynamic(() => import("./cloudflared/component")),
coinmarketcap: dynamic(() => import("./coinmarketcap/component")), coinmarketcap: dynamic(() => import("./coinmarketcap/component")),
deluge: dynamic(() => import("./deluge/component")), deluge: dynamic(() => import("./deluge/component")),
diskstation: dynamic(() => import("./diskstation/component")), diskstation: dynamic(() => import("./diskstation/component")),
@ -37,6 +38,7 @@ const components = {
opnsense: dynamic(() => import("./opnsense/component")), opnsense: dynamic(() => import("./opnsense/component")),
overseerr: dynamic(() => import("./overseerr/component")), overseerr: dynamic(() => import("./overseerr/component")),
paperlessngx: dynamic(() => import("./paperlessngx/component")), paperlessngx: dynamic(() => import("./paperlessngx/component")),
proxmoxbackupserver: dynamic(() => import("./proxmoxbackupserver/component")),
pihole: dynamic(() => import("./pihole/component")), pihole: dynamic(() => import("./pihole/component")),
plex: dynamic(() => import("./plex/component")), plex: dynamic(() => import("./plex/component")),
portainer: dynamic(() => import("./portainer/component")), portainer: dynamic(() => import("./portainer/component")),
@ -61,6 +63,7 @@ const components = {
unifi: dynamic(() => import("./unifi/component")), unifi: dynamic(() => import("./unifi/component")),
watchtower: dynamic(() => import("./watchtower/component")), watchtower: dynamic(() => import("./watchtower/component")),
xteve: dynamic(() => import("./xteve/component")), xteve: dynamic(() => import("./xteve/component")),
immich: dynamic(() => import("./immich/component")),
}; };
export default components; export default components;

View File

@ -0,0 +1,33 @@
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 { widget } = service;
const { data: immichData, error: immichError } = useWidgetAPI(widget);
if (immichError || immichData?.statusCode === 401) {
return <Container error={immichError ?? immichData} />;
}
if (!immichData) {
return (
<Container service={service}>
<Block label="immich.users" />
<Block label="immich.photos" />
<Block label="immich.videos" />
<Block label="immich.storage" />
</Container>
);
}
return (
<Container service={service}>
<Block label="immich.users" value={immichData.usageByUser.length} />
<Block label="immich.photos" value={immichData.photos} />
<Block label="immich.videos" value={immichData.videos} />
<Block label="immich.storage" value={immichData.usage} />
</Container>
);
}

View File

@ -0,0 +1,8 @@
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
const widget = {
api: "{url}/api/server-info/stats",
proxyHandler: credentialedProxyHandler,
};
export default widget;

View File

@ -27,7 +27,7 @@ export default function Component({ service }) {
return ( return (
<Container service={service}> <Container service={service}>
<Block label="nzbget.rate" value={t("common.bitrate", { value: statusData.DownloadRate })} /> <Block label="nzbget.rate" value={t("common.byterate", { value: statusData.DownloadRate })} />
<Block <Block
label="nzbget.remaining" label="nzbget.remaining"
value={t("common.bytes", { value: statusData.RemainingSizeMB * 1024 * 1024 })} value={t("common.bytes", { value: statusData.RemainingSizeMB * 1024 * 1024 })}

View File

@ -33,16 +33,14 @@ export default function Component({ service }) {
const cpu = 100 - parseFloat(cpuIdle); const cpu = 100 - parseFloat(cpuIdle);
const memory = activityData.headers[3].match(/Mem: (.+) Active,/)[1]; const memory = activityData.headers[3].match(/Mem: (.+) Active,/)[1];
const wanUpload = interfaceData.interfaces.wan['bytes transmitted']; const wan = widget.wan ? interfaceData.interfaces[widget.wan] : interfaceData.interfaces.wan;
const wanDownload = interfaceData.interfaces.wan['bytes received'];
return ( return (
<Container service={service}> <Container service={service}>
<Block label="opnsense.cpu" value={t("common.percent", { value: cpu.toFixed(2) })} /> <Block label="opnsense.cpu" value={t("common.percent", { value: cpu.toFixed(2) })} />
<Block label="opnsense.memory" value={memory} /> <Block label="opnsense.memory" value={memory} />
<Block label="opnsense.wanUpload" value={t("common.bytes", { value: wanUpload })} /> {wan && <Block label="opnsense.wanUpload" value={t("common.bytes", { value: wan['bytes transmitted'] })} />}
<Block label="opnsense.wanDownload" value={t("common.bytes", { value: wanDownload })} /> {wan && <Block label="opnsense.wanDownload" value={t("common.bytes", { value: wan['bytes received'] })} />}
</Container> </Container>
); );
} }

View File

@ -31,8 +31,8 @@ export default function Component({ service }) {
} }
const { data } = clusterData ; const { data } = clusterData ;
const vms = data.filter(item => item.type === "qemu") || []; const vms = data.filter(item => item.type === "qemu" && item.template === 0) || [];
const lxc = data.filter(item => item.type === "lxc") || []; const lxc = data.filter(item => item.type === "lxc" && item.template === 0) || [];
const nodes = data.filter(item => item.type === "node") || []; const nodes = data.filter(item => item.type === "node") || [];
const runningVMs = vms.reduce(calcRunning, 0); const runningVMs = vms.reduce(calcRunning, 0);

View File

@ -0,0 +1,45 @@
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: datastoreData, error: datastoreError } = useWidgetAPI(widget, "status/datastore-usage");
const { data: tasksData, error: tasksError } = useWidgetAPI(widget, "nodes/localhost/tasks");
const { data: hostData, error: hostError } = useWidgetAPI(widget, "nodes/localhost/status");
if (datastoreError || tasksError || hostError) {
const finalError = tasksError ?? datastoreError ?? hostError;
return <Container error={finalError} />;
}
if (!datastoreData || !tasksData || !hostData) {
return (
<Container service={service}>
<Block label="proxmoxbackupserver.datastore_usage" />
<Block label="proxmoxbackupserver.failed_tasks" />
<Block label="proxmoxbackupserver.cpu_usage" />
<Block label="proxmoxbackupserver.memory_usage" />
</Container>
);
}
const datastoreUsage = datastoreData.data[0].used / datastoreData.data[0].total * 100;
const cpuUsage = hostData.data.cpu * 100;
const memoryUsage = hostData.data.memory.used / hostData.data.memory.total * 100;
const failedTasks = tasksData.total >= 100 ? "99+" : tasksData.total;
return (
<Container service={service}>
<Block label="proxmoxbackupserver.datastore_usage" value={t("common.percent", { value: datastoreUsage })} />
<Block label="proxmoxbackupserver.failed_tasks_24h" value={failedTasks} />
<Block label="proxmoxbackupserver.cpu_usage" value={t("common.percent", { value: cpuUsage })} />
<Block label="proxmoxbackupserver.memory_usage" value={t("common.percent", { value: memoryUsage })} />
</Container>
);
}

View File

@ -0,0 +1,22 @@
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
const since = Date.now() - (24 * 60 * 60 * 1000);
const widget = {
api: "{url}/api2/json/{endpoint}",
proxyHandler: credentialedProxyHandler,
mappings: {
"status/datastore-usage": {
endpoint: "status/datastore-usage",
},
"nodes/localhost/tasks": {
endpoint: `nodes/localhost/tasks?errors=true&limit=100&since=${since}`,
},
"nodes/localhost/status": {
endpoint: "nodes/localhost/status",
},
},
};
export default widget;

View File

@ -3,6 +3,7 @@ import authentik from "./authentik/widget";
import autobrr from "./autobrr/widget"; import autobrr from "./autobrr/widget";
import bazarr from "./bazarr/widget"; import bazarr from "./bazarr/widget";
import changedetectionio from "./changedetectionio/widget"; import changedetectionio from "./changedetectionio/widget";
import cloudflared from "./cloudflared/widget";
import coinmarketcap from "./coinmarketcap/widget"; import coinmarketcap from "./coinmarketcap/widget";
import deluge from "./deluge/widget"; import deluge from "./deluge/widget";
import diskstation from "./diskstation/widget"; import diskstation from "./diskstation/widget";
@ -31,6 +32,7 @@ import ombi from "./ombi/widget";
import opnsense from "./opnsense/widget"; import opnsense from "./opnsense/widget";
import overseerr from "./overseerr/widget"; import overseerr from "./overseerr/widget";
import paperlessngx from "./paperlessngx/widget"; import paperlessngx from "./paperlessngx/widget";
import proxmoxbackupserver from "./proxmoxbackupserver/widget";
import pihole from "./pihole/widget"; import pihole from "./pihole/widget";
import plex from "./plex/widget"; import plex from "./plex/widget";
import portainer from "./portainer/widget"; import portainer from "./portainer/widget";
@ -55,6 +57,7 @@ import truenas from "./truenas/widget";
import unifi from "./unifi/widget"; import unifi from "./unifi/widget";
import watchtower from "./watchtower/widget"; import watchtower from "./watchtower/widget";
import xteve from "./xteve/widget"; import xteve from "./xteve/widget";
import immich from "./immich/widget";
const widgets = { const widgets = {
adguard, adguard,
@ -62,6 +65,7 @@ const widgets = {
autobrr, autobrr,
bazarr, bazarr,
changedetectionio, changedetectionio,
cloudflared,
coinmarketcap, coinmarketcap,
deluge, deluge,
diskstation, diskstation,
@ -91,6 +95,7 @@ const widgets = {
opnsense, opnsense,
overseerr, overseerr,
paperlessngx, paperlessngx,
proxmoxbackupserver,
pihole, pihole,
plex, plex,
portainer, portainer,
@ -116,6 +121,7 @@ const widgets = {
unifi_console: unifi, unifi_console: unifi,
watchtower, watchtower,
xteve, xteve,
immich,
}; };
export default widgets; export default widgets;