# PiGallery2

> Fast, directory-first self-hosted photo gallery for low-resource servers like the Raspberry Pi

Source: https://talira.ai/catalog/pigallery2-3b1tmnjz
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Web app
- Categories: [media / photos / library management](https://talira.ai/categories/media/photos/library-management)
- Licence: MIT[^1]
- Pricing: Free and open source
- Free tier: yes
- Self-hostable: yes[^2]
- SSO: yes[^3]
- Plugins: yes[^3]
- Backed by: [Patrik J. Braun](https://talira.ai/orgs/bpatrik.md)

PiGallery2 is a self-hosted photo gallery website that shows your photo folders as they are: point it at a directory and browse it, with thumbnails generated on the fly, and it never modifies your photos (the folder is mounted read-only). It's built to run fast on low-end hardware such as a Raspberry Pi. It puts photos on a map from their location data (and .gpx tracks beside them), searches with boolean logic, ranges and keywords such as person, date, rating or distance from a place, saves searches as logical albums, shows faces from XMP face regions, plays videos, and shares folders or search results by links that can have a password. Sign-in can be off, built in, or OpenID Connect. Docker (amd64 and arm64) is the supported way to run it; it can be installed on a phone as a PWA and takes server-side extensions. One developer builds it in his free time.

## Links

- Website: https://bpatrik.github.io/pigallery2/
- GitHub: https://github.com/https://github.com/bpatrik/pigallery2
- Docs: https://bpatrik.github.io/pigallery2/

## Problems it solves

- browse my photo folders from a web browser on a Raspberry Pi
- share an album of family photos with a password-protected link
- self-host a photo gallery that doesn't reorganise or change my files

## Features

- directory-first browsing of your photo folders
- read-only: never modifies photos
- on-the-fly thumbnails
- map from GPS data and .gpx tracks
- boolean search with ranges and keywords
- logical albums from saved searches
- password-protected share links
- faces from XMP metadata
- video playback
- OpenID Connect sign-in
- PWA and extensions

## Capabilities

- Takes plugins: plan not known
- Has single sign-on: plan not known

## Trust

Overall: 0.67 out of 1.
Signals: maintenance 1.00, adoption 0.67, momentum 0.39, community 0.80, backing 0.30, extensibility 0.20.

- last commit yesterday
- 650 commits in the last 90 days
- latest release 3.8.0 6 days ago
- 2.3k GitHub stars
- 98 contributors
- accepts sponsorship (Github, Ko Fi)
- backed by Patrik J. Braun
- has a plugin system

## Alternatives

- [Immich](https://talira.ai/catalog/immich-ghds8n8s.md): High performance self-hosted photo and video management solution
- [PhotoPrism](https://talira.ai/catalog/photoprism-b8rhwtgk.md): AI-powered, privacy-first app for browsing, organizing, and sharing photos and videos
- [Photoview](https://talira.ai/catalog/photoview-gakdf02p.md): Simple self-hosted photo gallery for photographers
- [Lychee](https://talira.ai/catalog/lychee-yv83h7n1.md): Self-hosted photo-management done right
- [ChronoFrame](https://talira.ai/catalog/chronoframe-j9h4x5ht.md): Self-hosted personal photo gallery
- [Piwigo](https://talira.ai/catalog/piwigo-cm3wb75h.md): Manage, share and organize your photos and videos

## Sources

[^1]: https://github.com/bpatrik/pigallery2/blob/master/LICENSE (checked 23 Nov 2026)
[^2]: https://github.com/bpatrik/pigallery2/blob/master/README.md (checked 23 Nov 2026)
[^3]: https://bpatrik.github.io/pigallery2/features (checked 23 Nov 2026)
