Skip to content

PiGallery 2

Fast folder-based photo gallery for Raspberry Pi and other low-power servers

Permissive (OSI) · MIT
  • Self-hosted

Listed by , founder & editor

68

Health

Active

Overview

Stars

2,336

Last commit

yesterday

Nov 2026

Repository age

10 years

since Mar 2016

Latest version

3.8.0

Nov 2026

Contributors

–

4 active in 90 days

Releases

3

last 12 months

Language

TypeScript

PiGallery 2 is a photo gallery website that shows your folder structure as it is on disk. You point it at a photo directory and it serves the gallery. It never modifies that folder, so your originals stay untouched. It is written in TypeScript and licensed under MIT.

The recommended way to run it is Docker. A native Node.js install works but is not officially supported. The interface is a PWA, so you can add it to a phone's home screen. Community extensions can be installed from the settings page, and a community-made Android and Android TV client exists.

It is a partial alternative to Google Photos for people who organize pictures in folders. It has no automatic mobile backup, no face or object recognition and no built-in editing or memories. The maintainer builds it alone and mostly merges bug fixes, keeping new features as settings, themes or extensions.

Who it's for

Raspberry Pi self-hosters

It is tuned for low-end hardware and serves existing folders directly.

Skip if: You want AI search or face grouping.

People with a well-organized photo folder tree

It shows folders as they are and leaves the files read-only.

Skip if: You need uploads and phone backup handled by the app.

The problem it solves

You already keep photos in folders and do not want to import them into a heavy gallery system. PiGallery 2 serves that directory as a web gallery without changing the files.

Strengths

  • Directory-first view mirrors your folder structure
  • Read-only, so your photo folder is never modified
  • Optimized for low-resource servers like the Raspberry Pi
  • Installable as a PWA on a phone
  • MIT licensed

Trade-offs

  • No automatic mobile backup
  • No face or object recognition
  • No built-in editing or memories
  • Maintained by one person who mostly merges bug fixes

PiGallery 2 replaces

Self-host PiGallery 2

Self-hostable
Yes

Frequently asked questions

Is PiGallery 2 free?

Yes. It is licensed under MIT.

How do I run it?

Docker is the recommended method. Native Node.js installs work but are unsupported.

Is there a mobile app?

It is a PWA you can add to your home screen, and a community-made Android and Android TV client exists.

Will it change my photos?

No. The photo folder is treated as read-only.

Other Google Photos alternatives

Compare all 10 Google Photos alternatives →

Similar tools in Photo galleries and managers

Hydrus

Photo galleries and managers

3.3k 209 5 days ago Active WTFPL

ReFra

Photo galleries and managers

3k 194 yesterday Thriving Apache-2.0

afilmory

Photo galleries and managers

2.7k 330 6 days ago Slowing AGPL-3.0

sigal

Photo galleries and managers

950 169 22 days ago Slowing MIT

photonix

Photo galleries and managers

2k 133 today Active AGPL-3.0