feat: status dots show whether a link's address answers

With STATUS_CHECKS=true the server requests the address of every link of
the open dashboard once a minute and the tile shows a green dot or a red
ring. Off by default: users choose the addresses, so a user could find
out which hosts and ports the server reaches.
This commit is contained in:
Niklas Haiden
2026-11-21 19:19:44 +01:00
parent cba6eddc56
commit b6e5d81dc0
7 changed files with 192 additions and 10 deletions
+8
View File
@@ -49,6 +49,7 @@ Build it yourself: `docker build -t dahoam .`
| `DISABLE_SIGNUP` | `true` closes email/password registration. Set it after you made your account. |
| `OIDC_DISCOVERY_URL`, `OIDC_CLIENT_ID`, `OIDC_CLIENT_SECRET` | Turns on the SSO button. Redirect URI: `<BETTER_AUTH_URL>/api/auth/callback/sso` |
| `OIDC_PROVIDER_NAME` | Text on the SSO button ("Continue with …") |
| `STATUS_CHECKS` | `true` shows on every link whether its address answers. Off by default, see Notes. |
| `SEARXNG_URL` | Your SearXNG instance. Makes SearXNG selectable in Settings. |
## Use
@@ -71,6 +72,8 @@ Build it yourself: `docker build -t dahoam .`
site's `/favicon.ico`. When the library has a light version of the icon (`github-light`),
that one is used, because the cards are dark. Or type in the field to search that library and click an icon,
paste an image URL, or upload your own image (PNG, JPEG, WebP, AVIF or SVG, up to 1 MB).
- **Status** (with `STATUS_CHECKS=true`): a green dot on a link means that its address
answers, a red ring that it does not. Checked once a minute.
- **Search**: `/` focuses the bar. `!w cats` uses DuckDuckGo bangs. `/settings`, `/add link`,
`/add card`, `/add dashboard` and `/sign out` run commands.
- **Open a link from the search bar**: type the start of its name (`jel` for Jellyfin). The
@@ -87,6 +90,11 @@ Build it yourself: `docker build -t dahoam .`
- Suggestions come from DuckDuckGo, or from SearXNG (`/autocompleter`) when it is the
selected engine. The server fetches them, the browser never calls those hosts directly.
- Status checks: the server requests each link's address (a GET, redirects are not
followed, the answer is thrown away) and tells the browser only up or down. Up is any
answer below 500, and also a certificate that the server does not trust. Because users
choose the addresses, a user can find out which hosts and ports the server can reach.
Turn it on for people you trust, together with `DISABLE_SIGNUP=true`.
- SSO does not take over an existing password account with the same email
(Better Auth blocks it, because password emails are not verified). Use one or the other per email.
- Icon lookups send the link name to the jsDelivr CDN. The link dialog also loads the