Live data from Hacker News

Self-hosting my photos with Immich

michael.stapelberg.ch

231–240 of 384 posts

Re: Self-hosting my photos with Immich

#231

Earlier quoted context omitted.

Is it? Why? If a NixOS module doesn’t support what you need, you can just write your own module, and the module system lets you disable existing modules if you need to. Doing anything custom this way still feels easier than doing it in an imperative world.

"Just" write your own module? Have you seen how bad the Nix documentation is and how challenging Nix (the language) is? Not to mention that you have to learn Yet Another Language just for this corner case, which you will not use for anything else. At least Guix uses a lisp variant so that some of the skills you gain are transferable (e.g. to Emacs, or even to a GP language like Common Lisp or Racket). Don't get me wr…

I’ve never seen nix, but I’d rather learn “yet another language” than fight yet another yaml syntax.

Re: Self-hosting my photos with Immich

#233
post #71

Earlier quoted context omitted.

There are still some features that a miss from Google photos. There isn't any way (that I know of) to auto add pictures to an album based on the face. I used to have dedicated albums for family members, and it was nice to have the auto updated. Face recognition in general just isn't as good as Google Photos. It's still an amazing piece of software and I'd never go back, but it isn't perfect yet.

The /people page looks a lot like albums based on face to me, is that not what you are talking about?

Not who you're replying to, but no - this isn't the same. You can't share that album with others. Or have others collaborate on it.

You can do this with a few scripts and the Immich API - but that's not something the average user will do.

Re: Self-hosting my photos with Immich

#235
post #69

Earlier quoted context omitted.

How do you update the software in the containers when new versions come out or vulnerabilities are actively being exploited? My understanding is that when using containers updating is an ordeal and you avoid the need my never exposing the services to the internet.

Your understanding of containers is incorrect! Containers decouple programs from their state. The state/data live outside the container so the container itself is disposable and can be discarded and rebuild cheaply. Of course there need to be some provisions for when the state (ie schema) needs to be updated by the containerized software. But that is the same as for non-containerized services. I'm a bit surprised thi…

Your understanding of not-containers is incorrect.

In non-containerized applications, the data & state live outside the application, store in files, database, cache, s3, etc.

In fact, this is the only way containers can decouple programs from state — if it’s already done so by the application. But with containers you have the extra steps of setting up volumes, virtual networks, and port translation.

But I’m not surprised this has to be explained to some people in 2025, considering you probably think that a CPU is something transmitted by a series of tubes from AWS to Vercel that is made obsolete by NVidia NFTs.

Re: Self-hosting my photos with Immich

#236

Earlier quoted context omitted.

But what's the performance of NixOS compared to other distros? Also, I imagine CUDA installation is not as simple as changing a few lines of config file?

https://nixos.wiki/wiki/CUDA It’s not too bad. As others have said, AI makes it easy to get right.

It's confusing, but bear in mind that nixos.wiki is an unofficial wiki, the official one is at: https://wiki.nixos.org/wiki/CUDA

Re: Self-hosting my photos with Immich

#237
post #4

Self hosting used to mean conceding on something. I can honestly say Immich is better in every way than Google Photos or whatever Apple calls it. The only thing is having to set it up yourself.

There are still some features that a miss from Google photos. There isn't any way (that I know of) to auto add pictures to an album based on the face. I used to have dedicated albums for family members, and it was nice to have the auto updated. Face recognition in general just isn't as good as Google Photos. It's still an amazing piece of software and I'd never go back, but it isn't perfect yet.

Are we using the same Google Photos? I've found Immich face recognition and context/object search to be miles better than Google Photos. In particular, Google Photos is exceptionally bad at distinguishing non-European looking faces (though it's not great in general), and it completely gave up on updating / scanning new photos in 2024 after I imported party photos with a lot of different people.

Almost all my Google Photos "people" are mix-and-matched similar looking faces, so it's borderline useless. Immich isn't perfect, but it gives me the control to rerun face recognition and reassign faces when I want, even on my ancient GTX 1060.

Re: Self-hosting my photos with Immich

#238
post #56

There is something to be said about NixOS, it really is a matter of setting `services.immich.enable = true;` in a configuration file. I find this really powerful and simpler than docker and docker-compose. But don't get me wrong, I am all for containerization when it comes to other OS/distros. Yes, there is a learning curve for the Nix language and creating your own packages. But anyone who can install a distro can i…

Regarding NixOS, I'm mostly afraid of them going on a user purge after their developer purge. You just never know who this group of people will come after next, especially after they started defining "Fascism" as "anyone asking for how they define Fascism". And the jump of getting rid of people you hate who contribute to your project and you can do little harm to, to getting rid of people you hate who are of no use t…

> Regarding NixOS, I'm mostly afraid of them going on a user purge after their developer purge

... Why? I don't know what developer purge you're talking about, but getting rid of people running a project almost never means suddenly they'll start to get rid of users, I'm not sure why that assumption is there. Not to mention that they couldn't even "purge users" if they wanted to, unless they make the download URLs private and start including some licensing schema which, come on, hardly is realistic to be worried about...

Re: Self-hosting my photos with Immich

#239
post #56

There is something to be said about NixOS, it really is a matter of setting `services.immich.enable = true;` in a configuration file. I find this really powerful and simpler than docker and docker-compose. But don't get me wrong, I am all for containerization when it comes to other OS/distros. Yes, there is a learning curve for the Nix language and creating your own packages. But anyone who can install a distro can i…

This is my favorite use of CLI AI coding tools: updating my nix config. I can just ask my computer to configure services for me!

I remember when people claimed to use NixOs in order to have a deterministic, repeatable setup.

Re: Self-hosting my photos with Immich

#240
post #148

Earlier quoted context omitted.

The sync really is quite good. On wifi it's basically seamless. If I had 30k new images though it would be much faster to use the immich-go tool mentioned in the blog post. Offline support is alright, though I haven't worried about this much. I think it doesn't do any local deletion, so whatever stays in your DCIM folder is still on device.

> The sync really is quite good. Do you have to ever open the app though? On iOS/Android? In my case I would need it to run on the phones of my family members, and they probably will never open the app.

iOS doesn't allow that sort of pattern for non-Apple applications last time I looked, so probably doesn't work on iOS at all.
Post reply on HN