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 |
| PiGallery2 | Self-hosted web application for publishing photo collections |
| Memories | Self-hosted photo and video management application |
| HomeGallery | Featuring tagging, mobile-friendly, and AI powered image discovery |
| Damselfly | Server-based Digital Photograph Management system |
| Ente Photos | Privacy-focused platform for storing personal data |
| Lutim | Let’s Upload That Image |
| Zoph | Built with PHP and MariaDB |
| Fussel | Photo gallery generator |
| fgallery | Static photo gallery generator with no frills that has a stylish, minimalist look |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.