Reference

Configuration & Label Printing

Configure itemized with environment variables at startup, or edit instance settings directly in the in-app Settings page after first-run setup.

Environment

Environment variables

All instance settings (except PORT, DB_PATH, PUID/PGID, TRUST_PROXY, and DEMO_*) can also be updated in Settings after setup.

Core server & storage

Listen port, SQLite database path, container permissions, reverse proxy trust, and canonical QR URL.

Variable Default In-app UI Description
PORT 8080 Env only HTTP listen port inside the container or binary.
DB_PATH /data/itemized.db Env only Path to the SQLite database file (WAL mode).
PUID 1000 Env only User ID for running itemized and owning /data (99 in the Unraid template).
PGID 1000 Env only Group ID for running itemized and owning /data (100 in the Unraid template).
BASE_URL (request host) Editable Canonical HTTPS URL encoded into printed QR labels and OIDC redirect callbacks.
TRUST_PROXY false Env only Set to true behind a reverse proxy so rate limiting reads client IPs from X-Forwarded-For / X-Real-IP.

OIDC Single Sign-On

Optional OpenID Connect authentication (Auth Code + PKCE) tested with Authentik, Authelia, Pocket ID, and Keycloak.

Variable Default In-app UI Description
OIDC_ISSUER (disabled) Editable OIDC issuer discovery URL (uses Authorization Code flow with PKCE).
OIDC_CLIENT_ID (none) Editable Client ID registered with your OIDC identity provider.
OIDC_CLIENT_SECRET (none) Editable Client secret for your OIDC identity provider.
OIDC_AUTO_PROVISION false Editable Automatically create Member accounts on a user’s first successful OIDC sign-in.
OIDC_FORCE false Editable Redirect the login page directly to your identity provider and disable local password login.

Optional AI UPC normalization

Optional LLM-assisted product naming and categorization after OpenFoodFacts barcode lookups, including local Ollama.

Variable Default In-app UI Description
LLM_PROVIDER (disabled) Editable Optional AI provider for UPC name normalization and categorization: anthropic, openai, gemini, or openai-compatible.
LLM_MODEL (none) Editable Model identifier for the configured LLM provider.
LLM_BASE_URL (none) Editable Custom API endpoint for openai-compatible servers (for example http://ollama:11434/v1).
LLM_API_KEY (none) Editable API key for the selected LLM provider (omit if your local endpoint does not require one).

Public demo mode

Sandboxed evaluation mode with automatic periodic database resets.

Variable Default In-app UI Description
DEMO_MODE false Env only Run in public demo mode: bypasses login as demo admin, seeds sample household data, sandboxes outbound printer/OIDC/LLM calls, and rate-limits UPC lookup to 5/min.
DEMO_RESET_INTERVAL 1h Env only Wall-clock-aligned reset interval for demo mode using Go duration syntax (for example 1h or 30m).

Universal Label Printing

Supported printers & Visual Label Designer

Itemized renders printer-agnostic QR labels on the server and prints directly to network thermal printers, CUPS/AirPrint printers, or local browser PDFs without a companion print server.

No network printer needed

Browser Print / PDF (Local Printer)

Opens an exact-size single- or multi-page PDF (one label per page) right in your browser for manual prints, bulk reprints, Purchase / Quick Add workflows, and automatic Open or freeze/thaw due-date reprints.

  • Any USB or local label printer installed on macOS, Windows, or Linux
  • Standard desktop inkjet or laser printers via the browser print dialog

Zebra / ZPL Compatible (Raw TCP :9100)

Example endpoint: 192.168.1.50:9100

Sends ZPL directly over TCP port 9100 to networked Ethernet or Wi-Fi Zebra thermal printers with no companion print server.

  • Zebra ZD411, ZD421, and ZD621 (Ethernet or Wi-Fi)
  • Zebra ZD220 and ZD230 (networked models)
  • Zebra GK420d, GX420d, and industrial ZT231

Brother QL (TCP :9100)

Example endpoint: 192.168.1.50:9100

Direct raster printing over your LAN to networked Brother QL thermal label printers, with built-in DK label presets.

  • Brother QL-720NW
  • Brother QL-810W
  • Brother QL-820NWB

Rollo / Munbyn / TSC / iDPRT (TSPL :9100)

Example endpoint: 192.168.1.50:9100

Direct TSPL2 printing over TCP port 9100 to networked TSPL-compatible thermal label printers.

  • Networked Rollo and Munbyn thermal printers
  • TSC and iDPRT Ethernet or Wi-Fi label printers

CUPS / AirPrint / IPP Everywhere (IPP PDF)

Example endpoint: http://192.168.1.50:631/printers/my-label-printer

Sends exact-size PDF labels over IPP to AirPrint printers and USB thermal printers shared through CUPS on a Raspberry Pi, NAS, or Linux host.

  • AirPrint and IPP Everywhere network printers
  • USB DYMO, Rollo, Munbyn, or Brother QL-800 shared via CUPS

Zebra ZSB Series (IPP ZPL)

Example endpoint: http://192.168.1.50:631/ipp/print

Direct IPP printing to Zebra ZSB wireless label printers on your local network, with IPP roll-size auto-detection.

  • Zebra ZSB-DP12 (2-inch wireless thermal printer)
  • Zebra ZSB-DP14 (4-inch wireless thermal printer)
Explore Zebra ZSB Series

Label sizes and auto-detection

Every printer profile supports Auto-detect for IPP printers (querying the loaded roll size automatically when you save), built-in presets such as 2.25" x 1.25" and Brother DK-1209 62 x 29 mm, or custom dimensions in mm or in along with configurable DPI and Die-Cut / Continuous media types.

No label printer? No problem. Printing labels is optional. You can track groceries directly using their existing retail UPC barcodes, or use Browser Print / PDF with any printer already connected to your computer.

Visual Label Designer

Under Settings -> Label Printing -> Label Designer, design separate layouts for item, product, and location labels without writing raw printer commands:

  • Place the optional QR Code and each field onto any cell of the 3x3 anchor grid (Top Left through Bottom Right).
  • Configure independent text alignment (Left, Center, or Right), font size, bold, and icons per field, and toggle or reorder fields freely.
  • Use the Live Preview size switcher to inspect exact rendered output for any configured printer or label preset before saving, or restore defaults anytime with Reset to Default.

Product label modes

Each product lets you choose what prints automatically during Purchase and when opening, freezing, or thawing updates an item’s due date: No automatic label (none), One label per item (per_item, encoding a unique /go/i/:id QR), or One product label (per_product, encoding a reusable /go/p/:id QR).

Set BASE_URL before printing labels. If you print labels while running behind a reverse proxy, make sure BASE_URL points to your HTTPS domain (for example https://itemized.example.com) so scanning any QR label with your phone’s native camera opens the QR Quick Action screen reliably.