Immich bridge to google photos shared albums
from anytimesoon@piefed.social to selfhosted@lemmy.world on 28 Jun 16:15
https://piefed.social/c/selfhosted/p/2172370/immich-bridge-to-google-photos-shared-albums

Does anyone know if it’s possible to achieve this? Possibly with an external service that syncs the two?

Basically, the last feature immich can’t do that google does is to share albums. Sometimes my family wants to have albums after events, and my ones live in a silo.

#selfhosted

threaded - newest

30p87@feddit.org on 28 Jun 16:26 next collapse

<img alt="834" src="https://feddit.org/pictrs/image/f30f88f6-b47b-44a8-b257-d8c1284f728a.jpeg"> <img alt="833" src="https://feddit.org/pictrs/image/8c3f7408-7e7f-4b39-b741-c19f2f19b555.jpeg">

Isn’t this ‘sharing an album’?

avidamoeba@lemmy.ca on 28 Jun 16:37 collapse

It is but it requires public internet access to the Immich instance, or everyone involved being on our VPN. Reusing someone else’s publicly facing service to share photos from a private Immich instance is a clever workaround.

30p87@feddit.org on 28 Jun 16:48 next collapse

Afaik immich is generally safe to publicly expose. Otherwise, I’d just use http basic auth. Supported by every server and client, should be secure enough to hold off attacks in case immich’s login/auth mechanisms fail, and I don’t see a usecase where this wouldn’t work.

If you don’t have a public IP or need IPv4, get a 4€/Month VPS (cheaper than even a Pi’s energy usage I suppose) and put headscale on it.

AzuraTheSpellkissed@lemmy.blahaj.zone on 28 Jun 17:20 collapse

Using a reverse proxy / ingress, you can configure only share links to be publicly available, while keeping the rest of immich exclusive to your private-network. Optionally combine with something like Cloudflare Tunnel if you’re worried about leaking your server’s IP.

pgo_lemmy@feddit.it on 28 Jun 16:32 next collapse

IMHO you should look/ask for such a feature in a google group because big g may have a business case for such a feature: it would pull back in those users who try to escape.

and that should not be an immich feature but a google one.

as a self-hoster I prefer to have control on my data; a solution to feed my data to google through a third party (that may do whatever it wants while performing the transfer) is the exact opposite of what i’m trying to achieve and would have little to no value for me.

avidamoeba@lemmy.ca on 28 Jun 16:39 next collapse

Coud probably be done. Find publicly shared Immich albums -> sync to Google Photos -> share publicly -> write the public Google Photos URL to the metadata of the Immich album.

Another could be an insulated public facing Immich instance that gets publicly shared albums pushed to it, the same way as with the other scheme. No reverse access to the private Immich instance. Then if that gets hacked, only those photos leak, attacker can’t get their hands on other server data. Assuming it’s really well isolated. A public VPS would probably be best for this.

artyom@piefed.social on 28 Jun 17:21 next collapse

Why would you think you can’t share albums? You definitely can.

skeevy_scallops@feddit.online on 28 Jun 17:41 collapse

only if immich is publicly accessible (reverse proxy to domain, etc.). If it’s on a closed network like tailscale, albums aren’t accessible from outside the network afaik

AzuraTheSpellkissed@lemmy.blahaj.zone on 28 Jun 17:30 next collapse

If you plan to make a diy solution, you might’ve seen one or two CLIs for uploading to Google Photos. Just FYI, you can also leverage rclone to create Google Photos albums and uploads photos/videos there.

iamthetot@piefed.ca on 28 Jun 17:33 next collapse

You can share Immich albums.

fluckx@lemmy.world on 28 Jun 17:49 collapse

There is also this: github.com/alangrainger/immich-public-proxy

I think your immich gallery can even be private ( though the public proxy would need to be able access it ).

I have no experience with it though.