A read-only, directory-first photo gallery that runs on a Raspberry Pi

AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.

Why it matters

PiGallery2 lets self-hosters browse existing photo folders on a Raspberry Pi without any import, database lock-in or file modification, offering a low-risk alternative to photo apps that reorganize libraries.

Read this as

PiGallery2 is a free, self-hosted web app that turns an existing folder of photos into a browsable gallery. Unlike most photo apps, which copy and reorganize your pictures into their own library, it simply displays your folders as they are and never changes a file. It runs on modest hardware such as a Raspberry Pi using Docker (a way to package and run software). Anyone whose photos are scattered across folders and rarely viewed benefits.

PiGallery2 is a free, single-developer open-source project offering photo browsing without vendor lock-in, aimed at hobbyists running Raspberry Pis rather than enterprises. Its read-only design means zero risk to existing files, and setup is a short Docker command with four volume mounts. The caveat: it performs no rate limiting, so public exposure requires a reverse proxy with HTTPS, and the maintainer's bus factor is one. No paid alternative is displaced here.

PiGallery2 is a Docker-deployed web application (amd64 and arm64v8 images) that indexes an existing directory tree into its own database and serves a browsable HTTP interface; the photos mount is set read-only via the :ro flag. Features include search, maps, albums, face detection and sharing, plus a PWA and a community Android/Android TV client. It performs no rate limiting, requiring an nginx reverse proxy for HTTPS when exposed externally. Native installs are possible but unsupported.

Questions this answers

The article above answers these:

  • how do I view my photo folders from my phone without an import step?
  • how do I set up PiGallery2 in Docker?
  • how do I secure PiGallery2 when exposing it beyond my local network?

Read the original

This summary exists to save you time, not to replace the source.

Key terms

PiGallery2 Docker Raspberry Pi nginx GitHub

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading

datasette-charts 0.5a0

Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.