
Immich
Self-hosted photo and video library with mobile backup
Immich backs up, organizes, and browses personal photos and videos on hardware you run. Mobile and web clients share albums, search, and face grouping.
Apple Photos by Apple is a commercial product. These open-source projects say they can replace it.
The most popular open-source alternative to Apple Photos is Immich, with 120.3k GitHub stars. Other open-source alternatives to Apple Photos are Ente, LibrePhotos and Lychee. Most Apple Photos alternatives here are Digital Asset Management (DAM) tools. None of these projects names Apple Photos itself, but each does the same job; its own description is shown under it.
Stars and activity updated 27 November 2026.
These projects don't call themselves a Apple Photos alternative, but two independent checks of their own description found they do the same main job.

Self-hosted photo and video library with mobile backup
Immich backs up, organizes, and browses personal photos and videos on hardware you run. Mobile and web clients share albums, search, and face grouping.
“Self-hosted photo and video management solution. Easily back up, organize, and manage your photos on your own server. Immich helps you browse, search and organize your photos and videos with ease, without sacrificing your privacy.”

End-to-end encrypted cloud storage for photos and credentials
Ente is an encrypted platform for storing data in the cloud without trusting the provider. Client apps cover photos, documents, and two-factor authentication.
“On top of this platform, we have built three apps so far: Ente Photos (an alternative to Apple and Google Photos), Ente Locker (a safe space for your most important documents and credentials), and Ente Auth (a 2FA alternative to the deprecated Authy).”

Self-hosted photo library with machine learning indexing
LibrePhotos is a self-hosted photo management service with face recognition, object tagging, maps, and semantic search. Photos and metadata stay on your own hardware.
“LibrePhotos is a self-hosted, open source photo management service. Faces, places, events and semantic search, with every photo and every byte of metadata staying on your own machine.”
These projects also replace Apple Photos, but have had no code changes for over 18 months. Prefer an actively maintained alternative above. (Archived and discontinued projects are not listed.)

Self-hosted web photo management and sharing
Lychee is a photo-management tool that runs on your own server or web hosting. Upload, organize, and share albums through the browser with password protection and EXIF metadata support.
“Lychee is a free photo-management tool, which runs on your server or web-space. Upload, manage and share photos like from a native application. Lychee comes with everything you need and all your photos are stored securely.”
Yes. 4 open-source projects can replace Apple Photos, for example Immich, Ente and LibrePhotos. They do the same job as Apple Photos, as their own documentation describes.
Immich (120.3k GitHub stars) is the most popular open-source alternative to Apple Photos on GitHub. LibrePhotos has the most recent code changes. The best choice depends on your needs: compare them side by side, for example Immich vs Ente.
All of the 4 projects listed here are free to use under an open-source license, with no license fee: 2 permissive (such as MIT), 2 copyleft (such as AGPL-3.0). Running software on your own server still costs hosting and upkeep, and many projects also sell a hosted version.