I'm defz going to replace Google Photos with Immich!¶
|Last updated||August 6, 2022|
Immich is a promising self-hosted alternative to Google Photos. Its UI and features are clearly heavily inspired by Google Photos, and like Photoprism, Immich uses tensorflow-based machine learning to auto-tag your photos!
The developer makes it abundantly clear that Immich is under heavy development (although it's covered by "wife-insurance"1), features and APIs may change, and all your photos may be lost, or (worse) auto-shared with your mother-in-law! Take due care
I'm personally excited about Immich because I've recently been debating how to migrate from Google Photos, in which I'm hitting my 15GB storage limit.
Immich is a bit of an outlier in the self-hosted application space in terms of its maturity.. the repository currently states that it's not production-ready, but it's already got both an Android and iOS app available in the respective app stores.
Two things stand out to me here - first off, the developer actively tries to discourage users from relying on the app for anything other than testing, and secondly, by investing in the mobile apps / app stores (which come with a cost), they're clearly thinking long-term and are committed to the project.
Here are the current Immich features, which I scraped directly from the repo. As you'll note, the mobile apps mostly have parity with the web app, other than administrative functions, and even have some extra features, like search..
|Upload and view videos and photos||Yes||Yes|
|Auto backup when app is opened||Yes||N/A|
|Selective album(s) for backup||Yes||N/A|
|Download photos and videos to local device||Yes||Yes|
|Quick navigation with draggable scrollbar||Yes||Yes|
|Support RAW (HEIC, HEIF, DNG, Apple ProRaw)||Yes||Yes|
|Metadata view (EXIF, map)||Yes||Yes|
|Search by metadata, objects and image tags||Yes||No|
|Administrative functions (user management)||N/A||Yes|
Primarily what I want Immich to do is to backup all my photos from both my mobile phone, and my wife's phone, so that we can have a consolidated photo backup for our family. (We currently use a dedicated gmail account with Google Photos for this purpose, but it's run out of space and is a little convoluted)
We're iOS users, and we have a 2TB family iCloud account to which all of our photos are synced. Since the advent of iCloud Photo Library, it's not possible to "combine" photo libraries, so the only way we can share photos of our family is to manually add them to an album which one of us shares with the other. This is waaay too much work, and what inevitably happens is that we each end up with separate photo albums, and regularly have to send each other photos of events and kids.
So what I'm looking for is a solution to replace Google Photos - a way for each user to upload all photos taken on their device, and have these photos combined into a "master album" which both parties can access, manage, and create albums from.
The setup process was straightforward. After deploying Immich, I was prompted to setup a username and password, which subsequently became my admin credentials. Using these credentials, I setup a second user, and shared an album with him. Here's a video I made to illustrate the process:
The Mobile app seems very polished, and based on my testing, works better than the Synology "Moments" app I was previously trialling (especially given the volume of photos I have!)
Here's what the filesystem where photos are stored looks like:
/var/data/immich/upload/49a82212-e1bb-48d9-8b8f-7076e54bd6aa/thumb/WEB/34ce58c4-8100-49d4-a5a3-f13a74b478f9.webp /var/data/immich/upload/49a82212-e1bb-48d9-8b8f-7076e54bd6aa/thumb/WEB/34ce58c4-8100-49d4-a5a3-f13a74b478f9.jpeg /var/data/immich/upload/49a82212-e1bb-48d9-8b8f-7076e54bd6aa/thumb/WEB/7d8abe14-77c3-4214-804a-d35d68084a2c.webp /var/data/immich/upload/49a82212-e1bb-48d9-8b8f-7076e54bd6aa/thumb/WEB/309228ef-0b21-4986-acc4-d0c0d10e43ac.webp /var/data/immich/upload/49a82212-e1bb-48d9-8b8f-7076e54bd6aa/thumb/WEB/309228ef-0b21-4986-acc4-d0c0d10e43ac.jpeg /var/data/immich/upload/49a82212-e1bb-48d9-8b8f-7076e54bd6aa/thumb/WEB/7d8abe14-77c3-4214-804a-d35d68084a2c.jpeg /var/data/immich/upload/49a82212-e1bb-48d9-8b8f-7076e54bd6aa/thumb/WEB/8adff3fe-d0ac-4855-b0ca-12a1f6ef2caf.webp /var/data/immich/upload/49a82212-e1bb-48d9-8b8f-7076e54bd6aa/thumb/WEB/8adff3fe-d0ac-4855-b0ca-12a1f6ef2caf.jpeg /var/data/immich/upload/49a82212-e1bb-48d9-8b8f-7076e54bd6aa/thumb/WEB/30505706-520b-4eac-89ed-9f1227802306.jpeg /var/data/immich/upload/49a82212-e1bb-48d9-8b8f-7076e54bd6aa/thumb/WEB/30505706-520b-4eac-89ed-9f1227802306.webp /var/data/immich/upload/cae22784-474c-4527-825c-46d7f324e8e8 /var/data/immich/upload/cae22784-474c-4527-825c-46d7f324e8e8/original /var/data/immich/upload/cae22784-474c-4527-825c-46d7f324e8e8/original/WEB /var/data/immich/upload/cae22784-474c-4527-825c-46d7f324e8e8/original/WEB/2245d33b-fbc5-40ee-a50b-2a234f73e3d9.jpg /var/data/immich/upload/cae22784-474c-4527-825c-46d7f324e8e8/thumb /var/data/immich/upload/cae22784-474c-4527-825c-46d7f324e8e8/thumb/WEB /var/data/immich/upload/cae22784-474c-4527-825c-46d7f324e8e8/thumb/WEB/2245d33b-fbc5-40ee-a50b-2a234f73e3d9.webp /var/data/immich/upload/cae22784-474c-4527-825c-46d7f324e8e8/thumb/WEB/2245d33b-fbc5-40ee-a50b-2a234f73e3d9.jpeg
As you'll note, while it's true that files are stored locally, there's no filesystem-level metadata easily parsable, like yearly or album-based folders. While the files are stored locally, and technically you could move them elsewhere, it certainly wouldn't be easy.
It's also not easy to access the files via any sort of sharing (NFS, SMB, etc), other than using the Immich UI. Par for the course though, I expect, if we want to be able to rely on the database for metadata without requiring intensive filesystem interaction.
Until Immich, the only viable self-hosted Google Photos replacement I was aware of was Photoprism, which has a far wider featureset and several years of stable releases.
Given my goal of having a non-Apple secondary backup of my family photos, let's selfishly compare the features which matter (to me):
|Photos stored locally||Y||Y|
|Automatic mobile uploads (automatic)||Y||paid 3rd-party app|
|Share albums with trusted users||Y||Y|
|AI facial recognition||N||Y|
|AI tagging ("photo of dog")||Y||Y|
Conclusion: For my secondary-backup use-case, Immich (even in its current pre-production buggy state) is perfectly fine. The mobile app is beautiful (if a little buggy), and I do appreciate the cheeky "Google Photos" theming / styling. I think it'll appeal to a lot of Google Photos refugees for this reason alone.
OK, obviously one is self-hosted, and the other is not. This massive difference aside, again for my use-case, the other feature differences are:
|Automatic mobile uploads (automatic)||Y||Y (but deletions sync with my phone, which is less-than-idea, for my secondary-backup plan)|
|Share all photos with user||Y||Only with 1 partner|
|AI facial recognition||N||Y|
|AI tagging ("photo of dog")||Y||Y|
Conclusion: I setup my secondary-backup plan when Google first announced unlimited storage for Google Photos. Now that this is no longer possible, I'm out.
I'm in (for a secondary backup to my iCloud Photo Library)
Based on how the pre-production development has progressed, and the massive hunger in the self-hosted community for an alternative to Google Photos, I suspect that Immich will quickly gain traction and continue its rapid pace of development.
Chef's notes 📓¶
Tip your reviewer (sponsor) 👏¶
Did you receive excellent service? Want to compliment the chef? (..and support development of current and future recipes!) Sponsor me on Github / Patreon, or see the contribute page for more (free or paid) ways to say thank you! 👏
Work with me (engage) 🤝¶
Is this too much of a geeky PITA? Do you just want results, stat? I do this for a living - I'm a full-time Kubernetes contractor, providing consulting and engineering expertise to businesses needing short-term, short-notice support in the cloud-native space, including AWS/Azure/GKE, Kubernetes, CI/CD and automation.
Learn more about working with me here.
Flirt with waiter (subscribe) 💌¶
Want to know now when this recipe gets updated, or when future recipes are added? Subscribe to the RSS feed, or leave your email address below, and we'll keep you updated.