talira

iCloud Photos Sync

One-way sync engine for the iCloud Photos Library into the native file system

open sourceGPL-3.0-or-laterself-hostablefree

iCloud Photos Sync keeps a one-way copy of a whole iCloud Photos library on your own disk or NAS. It runs unattended in Docker on a schedule, with a small web UI (installable as an app) for the Apple sign-in and MFA codes, sync status, ad-hoc syncs, live logs and a push notification when Apple asks for a new code, about every 30 days. It downloads originals and their edits, the iCloud Shared Photo Library and optionally the Hidden album, mirrors your folders and albums as links to a single copy of each file, supports Advanced Data Protection, can send deleted assets to a trash folder, and can archive an album locally and delete its non-favourite photos from iCloud. Influx and Prometheus metrics and health check pings cover monitoring. Frank Steiler maintains it.

Problems it solves

  • keep a complete copy of my iCloud photo library on my NAS and in sync every night
  • a web page that tells me when my iCloud photo backup needs a new Apple two-factor code
  • back up iCloud Photos including the edits, the shared library and the hidden album
  • archive an old album to my server and remove it from iCloud to save space
  • monitor my iCloud photo backup with Prometheus and health check pings
  • mirror my iCloud albums as folders without storing each photo twice

Features

  • originals plus edits, iCloud Shared Photo Library and optional Hidden album
  • folders and albums mirrored as links, no photo stored twice
  • Advanced Data Protection supported
  • MFA by trusted device, SMS or voice, entered in the web UI
  • scheduled, unattended incremental syncs
  • web UI with status, ad-hoc sync, live logs and push notifications (PWA)
  • deleted assets can go to a trash folder
  • archive an album locally and optionally delete its non-favourite photos from iCloud
  • Influx and Prometheus metrics, health check pings
  • credentials from files (Docker secrets); image based on Docker Hardened Images

Limitations

  • Live Photos sync only the still image, not the video1
  • Can't use security keys as the second factor1
  • Doesn't name files by date or original file name: files are named by their iCloud checksum1
  • Doesn't run on Windows: the npm package runs wherever Node.js 26 runs except Windows1
  • Shared Library photos don't appear in your folders and albums: only in _Shared-Photos, and they can't be archived1

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what iCloud Photos Sync does.

  1. iCloud Photos Downloader (icloudpd) A command-line tool to download photos from iCloud
  2. kei Fast, parallel backups for cloud-hosted photos and videos
  3. iCloud-docker Dockerized iCloud client: make a local copy of your iCloud documents and photos, and keep it up to date
  4. OSXPhotos Python app to work with pictures and associated metadata from Apple Photos on macOS

Compare iCloud Photos Sync with the top 3