Deploy Now

Stars

2,286

Forks

267

Watchers

21

Developer links

PiGallery2

PiGallery2 turns any mounted folder of images and home videos into a high-speed web gallery without modifying your raw files or forcing migration into a database silo. The server scans directories in read-only mode, keeping folder structures intact while generating responsive previews with hardware-accelerated Sharp processing. Users can inspect detailed camera EXIF metadata, toggle custom full-screen lightboxes with swipe gesture navigation, and stream high-definition MP4 or WebM video clips. Embedded GPS coordinates automatically pin photos onto interactive OpenStreetMap or Mapbox views, allowing travel albums to display alongside synchronized GPX track routes. Powerful boolean search expressions filter across dates, keywords, camera models, and Adobe XMP face regions without requiring expensive background machine learning models. Built-in link sharing creates password-protected access links with custom expiration dates for friends and family. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. MIT licensed.

PiGallery2
PiGallery2
PiGallery2
PiGallery2
PiGallery2

Benefits

  • Strict Read-Only Media Preservation
  • Mounts image and video directories in read-only mode, guaranteeing that raw files and folder hierarchies remain untouched by database scans or thumbnail creation.
  • Interactive Geolocation and GPX Mapping
  • Extracts GPS coordinates from EXIF tags to project photo locations onto OpenStreetMap layers, rendering companion GPX trajectory tracks for travel logging.
  • Hardware-Accelerated On-The-Fly Thumbnails
  • Generates responsive multi-size image thumbnails dynamically via Sharp and Jimp pipelines, prioritizing visible viewport images first to deliver snappy browsing performance on low-memory servers.
  • Granular Boolean Search Engine
  • Executes complex search queries utilizing boolean operators, wildcards, and date ranges to query keywords, camera parameters, and person tags instantly.

Features

  • Directory First Architecture
  • Renders the exact filesystem folder structure as album collections without imposing proprietary database catalogs or file renames.
  • Interactive EXIF Lightbox
  • Provides full-screen slideshow viewing with swipe controls, zoom capabilities, and an inspector panel detailing ISO, aperture, and shutter speeds.
  • Video Playback Pipeline
  • Transmuxes and streams MP4, OGG, and WebM video formats using FFmpeg and FFprobe background thumbnail extraction.
  • Adobe XMP Face Tagging
  • Reads standardized Metadata Working Group face regions from XMP metadata to highlight and group tagged people in pictures.
  • Expiring Public Share Links
  • Generates secure, password-protected guest links with configurable expiration timestamps and custom access restrictions for selected albums or directories.

Apps Similar to PiGallery2