Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
pictaria-server

pictaria-server

> 后端框架
Free

Self-hosted companion server for Pictaria Frame, powered by your Immich library.

141 stars0 likes0 views
GitHub

About

Self-hosted companion server for Pictaria Frame, powered by your Immich library.

Pictaria Server

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 — understand your collection (/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 — AI photo classification into a controlled taxonomy (/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 — the human review workflow that decides what your frame shows (/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.
  • Smart Albums — saved Immich searches (people, tags, places, dates, cameras, or free-text ranked search) that keep real Immich albums up to date on a schedule (/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.)
  • Frame Remote — see what each frame is showing and control it live from your phone (/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.
  • Voice — intent parsing, photo Q&A ("where was this taken?"), "what's interesting about this photo", one-shot general Q&A ("tell me …"), photo show-search, and TTS for Pictaria Frame. Try-it testers live in Settings → Voice TTS.
  • Frame Metrics — what your frames have actually shown and which voice commands get used (/metrics.html, the "Frame" nav item). Counts only; voice transcripts are never stored.
  • Settings — nearly all configuration is editable at runtime from the web UI (/settings.html); changes apply immediately, no restart.
  • Activity — a local chronological history of Enrich, Curate, Frame, voice, settings, and server events (/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.
  • Ambient — weather and location display strings for the frame's ambient screen.

See Pictaria Server

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.

Quick start (Docker)

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.

Quick start (bare Node)

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.

bash
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 start

Development preview

To 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:

bash
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 --build

For 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.

Configuration

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/.

Privacy

Pictaria Server has no telemetry, analytics, or Pictaria-operated cloud service. It does make the connections needed for features you choose:

  • Your Immich server supplies library data and images and receives the album, tag, description, or location writes you explicitly enable.
  • Enrich sends the selected image rendition to its selected model. The spoken Interesting command independently sends an Immich preview plus the photo's date, location, and filename to the voice-answer model you selected. A local model keeps those requests within infrastructure you operate; a cloud model receives them through your own provider account.
  • Weather sends the requested city or US ZIP to Open-Meteo for geocoding and the resulting coordinates for the forecast. Optional Geoapify place naming sends photo or calculated home coordinates to your configured account.
  • A selected TTS provider receives the answer text it turns into speech.

Insights statistics and app metrics are stored locally. Voice usage counters record only a command label and timestamp; transcripts are never stored.

Exposing beyond your LAN

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· 5 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

digital-photo-framedockerimmich

No comments yet. Be the first to share.

> Details

PublishedSep 9, 2026
UpdatedSep 18, 2026
Category后端框架
PricingFree

> Related tools

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架