Archive documentation for v0.4.1. Read the current release guide.
Read raw source โArchitecture
The portable executable is a Go host. It embeds the statically exported React and Next.js interface, opens a local HTTP listener on an available loopback port, and launches the interface in an installed Chromium-family browser's app mode. The launcher gives that window a separate browser profile for the gallery. The public documentation website is independent of this local process.
Diagram source
flowchart TD
Launch["Portable executable"] --> Host["Go host on 127.0.0.1"]
Launch --> Window["Installed browser in app mode"]
Window -->|"Session requests and local media"| Host
Host -->|"Recursive discovery and read-only media"| Folder["Selected media folder"]
Host -->|"Index, favorites and preferences"| State["SQLite in user configuration"]
Component ownership
The host owns folder selection, file discovery, index updates, preferences, media delivery, and session lifetime. It only serves media from the current gallery. A gallery change starts a new generation, which prevents requests belonging to the previous folder from changing or serving the new one.
The browser owns rendering, media decoding and playback, as well as the preview queue and gallery layout. The installed browser's decoder support determines whether a given original can play or render. Browsing and playback
SQLite stores the discovered index and gallery-specific preferences and favorites. A previously completed index provides the initial list while a fresh scan runs. Configuration and state