PiGallery2 is a self-hosted web application for publishing photo collections directly from a filesystem.
It’s designed for lightweight systems, especially Raspberry Pi, and presents an existing archive through a polished interface instead of requiring users to import files into a separate library.
This is free and open source software.
Key Features
- Supports advanced boolean searching with autocomplete, range queries, keyword filters, and location-based searches.
- Shows geotagged photos on a map and can display GPX tracks with activity-aware colouring and icons.
- Offers sharing links for folders, with optional password protection for private galleries.
- Includes logical albums, random photo links, and photo frame views for saved searches and display setups.
- Reads Adobe XMP face metadata, supports Markdown content inside galleries, and provides per-user filtering controls.
- Includes a rich settings page, Docker-based deployment, and extension support for custom functionality.
Website: github.com/bpatrik/pigallery2
Support:
Developer: Patrik J. Braun
License: MIT License

PiGallery2 is written in TypeScript. Learn TypeScript with our recommended free books and free tutorials.
Related Software
| Web Photo Gallery | |
|---|---|
| PhotoPrism | AI-powered photos app for the decentralized web |
| Immich | Simple to use backup tool for self-hosted photos and videos |
| Piwigo | An excellent solution for hosting and sharing your photos |
| Photoview | Simple and user-friendly photo gallery that’s made for photographers |
| LibrePhotos | Self-hosted photo management service |
| Zenphoto | Mature, standalone Content Management System |
| Coppermine | Feature-rich and integrated, web picture gallery script |
| MediaGoblin | Decentralized Web platform for hosting and sharing digital media |
| Lychee | Attractive and easy-to-use photo management system |
| MyPhotoShare | Static web photo, audio and video gallery |
| HomeGallery | Featuring tagging, mobile-friendly, and AI powered image discovery |
| Damselfly | Server-based Digital Photograph Management system |
| Lutim | Let’s Upload That Image |
| Zoph | Built with PHP and MariaDB |
| fgallery | Static photo gallery generator with no frills that has a stylish, minimalist look |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

