PiGallery 2
A fast directory-first photo gallery website, with rich UI, optimized for running on low resource servers (especially on Raspberry Pi).
Open source alternative to:
PiGallery 2 is a fast, directory-first photo gallery website built with a rich user interface and optimized for low-resource servers — especially the Raspberry Pi. It scans your existing photo folders and generates a beautiful, responsive web gallery without moving or duplicating your files.
Features include automatic thumbnail generation, full-text search, map-based geo-location browsing, and a clean Angular-based UI. It is a solid self-hosted alternative to cloud photo services, keeping your photos on your own hardware while offering a modern browsing experience.
Frequently Asked Questions
Does PiGallery 2 require me to reorganise my photo folders?
No — PiGallery 2 is directory-first: it scans the folders you point it at and builds a gallery from your existing structure without moving, copying, or duplicating any files. Your photos stay exactly where they are and the gallery is generated on top of them. This makes it easy to try out without committing to a migration.
Will PiGallery 2 run well on a Raspberry Pi?
Yes — PiGallery 2 is explicitly optimised for low-resource servers and the Raspberry Pi in particular. It auto-generates thumbnails so the browser never has to load full-resolution originals, which keeps memory and CPU usage low even with large libraries. The Node.js backend and Angular-based UI are designed to stay light on single-board hardware.
What features does PiGallery 2 offer beyond a simple slideshow?
It provides automatic thumbnail generation, full-text search across your library, and map-based geo-location browsing so you can find photos by where they were taken. The responsive interface is fast on both desktop and mobile browsers. Because it is MIT-licensed and self-hosted, your photos remain on your own hardware at all times.
Looking for contributors
This project is actively seeking help, join the community!
OpenAltFinder Score
Project Details
Repository details
Updated 8/27/2026, 2:00:18 AM
View RepositoryRepository activity
Compare PiGallery 2 with
Similar open source alternatives

Home Gallery
Self-hosted open-source web gallery for photos and videos with AI-powered image discovery, face detection, and tagging.
Google Photos
FerrumPix
Desktop photo manager and image editor for Linux, Windows, and macOS with RAW development, batch processing, and Immich/Nextcloud integration.
Google Photos
PhotoPrism
PhotoPrism is an AI-powered self-hosted photo library for browsing, organizing, and sharing your collection. Built in Go, it bakes privacy into the core of every feature you use.
Google Photos
Ente
Open-source, end-to-end encrypted cloud for photos, videos, and 2FA secrets — a privacy-first Google Photos and iCloud Photos alternative.
Google Photos
Foldergram
A self-hosted, Instagram-style photo and video gallery that serves your local folders as a beautiful feed.
Google Photos
Immich
High performance self-hosted photo and video management solution with automatic backup, facial recognition, and AI-powered search.
Google Photos

