基于 Immich 图书馆的 Pictaria Frame 自主托管的辅助服务器。
Self-hosted photo intelligence, enrichment, curation, and automation for your Immich library. Pictaria Server helps you explore and understand your collection, optionally enrich it with AI, review your best photos, and build Smart Albums that stay up to date—all through a private web dashboard running on your hardware.
Use it as a standalone Immich application or pair it with Pictaria Frame. When paired, it also powers centralized curation, remote control, voice features, ambient information, and display history across your Frames. It runs as one container with one Node process and zero npm dependencies.
Pictaria Server includes:
/insights.html): photos per year with a person/place/tag lens, a "where you were" timeline with auto-detected trips, a people constellation (faces linked by shared photos), records (busiest day, home base, furthest from home), and leaderboards for people, places, cameras, and tags. Every number is clickable — browse the photos behind it, open the same view in Immich, or turn it into an album. Everything is computed by Pictaria from a periodic Immich sweep; optional Geoapify place naming sends coordinates to the provider you configured./enrich.html), with reusable prompt/taxonomy profiles and automatic AI-tag sync to Immich. Inspect run and photo timings and compare setups on Enrich performance (/enrich-performance.html). Works with operator-hosted Ollama, LM Studio, llama.cpp and other OpenAI-compatible endpoints, or through the cloud with OpenAI, OpenRouter, Venice, or Ollama's cloud models./curate.html). Same-moment photos collapse into Stacks with a suggested keeper: a silver ★ from frame-worthiness scores, or a gold ★ when the optional AI referee has compared the group side by side./albums.html). A free-text rule can run in Best of mode: each search hit is double-checked against your own enrichment data and the keepers are ranked by your Curate decisions and photo scores — a "Top 50" that is your best 50, not Immich's first 50. Each run re-syncs the album to its rule, and deleting a rule never deletes the Immich album itself. (Rules, Best of, the sync.)/remote.html). Multiple frames run off one server: each device reports under its own name, and a device picker appears when more than one is known so commands reach only the frame you chose. Retired or re-onboarded devices are cleaned up under Settings → Devices./metrics.html, the "Frame" nav item). Counts only; voice transcripts are never stored./settings.html); changes apply immediately, no restart./activity.html), with filters and bounded JSON/CSV downloads. Sensitive content such as prompts, transcripts, captions, job logs, and provider errors is never projected into the feed.These are the same privacy-scrubbed product views published on the Pictaria Server page. Select any image to open it at full size.
Insights — collection statistics, people and places, and the timeline behind them.
Curate — related shots become stacks with a suggested keeper and a human decision.
Smart Albums — saved rules keep real Immich albums synchronized on a schedule.
Frame Metrics — a local display ledger shows what each Pictaria Frame has presented.Production installs should select an explicit reviewed release. The source tag and matching versioned GHCR image keep the deployment inputs aligned.
…Open http://your-host:4080, enter your app password, and you're in.
Pictaria Server v1 requires Immich 2.0 or newer. It has been tested with Immich 2.7.5 and 3.1.0; other versions may work but are not explicitly validated. See Immich compatibility before upgrading Immich.
Requires Node 22.16+ on the 22 line, or 23.8+ beyond it (node:sqlite
and its online-backup API; earlier builds fail at boot — engines says
^22.16.0 || >=23.8.0). The production container and CI suite use Node 22;
newer supported versions work as well.
PICTARIA_RELEASE=v1.2.1 # replace with the release you are installing
git clone --branch "$PICTARIA_RELEASE" --depth 1 \
https://github.com/pictaria-ai/pictaria-server.git
cd pictaria-server
cp .env.example .env # edit as above
chmod 600 .env
npm startTo evaluate unreleased work, clone the moving main branch and build it
locally. This path can change between releases and is not the production
install or upgrade procedure:
git clone https://github.com/pictaria-ai/pictaria-server.git
cd pictaria-server
cp .env.example .env # edit as above
chmod 600 .env
docker compose up -d --buildFor every later production update, follow Upgrading and select the release you intend to run.
Either way, continue with the first-run checklist — connect Immich, install the app, and switch on the optional features one by one.
Only a handful of values have to be environment variables: the listen address/port, the data paths, and APP_PASSWORD. Everything else — the Immich connection, AI providers and models, voice, weather, backups — can be set (and changed at any time, no restart) from the web UI. Provider connections and model identifiers live under Settings → AI Providers. Manage reusable prompts and taxonomy under Settings → Enrichment profiles, then choose the active provider and profile on Enrich; those choices are remembered across visits and restarts.
Configuration fields with environment equivalents use a saved UI override until cleared. Enrichment profiles are stored separately in the database: configured prompt/taxonomy files seed the initial profile, but later file changes do not overwrite saved profiles. See the profile guide.
See docs/CONFIGURATION.md for the complete reference and .env.example for an annotated starter file. The short version:
| Variable | Required | What it does |
|---|---|---|
IMMICH_BASE_URL |
yes (env or Settings) | Server-reachable Immich address over HTTP or HTTPS, e.g. http://immich.local:2283 or https://photos.example.com; omit trailing /api |
IMMICH_API_KEY |
yes (env or Settings) | An Immich API key for your account — full access not required; see the least-privilege checklist in Getting started |
APP_PASSWORD |
strongly recommended | Protects the API and web UI (env-only). Blank or missing refuses startup unless ALLOW_INSECURE_OPEN=true. |
ALLOW_INSECURE_OPEN |
no | Dangerous explicit opt-in to run without authentication. Anyone who can reach the server can browse photos and perform Immich-backed mutations. |
OPENAI_API_KEY / OPENAI_COMPATIBLE_* / LMSTUDIO_* / OPENROUTER_* / OLLAMA_* / VENICE_* |
for Enrich | Provider connections and vision-model identifiers; configure the same values under Settings → AI Providers |
DEFAULT_PROVIDER |
no | Initial/infrastructure fallback for Enrich; choosing a provider on the Enrich page saves the active choice for future runs |
INFERENCE_HOST_LABEL |
no | Optional operator-authored label saved with new Enrich run summaries for comparing inference machines; editable under Settings → Enrich |
TTS_PROVIDER + keys |
for Voice | openai or elevenlabs text-to-speech |
WEATHER_DEFAULT_LOCATION |
for Ambient | Default weather place (any city name or US zip) |
GEOCODING_PROVIDER + GEOAPIFY_API_KEY |
optional | Reverse geocoding for nicer location labels |
Both HTTP and HTTPS Immich connections are supported. Publicly trusted HTTPS
certificates work normally; a private/home CA must be trusted by the Node
process inside the container. Addresses without a scheme default to HTTP, so
enter the full https:// address when you intend to use TLS. See
Configuration for a
private-CA example and the distinction between the server-reachable
IMMICH_BASE_URL and browser-facing IMMICH_PUBLIC_URL.
All state lives in one directory (./data, or the /data volume in Docker): enrichment.sqlite, smart-albums.json, frame.db, settings.json, insights.sqlite, custom models under wake-word-models/, and automatic snapshots under backups/.
Pictaria Server has no telemetry, analytics, or Pictaria-operated cloud service. It does make the connections needed for features you choose:
Insights statistics and app metrics are stored locally. Voice usage counters record only a command label and timestamp; transcripts are never stored.
Pictaria Server is built as a LAN tool: it speaks plain HTTP and uses a single shared password. If you want to reach it from outside your network, don't port-forward it directly — put it behind an HTTPS reverse proxy (Caddy, nginx, Traefik) or a VPN/tunnel like Tailscale or WireGuard, and keep the server itself listening only where the proxy can reach it.
If Docker publishes the port directly on a Tailscale or other VPN-owned host
address, read the VPN boot-order guidance.
The default 4080:4080 mapping does not have that address dependency.
When it is only ever reached through HTTPS, also set SESSION_COOKIE_SECURE=true so the browser session cookie is never sent over plain HTTP (leave it unset for normal LAN use — it breaks plain-http:// login). For a public custom domain, set BROWSER_ALLOWED_HOSTS to its exact host or host:port (comma-separated for more than one). IP addresses, single-label LAN names, .local, .home.arpa, and Tailscale .ts.net names are accepted automatically. This allowlist keeps an arbitrary DNS-rebinding hostname from serving the login UI, becoming its own cookie/Origin trust anchor, or reaching the API in deliberate
暂无开放 Issues,或尚未同步最近议题。