talira

LibrePhotos

A self-hosted, open-source photo management service with automatic face recognition, object detection, and semantic search

open sourceMITself-hostablefree

LibrePhotos is a self-hosted photo and video library that scans the folders you already have, groups photos on a timeline by day and place, and uses machine learning on your own server to cluster faces, caption and tag photos, and search them in plain words ("dog on a beach"). It's a Django API with a React web app, runs every model with ONNX Runtime, and keeps its data in SQLite or PostgreSQL; it installs as one Docker container, with Docker Compose, on Kubernetes or as a standalone Windows program. It handles RAW, HEIC and JPEG XL, keeps RAW+JPEG pairs and bursts together, finds duplicates, and supports several users, shared albums, public links and OpenID Connect sign-in. MIT licensed; its mobile app isn't released yet.

Ways to install

On your own server

Problems it solves

  • get my family's photos off Google Photos onto a server at home without losing face grouping and search
  • point a photo app at the folders of pictures I already have on my NAS instead of uploading them again
  • search my own photo collection for 'dog on a beach' without tagging anything by hand
  • group thousands of photos by the people in them, naming each person once
  • see my photos on a map and grouped by place from their GPS data, on my own server
  • keep RAW and JPEG versions of the same shot together as one photo in my library
  • find duplicate photos and group burst shots in a self-hosted photo library
  • a photo library server that can read HEIC from my iPhone and RAW files from my camera
  • automatically make albums from events like a weekend trip, without a cloud service
  • give each person in my household their own account on our home photo server
  • share an album with relatives through a public link from my own server
  • run a photo management server on a Windows PC without installing Docker
  • machine-learning photo tagging and captions that run locally, with no data sent to a cloud
  • sign in to my self-hosted photo library with my existing OpenID Connect provider
  • a yearly look back at my photos, like the memories feature, without Google or Apple

Features

  • photos in all common formats, including RAW, HEIC and JPEG XL, plus videos and live photos
  • timeline grouped by day and place, favourites, recent additions, a Memories strip and a yearly Rewind
  • scans existing folders and accepts uploads from the web app
  • multiple users, shared albums and public links
  • albums generated from events
  • face detection and clustering with InsightFace: name a person once and the rest is suggested
  • places and a map from reverse geocoding
  • generated captions and tags for every photo (LFM2.5-VL and OpenCLIP)
  • semantic search with CLIP and search by metadata
  • RAW+JPEG pairs kept as one photo, burst and bracket stacks, and duplicate detection
View 6 more
  • single sign-on through OpenID Connect
  • every model runs on ONNX Runtime, without PyTorch; optional NVIDIA GPU acceleration with Docker Compose
  • single-container deployment with SQLite by default, or PostgreSQL 15+
  • Docker Compose, Kubernetes (Kustomize) and a standalone Windows build with no Docker or Python
  • REST API with Swagger UI and ReDoc docs on each instance
  • error reports stored on your own server, shared only if you choose

Limitations

  • Doesn't have a released mobile app yet: the Android and iOS app has no store build, TestFlight or APK and runs only from source2

Capabilities

Has an APIplan not known
Has single sign-onplan not known

Alternatives

The same job

These do what LibrePhotos does.

  1. Immich High performance self-hosted photo and video management solution
  2. PhotoPrism AI-powered, privacy-first app for browsing, organizing, and sharing photos and videos
  3. Ente Photos Safe home for your photos
  4. Google Photos Edit, Organize, Search, and Backup Your Photos
  5. Lychee Self-hosted photo-management done right
  6. Piwigo Manage, share and organize your photos and videos

Compare LibrePhotos with the top 3