Skip to content

Administration

Server settings are available to administrators from Settings → Server. The current stable release includes the following areas.

Users

Create and manage accounts, promote trusted users to administrators, deactivate accounts, and help users recover access. User libraries and personal reading data are isolated by account.

Use strong unique passwords and avoid sharing administrator credentials. For command-line recovery, see the repository’s admin tools documentation.

Metadata providers

Metadata lookup and cover retrieval use external providers. Provider outages, missing editions, and rate limits are normal possibilities. If a lookup fails, keep the original book data and retry later or edit the book manually.

Google Books API key

Add a key under Settings → Server → Metadata. Without one, the app uses Google's shared anonymous quota, which is usually exhausted, so lookups are slow and unstable. See Google Books API key.

Metadata provider order

Google Books is the preferred provider for title/author search and cover candidates. OpenLibrary is queried only when Google is paused, over quota, times out, or returns nothing. Cover candidate search returns several ranked results in a stable order.

API usage and limits

Settings → Server → Metadata shows, for each provider, requests made today against the daily limit with a progress bar, an Active or Paused status, when lookups resume, how many lookups were skipped, and the active limits. The same data is available as JSON at /api/api-limits (login required).

  • Google Books is counted per day. Calls pause when Google reports the quota as exhausted and resume when the quota resets (midnight Pacific time). The local daily limit is GOOGLE_BOOKS_DAILY_LIMIT (default 1000; 0 for no limit).
  • OpenLibrary is throttled to OPENLIBRARY_MAX_REQUESTS requests per 2 seconds (default 3). A lookup that would wait longer than OPENLIBRARY_MAX_WAIT_SECONDS (default 8) is skipped.
  • Usage state is shared across all Gunicorn workers and persists across restarts.
  • API_LIMITS_ENABLED=false disables the counters and throttling.

See Environment variables for the full list.

Backup, SMTP, and AI

  • Backup configures where automated backup files are stored.
  • SMTP can be configured for deployments that need email support.
  • AI settings are optional; enable them only after reviewing the provider and privacy implications.

See Backups & restore before changing storage or restoring data.

OPDS and Audiobookshelf

OPDS exposes library content to compatible reading applications. Audiobookshelf synchronization can import or update audiobook-related data and listening progress. Both integrations should be tested with a limited scope before enabling scheduled synchronization.

See Integrations.

Repairs and jobs

The Repairs panel handles incomplete metadata and data-health fixes. The Jobs panel helps inspect background work such as imports and synchronizations. See Repairing incomplete metadata and the relevant import guide.

Update notice

Administrators see a dismissible "New update available" banner that links to the release page when a newer stable release appears on GitHub releases. The check runs in the background (at most about every 6 hours by default), results are cached, and it sends no identifying data (only a MyBibliotheca/<version> User-Agent). The app never updates itself.

Setting Effect
UPDATE_CHECK_ENABLED=false Disables all outbound update checks (for air-gapped or privacy-sensitive installs)
UPDATE_CHECK_TTL_SECONDS Optional: seconds a result is cached before checking again (default 21600)

Security checklist

  • Set unique SECRET_KEY and SECURITY_PASSWORD_SALT values.
  • Use HTTPS for remote access.
  • PostgreSQL uses the configured worker count (six by default). While a legacy Kuzu database is active, startup keeps the app to one worker until migration completes.
  • Back up before upgrades, restores, imports, and repairs.
  • Restrict access to the data directory and backup files.
  • Review privacy settings before enabling public or community views.