Favicon of HomeGallery

HomeGallery

A self-hosted photo and video gallery with AI similarity search that preserves your folders and offers a locally hosted image analysis API.

Screenshot of HomeGallery website

HomeGallery is a self-hosted photo and video gallery for people browsing a personal media archive without reorganizing their files. It's designed for a single user with some technical knowledge. By default, AI discovery sends preview images to a public analysis API; you can host that API locally instead.

  • Image and face discovery: Find related photos through image similarity and search for similar faces without manually tagging your whole archive.
  • Tags and search: Tag individual images or selections and combine search conditions with AND, OR and NOT expressions.
  • Location browsing: View GPS-tagged photos on a map and look up addresses for their coordinates.
  • Existing media folders: Bring multiple directories into one gallery, including read-only sources, and browse generated previews when the original disks are offline.
  • Viewing and export: Browse through a mobile-friendly web interface with PWA support, play transcoded videos, export a static gallery and save metadata to XMP sidecar files.

HomeGallery runs on Linux, macOS and Windows, or in Docker, and supports Raspberry Pi hardware. It's open source under the MIT license. Identical files are processed once, and renaming files doesn't require regenerating previews.

The default analysis service at api.home-gallery.org handles image discovery, object detection and face recognition and says it doesn't retain images or private data. Address lookups send GPS coordinates to OpenStreetMap's Nominatim service. The browser loads the complete media database, which is a consideration for large archives.

Similar to HomeGallery