Skip to content

Settings overview

Horde Settings (/settings) controls appearance, library behavior, playback, optional AI, and system health. Preferences use a three-layer persistence model so the UI feels instant on this browser while still following you across devices that share the same Horde server.

Three-layer persistence

Layer Where What lives there
Browser localStorage key horde.settings Full client Settings object (themes, playback prefs, AI panel state, and more). Applied immediately on every change.
Server UI blob app_settings.json → ui Keys listed in SERVER_UI_KEYS. Synced after local writes (~300 ms debounce) and hydrated on load when the blob is non-empty.
Top-level app settings app_settings.json root + nested ai Server-owned values such as progress_expiry_days, catalog limits, metadata interval, and the entire ai object. Edited via /api/settings (and the AI panes).
flowchart LR
  UI[Settings UI] --> LS["localStorage<br/>horde.settings"]
  UI --> API["PATCH /api/settings"]
  API --> JSON["DATA_DIR/app_settings.json"]
  JSON --> UIBlob["ui blob"]
  JSON --> Top["progress_expiry_days,<br/>catalog, metadata…"]
  JSON --> AI["ai object"]
  UIBlob -. hydrate .-> LS

How sync works

  1. Boot — Load horde.settings from localStorage and apply theme, custom CSS (when enabled), and fonts immediately.
  2. Hydrate — One GET /api/settings for the whole app. If ui has keys, they overwrite matching local fields (plus progress_expiry_days → progressExpiryDays). If ui is empty and setup_completed is true, the client migrates local SERVER_UI_KEYS up to the server. If setup is still incomplete, leftover local prefs are not pushed up (so a factory reset cannot restore the old theme/codec).
  3. Edits — useSettings writes localStorage first, then schedules a patch of the ui blob. Top-level and AI fields use explicit save helpers (e.g. progress expiry, catalog caps, saveAi).

Per account

The ui blob is saved per user (user_settings), layered over a server-wide default. AI and System tabs are visible to administrators only (user accounts are managed in Account settings); members see Appearance, Library and Playback and can change only their own preferences. Server-wide parts of those three tabs (progress expiry, playback compatibility, metadata and catalog, background and font uploads) are hidden from members too; see what members can and can't change.

Same server, new browser

Opening Horde on another machine pulls the server ui blob and AI/app settings. Keys not in SERVER_UI_KEYS (notably volume and lastCustomChannel) stay per-browser.

See All settings for every key, default, type, and storage layer.

Tab Path Doc
Appearance ?tab=appearance appearance.md
Library ?tab=library library.md
Playback ?tab=playback playback.md
AI ?tab=ai ai.md
System ?tab=system system.md

User accounts, your profile picture and your password are in Account settings (/account, from the account menu); ?tab=users redirects there.

Query parameters

Param Values Behavior
tab appearance | library | playback | ai | system Opens that tab. Also stored in localStorage as horde.settings.tab.
pane providers | features | jobs AI sub-pane (meaningful when tab=ai).

Examples:

  • /settings?tab=appearance
  • /settings?tab=library
  • /settings?tab=playback
  • /settings?tab=ai&pane=providers
  • /settings?tab=ai&pane=features
  • /settings?tab=ai&pane=jobs
  • /settings?tab=system

Legacy downloads tab

?tab=downloads and a stored tab value of downloads both resolve to Library. Download badge / loudness controls live under Library → Downloads.

The search box at the top of Settings filters rows across tabs using a keyword registry (synonyms like “sponsor”, “vram”, “wiki”).

  • Matching sections stay visible; non-matches hide.
  • If the current tab has no hits, Horde jumps to the first tab (and AI pane) that matches.
  • Clearing search restores the previous tab/pane context.