Live data from Hacker News

Ask HN: What's the 2025 stack for a self-hosted photo library with local AI?

news.ycombinator.com

31–40 of 124 posts

Re: Ask HN: What's the 2025 stack for a self-hosted photo library with local AI?

#31

I think Immich checks a lot of these https://immich.app/

Been running immich on my home server for about a year now.

Near zero maintenance stack, incredibly easy to update, the client mobile apps even notify you (unobtrusively) when your server has an update available. The UI is just so polished & features so stable it's hard to believe it's open source.

Re: Ask HN: What's the 2025 stack for a self-hosted photo library with local AI?

#32
I currently use photoprism, but it's moving rather slowly. Facial recognition misses a lot of faces, the automatic clustering works fine at first but once you tagged a few thousand faces the implementation grinds to a halt and the background worker runs for hours pegging single cpu core.

The dev is really reluctant of accepting external contributions, which has driven away a lot of curious folks willing to contribute.

Immich seems to be the other extreme. Moving really fast with a lot of contributors, but stuff occasionally breaks, the setup is fiddly, but the Ai features are 100x more powerful. I just don't like the ui as much as photoprism. I with there was some kind of blend of the two, on a middle ground of their dev philosophies.

Re: Ask HN: What's the 2025 stack for a self-hosted photo library with local AI?

#33

Earlier quoted context omitted.

This. It's a fascinating project, it is hard to believe how can an FLOSS project be so high quality. In my book it's on the level of Postgres (although it's a smaller project, probably).

Their frontend is amazing, their apps are not as performant, and the backend is (IMHO) the worst of them all. No hate here, I'm really grateful for what they've achieved so far, but I think there's a lot of room for improvement (e.g: proper R/W query split, native S3 integration, faster endpoints, ...). I already mentioned it in their channel (they're a really welcoming community!) and I'm working on an alternative d…

Why the focus on S3 for a self-hosted app? Anyway kudos for the effort, I'm not experiencing performance issues in my locally self-hosted Immich installation but more performant software is always welcome.

Re: Ask HN: What's the 2025 stack for a self-hosted photo library with local AI?

#34
post #30

Earlier quoted context omitted.

Immich is what I'm using right now. I'm running it in a Docker container on my Synology. It was very advantageous to spin up another docker container on my laptop to do the face recognition work because the Synology was going to take forever on it. We no longer are auto uploading to Google or Apple. So far, I really like it. I haven't quite gone 100%, as we're still uploading with Synology's photo app, but Immich pro…

> We no longer are auto uploading to Google or Apple. May I ask why? Just curious as the main reason I use Immich is for the auto upload Edit: Ugh. Can’t read. I somehow read don’t auto upload to Immich.

because you don't want your data being held by Google or Apple?

Re: Ask HN: What's the 2025 stack for a self-hosted photo library with local AI?

#35

I currently use photoprism, but it's moving rather slowly. Facial recognition misses a lot of faces, the automatic clustering works fine at first but once you tagged a few thousand faces the implementation grinds to a halt and the background worker runs for hours pegging single cpu core. The dev is really reluctant of accepting external contributions, which has driven away a lot of curious folks willing to contribute…

While Immich development release versions every 2-3 weeks on average, and a breaking one every 4-6 months, they are approaching the stable release, so the pace should also down a bit. The setup to be honest is pretty standard IMO.

Re: Ask HN: What's the 2025 stack for a self-hosted photo library with local AI?

#36
I don't know about the photo-management aspects. However, I've had very good experiences running gemma3 (4b and 12b) locally via ollama

I've used gemma to process pictures and get descriptions and also to respond questions about the pictures (eg. is there a bicycle in the picture?). Haven't tried it for face recognition, but if you already have identified someone in one photo, it can probably tell you if the person in that photo is also in another photo

Just one caveat, if you are processing thousands of pictures, it will take a while to process them all (depending on your hardware and picture size). You could also try creating a processing pipeline, first extracting faces or bounding boxes of the faces with something like opencv, and then passing those to gemma3

Please post repo link if you ever decide to open source

Re: Ask HN: What's the 2025 stack for a self-hosted photo library with local AI?

#37
post #30

Earlier quoted context omitted.

Immich is what I'm using right now. I'm running it in a Docker container on my Synology. It was very advantageous to spin up another docker container on my laptop to do the face recognition work because the Synology was going to take forever on it. We no longer are auto uploading to Google or Apple. So far, I really like it. I haven't quite gone 100%, as we're still uploading with Synology's photo app, but Immich pro…

> We no longer are auto uploading to Google or Apple. May I ask why? Just curious as the main reason I use Immich is for the auto upload Edit: Ugh. Can’t read. I somehow read don’t auto upload to Immich.

Self hosting and owning your own data

Re: Ask HN: What's the 2025 stack for a self-hosted photo library with local AI?

#38
post #36

I don't know about the photo-management aspects. However, I've had very good experiences running gemma3 (4b and 12b) locally via ollama I've used gemma to process pictures and get descriptions and also to respond questions about the pictures (eg. is there a bicycle in the picture?). Haven't tried it for face recognition, but if you already have identified someone in one photo, it can probably tell you if the person i…

Thanks nico for sharing your experience! That's really helpful. The idea of using OpenCV to create a processing pipeline for face detection before passing it to Gemma is brilliant I hadn't thought of that. I'll definitely look into using gemma with ollama.

And for sure, if I get this to a point where it's open-source, I'll post the link here!

Post reply on HN