talira

Fast, parallel backups for cloud-hosted photos and videos

open sourceMITself-hostablefree

kei is a command-line tool, written in Rust, that backs up iCloud Photos to folders you control on a computer, server or NAS, as a one-time backup or a regular automatic sync. It handles large libraries, Shared Libraries, albums, Live Photos, RAW files and edited versions, resumes interrupted downloads, checks files it already has before downloading them again, verifies checksums and can take over an existing icloudpd archive. A setup wizard writes its config file, and it runs as a background service or in Docker. Rob Hooper started it in 2026 as a Rust rewrite of icloudpd; it's pre-release software.

Problems it solves

  • back up a very large iCloud photo library quickly with parallel downloads
  • resume an iCloud photo download that got interrupted halfway through
  • move my existing icloudpd backup folder to a faster iCloud backup tool
  • check that the photos in my iCloud backup folder aren't corrupted
  • install an iCloud photo backup as a background service on my Mac or Linux box

Features

  • parallel downloads for large libraries
  • Shared Libraries, albums, Live Photos, RAW and edited versions
  • resumes interrupted downloads
  • checks existing files before downloading again
  • kei verify --checksums
  • imports an existing icloudpd archive
  • setup wizard and TOML config
  • watch interval and background service (kei install)
  • Docker image, Homebrew tap and release binaries

Limitations

  • Doesn't work with Advanced Data Protection: it needs ADP turned off to back up the library1
  • Can't sign in with security keys, SMS-only 2FA or app-specific passwords1
  • Not stable yet: it's pre-release software, and minor versions may contain breaking changes1

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what kei does.

  1. iCloud Photos Downloader (icloudpd) A command-line tool to download photos from iCloud
  2. iCloud Photos Sync One-way sync engine for the iCloud Photos Library into the native file system
  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 kei with the top 3