/Lychee

A great looking and easy-to-use photo-management-system you can run on your server, to manage and share photos.

Primary LanguagePHPMIT LicenseMIT

@LycheeOrg

GitHub Release PHP 8.2 & 8.3 MIT License Downloads
Build Status Code Coverage CII Best Practices Summary OpenSSF Scorecard Quality Gate Status
Website Documentation Changelog Front end repository Docker repository Gitter

A great looking and easy-to-use photo-management-system.

The Lychee project was moved to LycheeOrg on the 1st of April 2018. We would like to thank electerious (Tobias Reich) for creating Lychee and for giving us the opportunity to make this project live on.

Upgrade from v3 is straight forward. Upgrade. »

Lychee is a free photo-management tool, which runs on your server or web-space. Installing is a matter of seconds. Upload, manage and share photos like from a native application. Lychee comes with everything you need and all your photos are stored securely. Read more on our website.

Installation

To run Lychee, everything you need is a web-server with PHP 8.2 or later and a database (MySQL/MariaDB, PostgreSQL or SQLite). Follow the instructions to install Lychee on your server. This version of Lychee is built on the Laravel framework. To install:

  1. Clone this repo to your server and set the web root to lychee/public
  2. Run composer install --no-dev to install dependencies
  3. Run npm install to install node dependencies
  4. Run npm run build to build the front-end
  5. Copy .env.example as .env and edit it to match your parameters
  6. Generate your secret key with php artisan key:generate
  7. Migrate your database with php artisan migrate to create a new database or migrate an existing Lychee installation to the latest framework.

See detailed instructions on the Installation page of our documentation.

Docker

Alternatively, an official Docker image can be found at LycheeOrg/Lychee-Docker or on Docker Hub as lycheeorg/lychee.

Update

Updating is as easy as it should be. Update »

Settings

Sign in and click the gear in the top left corner to change your settings. Settings »

Build

Lychee is ready to use, right out of the box. If you want to contribute and edit CSS or JS files, you need to rebuild Lychee-front. Build »

Advanced Features

Lychee is ready to use straight after installation, but some features require a little more configuration.

Keyboard Shortcuts

These shortcuts will help you to use Lychee even faster. Keyboard Shortcuts »

Dropbox import

In order to use the Dropbox import from your server, you need a valid drop-ins app key from their website. Lychee will ask you for this key, the first time you try to use the import. Want to change your code? Take a look at the settings of Lychee.

Twitter Cards

Lychee supports Twitter Cards and Open Graph for shared images (not albums). In order to use Twitter Cards you need to request an approval for your domain. Simply share an image with Lychee, copy its link and paste it in Twitter's Card Validator.

ImageMagick

Lychee uses ImageMagick when installed on your server. In this case you will benefit from a faster processing of your uploads, better looking thumbnails and intermediate sized images for small screen devices. You can disable the usage of ImageMagick in the settings.

New Photos Email Notification

In order to use the new photos email notification you will need to have configured the MAIL_ variables in your .env to your mail provider & setup cron. Once that is complete you then toggle Send new photos notification emails in the settings. Your users will be able to opt-in to the email notifications by entering their email address in the Notifications setting in the sidebar. Photo notifications will be grouped and sent out once a week to the site admin, album owner & anyone who the album is shared with, if their email has been added. The admin or user who added the photo to an album, will not receive a email notification for the photos they added.

Customizing

You can customize lychee with your own css code. Here you can find a list of available themes.

Troubleshooting

Take a look at the Documentation, particularly the FAQ if you have problems. Discovered a bug? Please create an issue here on GitHub! You can also contact us directly on gitter (login with your github account). »

Open Source Community Support

PhpStorm

We would like to thank Jetbrains for supporting us with their Open Source Development - Community Support program.