feat: Dahoam start page with accounts, cards and search
images / check (push) Successful in 27s
images / image (push) Successful in 32s

Replica of the reference start page: wallpaper, serif clock, search bar
and link cards, as a TanStack Start app.

- Better Auth: email/password and OIDC single sign-on
- Postgres with Drizzle for the auth tables, cards, links, settings and
  uploaded wallpapers; the server applies the migrations on start
- cards group links; links are dragged inside and between cards
- search with DuckDuckGo, SearXNG or Google, suggestions and / commands
- settings page: name, search engine, wallpaper, account
- UI from collabry-components, copied into src/vendor/collabry
- Dockerfile and a Gitea workflow that checks the code, builds the image
  for amd64 and arm64 and pushes it to the registry on main
This commit is contained in:
Niklas Haiden
2026-11-18 00:09:19 +01:00
parent 54914e8e03
commit 8df74a849c
80 changed files with 9642 additions and 1572 deletions
+23
View File
@@ -0,0 +1,23 @@
DATABASE_URL=postgres://dashboard:dashboard@localhost:5432/dashboard
# openssl rand -base64 32
BETTER_AUTH_SECRET=
# Public URL of this app (used for cookies and the OIDC callback)
BETTER_AUTH_URL=http://localhost:3000
# IPs or CIDRs of your reverse proxy, comma separated (e.g. 172.16.0.0/12).
# Needed for the per-client login rate limit.
TRUSTED_PROXIES=
# Set to "true" to close email/password registration
DISABLE_SIGNUP=false
# SSO (any OIDC provider: Keycloak, Authentik, Authelia, Entra ID, ...)
# Callback URL to register: ${BETTER_AUTH_URL}/api/auth/callback/sso
OIDC_DISCOVERY_URL=
OIDC_CLIENT_ID=
OIDC_CLIENT_SECRET=
OIDC_PROVIDER_NAME=SSO
# SearXNG instance (must be reachable from the browser and from this server)
SEARXNG_URL=