Compare commits

..

35 Commits

Author SHA1 Message Date
shamoon
4239e8fe97 Update contributing / development guidelines 2024-04-08 08:11:55 -07:00
shamoon
f82a122e26 Fix site monitor with error 2024-04-06 20:00:16 -07:00
shamoon
d49a06efd9 Fix: rename pialert to netalertx (#3253) 2024-04-06 17:35:12 -07:00
mrmorganmurphy
9904c2db2f Documentation: update diskstation instructions (#3230) 2024-04-03 10:03:12 -07:00
XavierDupuis
60db01cc57 Documentation: fix allowed fields uniformity (#3224) 2024-04-02 15:42:34 -07:00
rgon10
4e69ea6088 Fix: TrueNAS Core support for pool stats (#3206)
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-04-01 14:32:39 -07:00
dependabot[bot]
268d8efa0e Chore(deps-dev): Bump tailwindcss from 3.4.1 to 3.4.3 (#3214)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.4.1 to 3.4.3.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.3/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.1...v3.4.3)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 14:18:39 -07:00
dependabot[bot]
43bbb69d53 Chore(deps-dev): Bump eslint-plugin-react from 7.33.2 to 7.34.1 (#3213)
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.33.2 to 7.34.1.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/v7.34.1/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.33.2...v7.34.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 14:18:29 -07:00
dependabot[bot]
cdfb5a11f7 Chore(deps): Bump recharts from 2.12.2 to 2.12.3 (#3215)
Bumps [recharts](https://github.com/recharts/recharts) from 2.12.2 to 2.12.3.
- [Release notes](https://github.com/recharts/recharts/releases)
- [Changelog](https://github.com/recharts/recharts/blob/3.x/CHANGELOG.md)
- [Commits](https://github.com/recharts/recharts/compare/v2.12.2...v2.12.3)

---
updated-dependencies:
- dependency-name: recharts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 14:18:07 -07:00
Luca Herrero
2ebcb311e8 Fix: homebridge widget with numeric username or password (#3220) 2024-04-01 14:17:56 -07:00
dependabot[bot]
0d7b77260f Chore(deps-dev): Bump postcss from 8.4.35 to 8.4.38 (#3212)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.35 to 8.4.38.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.35...8.4.38)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 10:18:28 -07:00
dependabot[bot]
6f07acab15 Chore(deps): Bump follow-redirects from 1.15.5 to 1.15.6 (#3211)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.5...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 10:17:34 -07:00
shamoon
29447c55ff Fix: remove invalid form attribute (#3210) 2024-04-01 07:49:58 -07:00
Jalin Wang
dd819ad677 Documentation: correct link for Docker automatic service discovery (#3208) 2024-04-01 07:25:14 -07:00
Jalin Wang
212e517ebb Chore: fix ypos in the PR template (#3209)
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-04-01 07:23:52 -07:00
shamoon
29ac7bfea7 Feature: Support pi-hole v6 (#3207) 2024-03-31 20:34:46 -07:00
shamoon
b0d57866a0 Fix glances service widgets handling of default version 2024-03-29 06:32:25 -07:00
shamoon
97d193faf1 Fix crowdsec widget with no bans / alerts 2024-03-28 21:50:10 -07:00
shamoon
d4c0e482d3 Feature: crowdsec widget (#3197) 2024-03-28 13:39:40 -07:00
shamoon
def9b27006 Enhancement: support for glances v4 (#3196) 2024-03-28 11:16:00 -05:00
ThorTheStorm
4fe4ae9622 Documentation: Update authentik api key info (#3195)
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-03-28 09:51:07 -05:00
github-actions[bot]
0af975b3d9 New Crowdin translations by GitHub Action (#3096)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-03-24 00:09:15 -07:00
shamoon
01a2495e47 Fix: correctly handle direct tab navigation with encoded chars (#3172) 2024-03-23 23:22:27 -07:00
SunnyCloudy
e4b4eba445 Fix: Glances widget display (#3164)
Co-Authored-By: shamoon <4887959+shamoon@users.noreply.github.com>
2024-03-23 23:21:02 -07:00
Dawud
885b2624a8 Enhancement: support Jackett widget with admin password (#3097) (#3165)
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-03-23 01:34:07 -07:00
Joseph M
f06214a295 Documentation: note that "issue" permissions are also required for Gitea widget (#3157) 2024-03-21 11:59:31 -07:00
zmweske
7627f9c5a7 Documentation: add info re pfSense API token auth (#3145) 2024-03-20 13:21:56 -07:00
she11sh0cked
556450c8de Fix: log error when getting services from Docker server fails (#3147) 2024-03-20 07:26:11 -07:00
Lukas H
edc38c93e2 Documentation: fix minor typo (#3136) 2024-03-18 15:56:04 -07:00
shamoon
b9e1a514cb Update settings.md 2024-03-17 08:06:49 -07:00
shamoon
7e0fbed06b Remove commented out code 2024-03-15 07:23:19 -07:00
Rob Gonnella
358633638f Documentation: Adds sticky cookie note for k8s multiple replica setups (#3120) 2024-03-14 21:07:35 -07:00
shamoon
fa1d343f2a Documentation: add optional auth to whatsupdocker documentation
Co-Authored-By: zmweske <31971632+zmweske@users.noreply.github.com>
2024-03-14 21:07:35 -07:00
RoboMagus
247f73f0db Fix: Add alternative 'offline' status to EspHome widget (#3107) 2024-03-11 07:06:27 -07:00
shamoon
54db9ac551 Fix: field parsing fails with docker labels (#3101) 2024-03-10 22:27:38 -07:00
107 changed files with 2149 additions and 751 deletions

View File

@@ -1,12 +1,12 @@
## Proposed change ## Proposed change
<!-- <!--
Please include a summary of the change. Screenshots and / or videos can also be helpful if appropriate. Please include a summary of the change. Screenshots and/or videos can also be helpful if appropriate.
*** Please see the development guidelines for new widgets: https://gethomepage.dev/latest/more/development/#service-widget-guidelines *** Please see the development guidelines for new widgets: https://gethomepage.dev/latest/more/development/#service-widget-guidelines
*** If you do not follow these guidelines your PR will likely be closed without review. *** If you do not follow these guidelines your PR will likely be closed without review.
New service widgets should include example(s) of relevant relevant API output as well updates to the docs for the new widget. New service widgets should include example(s) of relevant API output as well as updates to the docs for the new widget.
--> -->
Closes # (issue) Closes # (issue)

View File

@@ -48,11 +48,15 @@ Please see information in the docs regarding [code formatting with pre-commit ho
By contributing, you agree that your contributions will be licensed under its GNU General Public License. By contributing, you agree that your contributions will be licensed under its GNU General Public License.
## Use of AI for pull requests
In general, homepage does not accept "AI-generated" PRs. If you choose to use something like that to aid the development process to generate a significant proportion of the pull request, please make sure this is explicitly stated in the PR itself.
## References ## References
This document was adapted from the open-source contribution guidelines for [Facebook's Draft](https://github.com/facebook/draft-js/blob/main/CONTRIBUTING.md) This document was adapted from the open-source contribution guidelines for [Facebook's Draft](https://github.com/facebook/draft-js/blob/main/CONTRIBUTING.md)
# Automatic Respository Maintenance ## Automatic Respository Maintenance
The homepage team appreciates all effort and interest from the community in filing bug reports, creating feature requests, sharing ideas and helping other community members. That said, in an effort to keep the repository organized and managebale the project uses automatic handling of certain areas: The homepage team appreciates all effort and interest from the community in filing bug reports, creating feature requests, sharing ideas and helping other community members. That said, in an effort to keep the repository organized and managebale the project uses automatic handling of certain areas:

View File

@@ -41,7 +41,7 @@ With features like quick search, bookmarks, weather support, a wide range of int
## Docker Integration ## Docker Integration
Homepage has built-in support for Docker, and can automatically discover and add services to the homepage based on labels. See the [Docker](https://gethomepage.dev/latest/installation/docker/) page for more information. Homepage has built-in support for Docker, and can automatically discover and add services to the homepage based on labels. See the [Docker Service Discovery](https://gethomepage.dev/latest/configs/docker/#automatic-service-discovery) page for more information.
## Service Widgets ## Service Widgets

View File

@@ -85,7 +85,7 @@ Or you may pass the path to a local image relative to the `/app/public` director
## Theme ## Theme
You can configure a fixed them (and disable the theme switcher) by passing the `theme` option, like so: You can configure a fixed theme (and disable the theme switcher) by passing the `theme` option, like so:
```yaml ```yaml
theme: dark # or light theme: dark # or light
@@ -211,13 +211,13 @@ layout:
### Five Columns ### Five Columns
You can add a fifth column (when `style: columns` which is default) by adding: You can add a fifth column to services (when `style: columns` which is default) by adding:
```yaml ```yaml
fiveColumns: true fiveColumns: true
``` ```
By default homepage will max out at 4 columns for column style By default homepage will max out at 4 columns for services with `columns` style
### Collapsible sections ### Collapsible sections

View File

@@ -361,3 +361,33 @@ spec:
port: port:
number: 3000 number: 3000
``` ```
### Multiple Replicas
If you plan to deploy homepage with a replica count greater than 1, you may
want to consider enabling sticky sessions on the homepage route. This will
prevent unnecessary re-renders on page loads and window / tab focusing. The
procedure for enabling sticky sessions depends on your Ingress controller. Below
is an example using Traefik as the Ingress controller.
```
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: homepage.example.com
spec:
entryPoints:
- websecure
routes:
- kind: Rule
match: Host(`homepage.example.com`)
services:
- kind: Service
name: homepage
port: 3000
sticky:
cookie:
httpOnly: true
secure: true
sameSite: none
```

View File

@@ -39,6 +39,11 @@ Once installed, hooks will run when you commit. If the formatting isn't quite ri
See the [pre-commit documentation](https://pre-commit.com/#install) to get started. See the [pre-commit documentation](https://pre-commit.com/#install) to get started.
## Preferring self-hosted open-source software
In general, homepage is meant to be a dashboard for 'self-hosted' services and we believe it is a small way we can help showcase this kind of software. While exceptions are made, mostly when there is no viable
self-hosted / open-source alternative, we ask that any widgets, etc. are developed primarily for a self-hosted tool.
## New Feature Guidelines ## New Feature Guidelines
- New features should be linked to an existing feature request with at least 10 'up-votes'. The purpose of this requirement is to avoid the addition (and maintenance) of features that might only benefit a small number of users. - New features should be linked to an existing feature request with at least 10 'up-votes'. The purpose of this requirement is to avoid the addition (and maintenance) of features that might only benefit a small number of users.

View File

@@ -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

View File

@@ -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"]`.

View File

@@ -7,10 +7,10 @@ Learn more about [Azure DevOps](https://azure.microsoft.com/en-us/products/devop
This widget has 2 functions: This widget has 2 functions:
1. Pipelines: checks if the relevant pipeline is running or not, and if not, reports the last status.\ 1. Pipelines: checks if the relevant pipeline is running or not, and if not, reports the last status.<br>
Allowed fields: `["result", "status"]`. Allowed fields: `["result", "status"]`.
2. Pull Requests: returns the amount of open PRs, the amount of the PRs you have open, and how many PRs that you open are marked as 'Approved' by at least 1 person and not yet completed.\ 2. Pull Requests: returns the amount of open PRs, the amount of the PRs you have open, and how many PRs that you open are marked as 'Approved' by at least 1 person and not yet completed.<br>
Allowed fields: `["totalPrs", "myPrs", "approved"]`. Allowed fields: `["totalPrs", "myPrs", "approved"]`.
You will need to generate a personal access token for an existing user, see the [azure documentation](https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&tabs=Windows#create-a-pat) You will need to generate a personal access token for an existing user, see the [azure documentation](https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&tabs=Windows#create-a-pat)

View File

@@ -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
```

View File

@@ -11,22 +11,27 @@ An optional 'volume' parameter can be supplied to specify which volume's free sp
Allowed fields: `["uptime", "volumeAvailable", "resources.cpu", "resources.mem"]`. Allowed fields: `["uptime", "volumeAvailable", "resources.cpu", "resources.mem"]`.
To access these system metrics you need to connect to the DiskStation with an account that is a member of the default `Administrators` group. That is because these metrics are requested from the API's `SYNO.Core.System` part that is only available to admin users. In order to keep the security impact as small as possible we can set the account in DSM up to limit the user's permissions inside the Synology system. In DSM 7.x, for instance, follow these steps: To access these system metrics you need to connect to the DiskStation (`DSM`) with an account that is a member of the default `Administrators` group. That is because these metrics are requested from the API's `SYNO.Core.System` part that is only available to admin users. In order to keep the security impact as small as possible we can set the account in DSM up to limit the user's permissions inside the Synology system. In DSM 7.x, for instance, follow these steps:
1. Create a new user, i.e. `remote_stats`. 1. Create a new user, i.e. `remote_stats`.
2. Set up a strong password for the new user 2. Set up a strong password for the new user
3. Under the `User Groups` tab of the user config dialogue check the box for `Administrators`. 3. Under the `User Groups` tab of the user config dialogue check the box for `Administrators`.
4. On the `Permissions` tab check the top box for `No Access`, effectively prohibiting the user from accessing anything in the shared folders. 4. On the `Permissions` tab check the top box for `No Access`, effectively prohibiting the user from accessing anything in the shared folders.
5. Under `Applications` check the box next to `Deny` in the header to explicitly prohibit login to all applications. 5. Under `Applications` check the box next to `Deny` in the header to explicitly prohibit login to all applications.
6. Now _only_ allow login to the `Download Station` application, either by 6. Now _only_ allow login to the `DSM` application, either by
- unchecking `Deny` in the respective row, or (if inheriting permission doesn't work because of other group settings) - unchecking `Deny` in the respective row, or (if inheriting permission doesn't work because of other group settings)
- checking `Allow` for this app, or - checking `Allow` for this app, or
- checking `By IP` for this app to limit the source of login attempts to one or more IP addresses/subnets. - checking `By IP` for this app to limit the source of login attempts to one or more IP addresses/subnets.
7. When the `Preview` column shows `Allow` in the `Download Station` row, click `Save`. 7. When the `Preview` column shows `Allow` in the `DSM` row, click `Save`.
Now configure the widget with the correct login information and test it. Now configure the widget with the correct login information and test it.
If you encounter issues during testing, make sure to uncheck the option for automatic blocking due to invalid logins under `Control Panel > Security > Protection`. If desired, this setting can be reactivated once the login is established working. If you encounter issues during testing:
1. Make sure to uncheck the option for automatic blocking due to invalid logins under `Control Panel > Security > Protection`.
- If desired, this setting can be reactivated once the login is established working.
2. Login to your Synology DSM with the newly created account and accept terms and conditions.
3. Reattempt
```yaml ```yaml
widget: widget:

View File

@@ -7,7 +7,10 @@ Learn more about [ESPHome](https://esphome.io/).
Show the number of ESPHome devices based on their state. Show the number of ESPHome devices based on their state.
Allowed fields: `["total", "online", "offline", "unknown"]`. Allowed fields: `["total", "online", "offline", "offline_alt", "unknown"]` (maximum of 4).
By default ESPHome will only mark devices as `offline` if their address cannot be pinged. If it has an invalid config or its name cannot be resolved (by DNS) its status will be marked as `unknown`.
To group both `offline` and `unknown` devices together, users should use the `offline_alt` field instead. This sums all devices that are _not_ online together.
```yaml ```yaml
widget: widget:

View File

@@ -5,9 +5,9 @@ description: Gitea Widget Configuration
Learn more about [Gitea](https://gitea.com). Learn more about [Gitea](https://gitea.com).
API token requires `notifications` and `repository` permissions. See the [gitea documentation](https://docs.gitea.com/development/api-usage#generating-and-listing-api-tokens) for details on generating tokens. API token requires `notifications`, `repository` and `issue` permissions. See the [gitea documentation](https://docs.gitea.com/development/api-usage#generating-and-listing-api-tokens) for details on generating tokens.
Allowed fields: ["notifications", "issues", "pulls"] Allowed fields: `["notifications", "issues", "pulls"]`.
```yaml ```yaml
widget: widget:

View File

@@ -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:_

View File

@@ -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
``` ```

View File

@@ -0,0 +1,16 @@
---
title: NetAlertX
description: NetAlertX (formerly PiAlert) Widget Configuration
---
Learn more about [NetAlertX](https://github.com/jokob-sk/NetAlertX).
_Note that the project was renamed from PiAlert to NetAlertX._
Allowed fields: `["total", "connected", "new_devices", "down_alerts"]`.
```yaml
widget:
type: netalertx
url: http://ip:port
```

View File

@@ -9,7 +9,7 @@ This widget adds support for [Network UPS Tools](https://networkupstools.org/) v
The default ups name is `ups`. To configure more than one ups, you must create multiple peanut services. The default ups name is `ups`. To configure more than one ups, you must create multiple peanut services.
Allowed fields: `["battery_charge", "ups_load", "ups_status"]` Allowed fields: `["battery_charge", "ups_load", "ups_status"]`.
!!! note !!! note

View File

@@ -9,9 +9,9 @@ This widget requires the installation of the [pfsense-api](https://github.com/ja
Once pfSense API is installed, you can set the API to be read-only in System > API > Settings. Once pfSense API is installed, you can set the API to be read-only in System > API > Settings.
Currently the only supported authentication mode is 'Local Database'. There are two currently supported authentication modes: 'Local Database' and 'API Token'. For 'Local Database', use `username` and `password` with the credentials of an admin user. For 'API Token', utilize the `headers` parameter with `client_token` and `client_id` obtained from pfSense as shown below. Do not use both headers and username / password.
WAN interface to monitor can be defined by updating the `wan` param. The interface to monitor is defined by updating the `wan` parameter. It should be referenced as it is shown under Interfaces > Assignments in pfSense.
Load is returned instead of cpu utilization. This is a limitation in the pfSense API due to the complexity of this calculation. This may become available in future versions. Load is returned instead of cpu utilization. This is a limitation in the pfSense API due to the complexity of this calculation. This may become available in future versions.
@@ -21,7 +21,10 @@ Allowed fields: `["load", "memory", "temp", "wanStatus", "wanIP", "disk"]` (maxi
widget: widget:
type: pfsense type: pfsense
url: http://pfsense.host.or.ip:port url: http://pfsense.host.or.ip:port
username: user username: user # optional, or API token
password: pass password: pass # optional, or API token
headers: # optional, or username/password
Authorization: client_id client_token
wan: igb0 wan: igb0
fields: ["load", "memory", "temp", "wanStatus"] # optional
``` ```

View File

@@ -1,16 +0,0 @@
---
title: PiAlert
description: PiAlert Widget Configuration
---
Learn more about [PiAlert](https://github.com/jokob-sk/Pi.Alert).
Note that [pucherot/PiAlert](https://github.com/pucherot/Pi.Alert) has been abandoned and might not work properly.
Allowed fields: `["total", "connected", "new_devices", "down_alerts"]`.
```yaml
widget:
type: pialert
url: http://ip:port
```

View File

@@ -15,6 +15,7 @@ Note: by default the "blocked" and "blocked_percent" fields are merged e.g. "1,2
widget: widget:
type: pihole type: pihole
url: http://pi.hole.or.ip url: http://pi.hole.or.ip
version: 6 # required if running v6 or higher, defaults to 5
key: yourpiholeapikey # optional key: yourpiholeapikey # optional
``` ```

View File

@@ -5,7 +5,7 @@ description: Prometheus Widget Configuration
Learn more about [Prometheus](https://github.com/prometheus/prometheus). Learn more about [Prometheus](https://github.com/prometheus/prometheus).
Allowed fields: `["targets_up", "targets_down", "targets_total"]` Allowed fields: `["targets_up", "targets_down", "targets_total"]`.
```yaml ```yaml
widget: widget:

View File

@@ -5,7 +5,7 @@ description: Pterodactyl Widget Configuration
Learn more about [Pterodactyl](https://github.com/pterodactyl). Learn more about [Pterodactyl](https://github.com/pterodactyl).
Allowed fields: `["nodes", "servers"]` Allowed fields: `["nodes", "servers"]`.
```yaml ```yaml
widget: widget:

View File

@@ -11,6 +11,8 @@ To create an API Key, follow [the official TrueNAS documentation](https://www.tr
A detailed pool listing is disabled by default, but can be enabled with the `enablePools` option. A detailed pool listing is disabled by default, but can be enabled with the `enablePools` option.
To use the `enablePools` option with TrueNAS Core, the `nasType` parameter is required.
```yaml ```yaml
widget: widget:
type: truenas type: truenas
@@ -19,4 +21,5 @@ widget:
password: pass # not required if using api key password: pass # not required if using api key
key: yourtruenasapikey # not required if using username / password key: yourtruenasapikey # not required if using username / password
enablePools: true # optional, defaults to false enablePools: true # optional, defaults to false
nasType: scale # defaults to scale, must be set to 'core' if using enablePools with TrueNAS Core
``` ```

View File

@@ -1,11 +1,9 @@
--- ---
title: Whats Up Docker title: What's Up Docker
description: WhatsUpDocker Widget Configuration description: What's Up Docker Widget Configuration
--- ---
Learn more about [Whats Up Docker](https://github.com/fmartinou/whats-up-docker). Learn more about [What's Up Docker](https://github.com/fmartinou/whats-up-docker).
Currently requires unauthenticated whatsupdocker instance.
Allowed fields: `["monitoring", "updates"]`. Allowed fields: `["monitoring", "updates"]`.
@@ -13,4 +11,6 @@ Allowed fields: `["monitoring", "updates"]`.
widget: widget:
type: whatsupdocker type: whatsupdocker
url: http://whatsupdocker:port url: http://whatsupdocker:port
username: username # optional
password: password # optional
``` ```

View File

@@ -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

660
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -16,7 +16,7 @@
"classnames": "^2.5.1", "classnames": "^2.5.1",
"compare-versions": "^6.1.0", "compare-versions": "^6.1.0",
"dockerode": "^4.0.2", "dockerode": "^4.0.2",
"follow-redirects": "^1.15.5", "follow-redirects": "^1.15.6",
"gamedig": "^4.3.1", "gamedig": "^4.3.1",
"i18next": "^21.10.0", "i18next": "^21.10.0",
"js-yaml": "^4.1.0", "js-yaml": "^4.1.0",
@@ -33,7 +33,7 @@
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"react-i18next": "^11.18.6", "react-i18next": "^11.18.6",
"react-icons": "^4.12.0", "react-icons": "^4.12.0",
"recharts": "^2.12.2", "recharts": "^2.12.3",
"rrule": "^2.8.1", "rrule": "^2.8.1",
"swr": "^1.3.0", "swr": "^1.3.0",
"systeminformation": "^5.22.0", "systeminformation": "^5.22.0",
@@ -52,12 +52,12 @@
"eslint-plugin-import": "^2.29.1", "eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0", "eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^4.2.1", "eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.33.2", "eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.0",
"postcss": "^8.4.35", "postcss": "^8.4.38",
"prettier": "^3.2.5", "prettier": "^3.2.5",
"tailwind-scrollbar": "^3.0.5", "tailwind-scrollbar": "^3.0.5",
"tailwindcss": "^3.4.1", "tailwindcss": "^3.4.3",
"typescript": "^4.9.5" "typescript": "^4.9.5"
}, },
"optionalDependencies": { "optionalDependencies": {

553
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
@@ -276,7 +277,7 @@
"approved": "Approved", "approved": "Approved",
"available": "Available" "available": "Available"
}, },
"pialert": { "netalertx": {
"total": "Total", "total": "Total",
"connected": "Connected", "connected": "Connected",
"new_devices": "New Devices", "new_devices": "New Devices",
@@ -871,5 +872,9 @@
"labels": "Labels", "labels": "Labels",
"users": "Users", "users": "Users",
"totalValue": "Total Value" "totalValue": "Total Value"
},
"crowdsec": {
"alerts": "Alerts",
"bans": "Bans"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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": "合計値"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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": "Общая стоимость"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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": "總共"
} }
} }

View File

@@ -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"
} }
} }

View File

@@ -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": "總共"
} }
} }

View File

@@ -12,7 +12,7 @@ export default function SiteMonitor({ group, service, style }) {
let statusTitle = t("siteMonitor.http_status"); let statusTitle = t("siteMonitor.http_status");
let statusText = ""; let statusText = "";
if (error) { if (error || (data && data.error)) {
colorClass = "text-rose-500"; colorClass = "text-rose-500";
statusText = t("siteMonitor.error"); statusText = t("siteMonitor.error");
statusTitle += ` ${t("siteMonitor.error")}`; statusTitle += ` ${t("siteMonitor.error")}`;

View File

@@ -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}

View File

@@ -84,8 +84,6 @@ export default function OpenMeteo({ options }) {
} }
}; };
// if (!requesting && !location) requestLocation();
if (!location) { if (!location) {
return ( return (
<ContainerButton <ContainerButton

View File

@@ -2,11 +2,7 @@ import { getAllClasses, getInnerBlock, getBottomBlock } from "./container";
export default function ContainerForm({ children = [], options, additionalClassNames = "", callback }) { export default function ContainerForm({ children = [], options, additionalClassNames = "", callback }) {
return ( return (
<form <form onSubmit={callback} className={`${getAllClasses(options, additionalClassNames)} information-widget-form`}>
type="button"
onSubmit={callback}
className={`${getAllClasses(options, additionalClassNames)} information-widget-form`}
>
{getInnerBlock(children)} {getInnerBlock(children)}
{getBottomBlock(children)} {getBottomBlock(children)}
</form> </form>

View File

@@ -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");

View File

@@ -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 ?? {})

View File

@@ -117,6 +117,8 @@ export async function servicesFromDocker() {
return { server: serverName, services: discovered.filter((filteredService) => filteredService) }; return { server: serverName, services: discovered.filter((filteredService) => filteredService) };
} catch (e) { } catch (e) {
logger.error("Error getting services from Docker server '%s': %s", serverName, e);
// a server failed, but others may succeed // a server failed, but others may succeed
return { server: serverName, services: [] }; return { server: serverName, services: [] };
} }
@@ -391,6 +393,9 @@ export function cleanServiceGroups(groups) {
enableBlocks, enableBlocks,
enableNowPlaying, enableNowPlaying,
// glances, pihole
version,
// glances // glances
chart, chart,
metric, metric,
@@ -445,6 +450,7 @@ export function cleanServiceGroups(groups) {
// truenas // truenas
enablePools, enablePools,
nasType,
// unifi // unifi
site, site,
@@ -453,7 +459,7 @@ export function cleanServiceGroups(groups) {
let fieldsList = fields; let fieldsList = fields;
if (typeof fields === "string") { if (typeof fields === "string") {
try { try {
JSON.parse(fields); fieldsList = JSON.parse(fields);
} catch (e) { } catch (e) {
logger.error("Invalid fields list detected in config for service '%s'", service.name); logger.error("Invalid fields list detected in config for service '%s'", service.name);
fieldsList = null; fieldsList = null;
@@ -517,6 +523,7 @@ export function cleanServiceGroups(groups) {
} }
if (type === "truenas") { if (type === "truenas") {
if (enablePools !== undefined) cleanedService.widget.enablePools = JSON.parse(enablePools); if (enablePools !== undefined) cleanedService.widget.enablePools = JSON.parse(enablePools);
if (nasType !== undefined) cleanedService.widget.nasType = nasType;
} }
if (["diskstation", "qnap"].includes(type)) { if (["diskstation", "qnap"].includes(type)) {
if (volume) cleanedService.widget.volume = volume; if (volume) cleanedService.widget.volume = volume;
@@ -525,6 +532,9 @@ export function cleanServiceGroups(groups) {
if (snapshotHost) cleanedService.widget.snapshotHost = snapshotHost; if (snapshotHost) cleanedService.widget.snapshotHost = snapshotHost;
if (snapshotPath) cleanedService.widget.snapshotPath = snapshotPath; if (snapshotPath) cleanedService.widget.snapshotPath = snapshotPath;
} }
if (["glances", "pihole"].includes(type)) {
if (version) cleanedService.widget.version = version;
}
if (type === "glances") { if (type === "glances") {
if (metric) cleanedService.widget.metric = metric; if (metric) cleanedService.widget.metric = metric;
if (chart !== undefined) { if (chart !== undefined) {

View File

@@ -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...",

View File

@@ -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")),
@@ -62,6 +63,7 @@ const components = {
moonraker: dynamic(() => import("./moonraker/component")), moonraker: dynamic(() => import("./moonraker/component")),
mylar: dynamic(() => import("./mylar/component")), mylar: dynamic(() => import("./mylar/component")),
navidrome: dynamic(() => import("./navidrome/component")), navidrome: dynamic(() => import("./navidrome/component")),
netalertx: dynamic(() => import("./netalertx/component")),
netdata: dynamic(() => import("./netdata/component")), netdata: dynamic(() => import("./netdata/component")),
nextcloud: dynamic(() => import("./nextcloud/component")), nextcloud: dynamic(() => import("./nextcloud/component")),
nextdns: dynamic(() => import("./nextdns/component")), nextdns: dynamic(() => import("./nextdns/component")),
@@ -79,7 +81,7 @@ const components = {
pfsense: dynamic(() => import("./pfsense/component")), pfsense: dynamic(() => import("./pfsense/component")),
photoprism: dynamic(() => import("./photoprism/component")), photoprism: dynamic(() => import("./photoprism/component")),
proxmoxbackupserver: dynamic(() => import("./proxmoxbackupserver/component")), proxmoxbackupserver: dynamic(() => import("./proxmoxbackupserver/component")),
pialert: dynamic(() => import("./pialert/component")), pialert: dynamic(() => import("./netalertx/component")),
pihole: dynamic(() => import("./pihole/component")), pihole: dynamic(() => import("./pihole/component")),
plantit: dynamic(() => import("./plantit/component")), plantit: dynamic(() => import("./plantit/component")),
plex: dynamic(() => import("./plex/component")), plex: dynamic(() => import("./plex/component")),

View File

@@ -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>
);
}

View File

@@ -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 });
}
}

View File

@@ -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;

View File

@@ -19,6 +19,7 @@ export default function Component({ service }) {
<Container service={service}> <Container service={service}>
<Block label="esphome.online" /> <Block label="esphome.online" />
<Block label="esphome.offline" /> <Block label="esphome.offline" />
<Block label="esphome.offline_alt" />
<Block label="esphome.unknown" /> <Block label="esphome.unknown" />
<Block label="esphome.total" /> <Block label="esphome.total" />
</Container> </Container>
@@ -27,6 +28,7 @@ export default function Component({ service }) {
const total = Object.keys(resultData).length; const total = Object.keys(resultData).length;
const online = Object.entries(resultData).filter(([, v]) => v === true).length; const online = Object.entries(resultData).filter(([, v]) => v === true).length;
const notOnline = Object.entries(resultData).filter(([, v]) => v !== true).length;
const offline = Object.entries(resultData).filter(([, v]) => v === false).length; const offline = Object.entries(resultData).filter(([, v]) => v === false).length;
const unknown = Object.entries(resultData).filter(([, v]) => v === null).length; const unknown = Object.entries(resultData).filter(([, v]) => v === null).length;
@@ -34,6 +36,7 @@ export default function Component({ service }) {
<Container service={service}> <Container service={service}>
<Block label="esphome.online" value={t("common.number", { value: online })} /> <Block label="esphome.online" value={t("common.number", { value: online })} />
<Block label="esphome.offline" value={t("common.number", { value: offline })} /> <Block label="esphome.offline" value={t("common.number", { value: offline })} />
<Block label="esphome.offline_alt" value={t("common.number", { value: notOnline })} />
<Block label="esphome.unknown" value={t("common.number", { value: unknown })} /> <Block label="esphome.unknown" value={t("common.number", { value: unknown })} />
<Block label="esphome.total" value={t("common.number", { value: total })} /> <Block label="esphome.total" value={t("common.number", { value: total })} />
</Container> </Container>

View File

@@ -16,15 +16,15 @@ 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, `${version}/cpu`, {
refreshInterval: Math.max(defaultInterval, refreshInterval), refreshInterval: Math.max(defaultInterval, refreshInterval),
}); });
const { data: systemData, error: systemError } = useWidgetAPI(service.widget, "system"); const { data: quicklookData, error: quicklookError } = useWidgetAPI(service.widget, `${version}/quicklook`);
useEffect(() => { useEffect(() => {
if (data) { if (data) {
@@ -71,22 +71,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>
)} )}

View File

@@ -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(
@@ -24,7 +24,7 @@ export default function Component({ service }) {
); );
const [ratePoints, setRatePoints] = useState(new Array(pointsLimit).fill({ a: 0, b: 0 }, 0, pointsLimit)); const [ratePoints, setRatePoints] = useState(new Array(pointsLimit).fill({ a: 0, b: 0 }, 0, pointsLimit));
const { data, error } = useWidgetAPI(service.widget, "diskio", { const { data, error } = useWidgetAPI(service.widget, `${version}/diskio`, {
refreshInterval: Math.max(defaultInterval, refreshInterval), refreshInterval: Math.max(defaultInterval, refreshInterval),
}); });

View File

@@ -11,11 +11,11 @@ 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, `${version}/fs`, {
refreshInterval: Math.max(defaultInterval, refreshInterval), refreshInterval: Math.max(defaultInterval, refreshInterval),
}); });

View File

@@ -16,12 +16,12 @@ 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, `${version}/gpu`, {
refreshInterval: Math.max(defaultInterval, refreshInterval), refreshInterval: Math.max(defaultInterval, refreshInterval),
}); });

View File

@@ -74,13 +74,13 @@ 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, `${version}/quicklook`, {
refreshInterval, refreshInterval,
}); });
const { data: systemData, errorL: systemError } = useWidgetAPI(service.widget, "system", { const { data: systemData, errorL: systemError } = useWidgetAPI(service.widget, `${version}/system`, {
refreshInterval: defaultSystemInterval, refreshInterval: defaultSystemInterval,
}); });
@@ -122,7 +122,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 +140,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>
)} )}

View File

@@ -17,11 +17,11 @@ 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, `${version}/mem`, {
refreshInterval: Math.max(defaultInterval(chart), refreshInterval), refreshInterval: Math.max(defaultInterval(chart), refreshInterval),
}); });

View File

@@ -17,13 +17,16 @@ 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(":");
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(widget, "network", { const { data, error } = useWidgetAPI(widget, `${version}/network`, {
refreshInterval: Math.max(defaultInterval(chart), refreshInterval), refreshInterval: Math.max(defaultInterval(chart), refreshInterval),
}); });
@@ -36,8 +39,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) {
@@ -47,7 +50,7 @@ export default function Component({ service }) {
}); });
} }
} }
}, [data, interfaceName, pointsLimit]); }, [data, interfaceName, pointsLimit, rxKey, txKey]);
if (error) { if (error) {
return ( return (
@@ -97,7 +100,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 +118,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")}

View File

@@ -22,9 +22,11 @@ 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 { data, error } = useWidgetAPI(service.widget, "processlist", { const memoryInfoKey = version === 3 ? 0 : "data";
const { data, error } = useWidgetAPI(service.widget, `${version}/processlist`, {
refreshInterval: Math.max(defaultInterval, refreshInterval), refreshInterval: Math.max(defaultInterval, refreshInterval),
}); });
@@ -66,7 +68,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>

View File

@@ -16,12 +16,12 @@ 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, `${version}/sensors`, {
refreshInterval: Math.max(defaultInterval, refreshInterval), refreshInterval: Math.max(defaultInterval, refreshInterval),
}); });

View File

@@ -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/{endpoint}",
proxyHandler: credentialedProxyHandler, proxyHandler: credentialedProxyHandler,
}; };

View File

@@ -14,7 +14,7 @@ async function login(widget, service) {
const endpoint = "auth/login"; const endpoint = "auth/login";
const api = widgets?.[widget.type]?.api; const api = widgets?.[widget.type]?.api;
const loginUrl = new URL(formatApiCall(api, { endpoint, ...widget })); const loginUrl = new URL(formatApiCall(api, { endpoint, ...widget }));
const loginBody = { username: widget.username, password: widget.password }; const loginBody = { username: widget.username.toString(), password: widget.password.toString() };
const headers = { "Content-Type": "application/json" }; const headers = { "Content-Type": "application/json" };
// eslint-disable-next-line no-unused-vars // eslint-disable-next-line no-unused-vars
const [status, contentType, data, responseHeaders] = await httpProxy(loginUrl, { const [status, contentType, data, responseHeaders] = await httpProxy(loginUrl, {

View File

@@ -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 });
}
}

View File

@@ -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: {

View File

@@ -0,0 +1,37 @@
import { useTranslation } from "next-i18next";
import Container from "components/services/widget/container";
import Block from "components/services/widget/block";
import useWidgetAPI from "utils/proxy/use-widget-api";
export default function Component({ service }) {
const { t } = useTranslation();
const { widget } = service;
const { data: netalertxData, error: netalertxError } = useWidgetAPI(widget, "data");
if (netalertxError) {
return <Container service={service} error={netalertxError} />;
}
if (!netalertxData) {
return (
<Container service={service}>
<Block label="netalertx.total" />
<Block label="netalertx.connected" />
<Block label="netalertx.new_devices" />
<Block label="netalertx.down_alerts" />
</Container>
);
}
return (
<Container service={service}>
<Block label="netalertx.total" value={t("common.number", { value: parseInt(netalertxData[0], 10) })} />
<Block label="netalertx.connected" value={t("common.number", { value: parseInt(netalertxData[1], 10) })} />
<Block label="netalertx.new_devices" value={t("common.number", { value: parseInt(netalertxData[3], 10) })} />
<Block label="netalertx.down_alerts" value={t("common.number", { value: parseInt(netalertxData[4], 10) })} />
</Container>
);
}

View File

@@ -1,37 +0,0 @@
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: pialertData, error: pialertError } = useWidgetAPI(widget, "data");
if (pialertError) {
return <Container service={service} error={pialertError} />;
}
if (!pialertData) {
return (
<Container service={service}>
<Block label="pialert.total" />
<Block label="pialert.connected" />
<Block label="pialert.new_devices" />
<Block label="pialert.down_alerts" />
</Container>
);
}
return (
<Container service={service}>
<Block label="pialert.total" value={t("common.number", { value: parseInt(pialertData[0], 10) })} />
<Block label="pialert.connected" value={t("common.number", { value: parseInt(pialertData[1], 10) })} />
<Block label="pialert.new_devices" value={t("common.number", { value: parseInt(pialertData[3], 10) })} />
<Block label="pialert.down_alerts" value={t("common.number", { value: parseInt(pialertData[4], 10) })} />
</Container>
);
}

Some files were not shown because too many files have changed in this diff Show More