Apple Photos to Immich workflow #18062
tp-hoster
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
My main goal with Immich is to use it as just an image browser and sharing tool.
I want to keep doing all the photo maintenance (albums, keywords, taggin, sorting etc...) in Apples Photo app, but I would like to share the photos and albums with my family and friends.
So with the help of GenAI (Cursor, claude-3.7-sonnet mostly) I've written a little workflow using OSXPhotos to extract the albums from the "Photos Library.photoslibrary" and create the album structure as directories.
Those directories will then get synced over to my Raspberry Pi that runs Immich.
On the RasPi I have a little script that slows down the adding of the images to the library considerably so that the poor little RasPi doesn't choke and crash. I'm running it on a RasPi 4 with 8GB of memory, but it happened a couple of times that adding several hundred images at once led to the machine freezing up.
Anyway, this is the first time I'm sharing a writeup and documentation of any of the things I've created using GenAI - I'm still not 100% comfortable with that, but on the other hand, I understand enough about programming that I can read the code and can understand when the model fantasizes about something. I haven't run into fantasized libraries yet, but I'm well aware of that issue and the security implication.
I'm pretty sure many here will have many ways of improving this - but if this helps people move away from iCloud then that's a good thing.
So, if you're intersted, here it is:
https://codeberg.org/comphoster/Apple_Photos_to_Immich_Workflow_Automation
Beta Was this translation helpful? Give feedback.
All reactions