Skip to content

Lychee (electerious/lychee)

Self-hosted PHP photo gallery for people who want to upload, organize and share albums

Permissive (OSI) · MIT

Listed by , founder & editor

18

Health

Dormant

Overview

Stars

6,362

Last commit

5 years ago

Jan 2022

Repository age

14 years

since Oct 2012

Latest version

v3.1.6

Mar 2017

Contributors

–

Releases

0

last 12 months

Language

PHP

Lychee is a photo management tool written in PHP that you run on your own server or web space. You upload photos through the browser, sort them into albums and share them by link. It aims to feel like a native photo app while keeping files on hardware you control.

It needs a web server with PHP and a MySQL database. If Imagick is installed, Lychee uses it for faster upload processing, better thumbnails and intermediate image sizes for small screens. Shared images support Twitter Cards and Open Graph. You can import from Dropbox with your own app key, and community Docker builds exist.

A plugin system runs scripts when certain actions fire. Existing plugins sync a local folder, upload over SSH, add watermarks, create RSS feeds and import from Toshiba FlashAir cards. The MIT-licensed project is now maintained under the LycheeOrg organization, though the original repository has seen no commits since January 2022. It suits you as a self-hosted alternative to hosted photo sharing services.

Who it's for

Hobbyist photographers with a cheap PHP web host

It runs on ordinary PHP and MySQL hosting, so you need no special server setup.

Skip if: You want active development and recent security updates.

Self-hosters who want shareable albums by link

Albums and single photos can be shared with link previews for social sites.

Skip if: You need face recognition or automatic photo backup from phones.

The problem it solves

Hosted photo services keep your originals on someone else's servers and set the sharing rules. Lychee lets you keep albums on your own server and share them by link.

Strengths

  • MIT license with no usage restrictions
  • Runs on plain PHP and MySQL web hosting
  • Uses Imagick when present for better thumbnails
  • Plugins cover folder sync, SSH upload and watermarks
  • Dropbox import available

Trade-offs

  • No commits since January 2022 in this repository
  • Documented against PHP 5.5, so newer PHP versions may need care
  • Docker images come from third parties, not the project
  • Extensions beyond plugins are undocumented and may break

Self-host Lychee (electerious/lychee)

Self-hostable
Yes

Frequently asked questions

Is Lychee free?

Yes. It is released under the MIT license and free to run on your own server.

What do I need to host it?

A web server with PHP and a MySQL database. Imagick is optional but improves image processing.

Can I import photos from Dropbox?

Yes. You need a Dropbox drop-ins app key, which Lychee asks for on first import.

Is it still maintained?

This repository has had no commits since January 2022. Development moved to the LycheeOrg organization in 2018.

Similar tools in Photo storage and galleries

Google Photos Takeout Helper

Photo storage and galleries

Tool that turns a messy Google Takeout export of Photos into one dated folder

6k 334 2 years ago Dormant Apache-2.0

imgpush

Photo storage and galleries

Minimal self-hosted image upload and resize API for app avatars and user images

358 52 3 months ago Slowing MIT

ipfspics-server

Photo storage and galleries

Self-hosted image gallery built on IPFS, for people who want peer-to-peer picture sharing

1.1k 107 7 years ago Dormant AGPL-3.0

Telegraph-Image

Photo storage and galleries

Image host you deploy on Cloudflare Pages, storing uploads in a Telegram channel

4.7k 8.8k 4 months ago Dormant CC0-1.0

Slink

Photo storage and galleries

Self-hosted image sharing site with collections, share links and OIDC sign-in

1.6k 49 17 days ago Active AGPL-3.0

Replaces Imgur