talira

Self-hosted photo-management done right

open coreMITself-hostablefree

Lychee is a self-hosted photo management and sharing web app built on Laravel: you upload or import photos (from your computer, a server directory, a URL or Dropbox), organise them in nested and smart albums with tags, and share albums publicly, by password or with other users. It reads EXIF and IPTC data, shows photos on a map and a timeline, can embed albums in other websites, and stores files locally or in an S3-compatible bucket, with MariaDB or MySQL, PostgreSQL or SQLite as its database. Users sign in with a password, WebAuthn, LDAP or OAuth providers including Keycloak, Authentik and Authelia. It's MIT licensed, and a Supporter Edition for EUR 5 a month unlocks statistics, user groups and quotas, watermarking and white labelling with a licence key.

Ways to install

Problems it solves

  • host a photo gallery for my photography on my own web space and share albums with clients
  • share a photo album with a password instead of making it public or giving out accounts
  • a simple self-hosted place to upload, tag and organise my photos in nested albums
  • embed a photo album from my own server into my blog or website
  • import a whole directory tree of photos on my server as albums, and keep them in sync
  • put a watermark on photos I share online from my self-hosted gallery
  • sell prints and downloads of my photos from my own gallery with PayPal or Mollie
  • set an upload quota for each member of our club's shared photo site
  • let visitors upload photos to an album without an account, with moderation
  • show my photos on a map and a timeline from their EXIF data, on my own site
  • store my self-hosted photo gallery's files in an S3 bucket
  • log in to our photo gallery with Keycloak, Authentik or our LDAP directory
  • a lightweight Google Photos-style web gallery that runs on a cheap PHP host
  • white-label a photo gallery so it doesn't mention the software we run
  • find duplicate photos by hash in my self-hosted photo collection

Features

  • upload, move, rename, describe, delete and search photos; import from a computer, a server directory, a URL or Dropbox
  • albums within albums, smart albums (per user), tag-based smart albums and sensitive albums
  • public albums, password-protected albums, per-album access rights and cross-user sharing
  • EXIF and IPTC metadata, GPS localisation, map view and timeline
  • justified, masonry and square layouts, slideshow, frame display, flow feed and landing page
  • embed albums in other websites, RSS feed
  • duplicate detection by file name and by hash; import via the CLI or the web UI with directory sync
  • photo ratings, zip download, chunked uploads and hotlink protection
  • sign-in with WebAuthn, OAuth (Amazon, Apple, Authelia, Authentik, Facebook, GitHub, Google, Keycloak, Mastodon, Microsoft, Nextcloud) or LDAP/Active Directory
  • registration page, invite links, per-user trust levels and upload moderation
View 7 more
  • S3-compatible storage (including MinIO) and Redis support
  • worker mode for asynchronous processing
  • JSON API with docs on each instance and personal API tokens
  • MySQL/MariaDB, PostgreSQL or SQLite
  • Docker images on GHCR and Docker Hub, and a Docker Compose wizard
  • Supporter Edition: statistics, user groups with group admins, upload quotas, AES-secured links, watermarking, white label and personal favourites
  • Pro add-on: webshop with custom pricing, Mollie and PayPal payments, offline payments and order administration

Ways to run it

Lychee Free Edition

You run it, MIT

free567

Not included

  • statistics on the library, albums and downloads
  • user groups, upload quotas and space usage per user
  • AES-secured links, watermarking and the white label option
  • the Pro webshop for selling photos

You arrange

  • Docker Compose with MariaDB, or a server with PHP 8.4+, a web server such as Apache or nginx and a database (MySQL/MariaDB, PostgreSQL or SQLite)
  • an S3-compatible bucket if you don't keep photos on local disk
  • an OAuth provider or LDAP server if users shouldn't use local passwords

Self-hosting docs

Lychee Supporter Edition

You run it, MIT

EUR 5 per month (GitHub Sponsors or Open Collective); no trials or refunds5

Only in this edition

  • statistics on the library, albums and downloads, and colour palette extraction
  • user groups with group admins, upload quotas, space usage per user and multi-admin support
  • AES-secured links, watermarking with a custom image, and a white label option
  • personal favourites, renaming rules on import, a contact form and more timeline and flow customisation
  • Pro add-on for some supporters: a webshop with Mollie, PayPal and offline payments

You arrange

  • a personal licence key, entered in the About Lychee dialog; one key works on any number of instances

Self-hosting docs

Capabilities

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

Alternatives

The same job

These do what Lychee does.

  1. Piwigo Manage, share and organize your photos and videos
  2. Immich High performance self-hosted photo and video management solution
  3. PhotoPrism AI-powered, privacy-first app for browsing, organizing, and sharing photos and videos
  4. LibrePhotos A self-hosted, open-source photo management service with automatic face recognition, object detection, and semantic search
  5. Photoview Simple self-hosted photo gallery for photographers
  6. PiGallery2 Fast, directory-first self-hosted photo gallery for low-resource servers like the Raspberry Pi

Compare Lychee with the top 3