A directory-first photo gallery website optimized for running on low-resource servers and Raspberry Pi hardware.

PiGallery2 is a self-hosted web application that serves as a directory-first photo gallery. It is designed to run on low-resource servers and hardware, specifically targeting devices like the Raspberry Pi. The software allows users to display their existing photo collections through a web interface without requiring a complex database setup or a manual import process for their media files.
The application operates by pointing to a specific directory of images, which it then displays in a browser. It is primarily deployed using Docker, though native installation via Node.js is possible for users familiar with that environment. Because it focuses on directory structures, it mirrors the existing organization of the files on the host system, ensuring that the folder hierarchy created by the user is preserved in the web view.
The software is built using Node.js and Angular. It is intended for users who want a lightweight way to browse their local image archives via a web browser without altering the original file metadata or directory layout. The read-only nature of the application prevents accidental deletion or modification of the source media, making it a safe choice for viewing archives stored on external drives or network attached storage. By avoiding heavy indexing processes, the application maintains a small footprint on the host system's CPU and RAM.
PiGallery2 serves as a lightweight media server for users prioritizing hardware efficiency and directory-based organization.
Back up, organize, and browse personal photo and video libraries on a self-hosted server without cloud access.
Self-hosted photo and video management application using machine learning for automatic tagging and face recognition.
Join our newsletter to get shiny new open source software delivered to your inbox. Unsubscribe anytime.