Skip to content

Add support for Apple iCloud #1778

Closed
Closed

Description

@martimarkov

Can we add support for iCloud or is this something we are not interested at doing?

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Activity

  1. olihey commented on Oct 28, 2017

    @olihey
    Contributor

    As far as I know there is no API documentation for Apple iCloud

  2. ncw commented on Oct 28, 2017

    @ncw
    Member

    It is a nice idea if it is possible. I didn't find any API docs in a brief search though.

  3. martimarkov commented on Oct 28, 2017

    @martimarkov
    Author

    I have been playing around with this: https://github.com/picklepete/pyicloud#file-storage-ubiquity

    The project "reverse engineered" the iCloud "protocol"

    @olihey you are right, there is no official documentation.

  4. Guymer commented on May 28, 2018

    @Guymer

    Would it be possible to write a JavaScript handler that used CloudKit? I have no idea if it is possible or not, but it appears that 3rd party apps can access a user's iCloud storage using the Apple API. Maybe there's no way to use it from a Go program like rclone.

  5. added this to the Help Wanted milestone on Aug 30, 2018
  6. DjKiDD commented on Jan 30, 2019

    @DjKiDD
  7. rubiojr commented on Mar 13, 2019

    @rubiojr

    Not exactly the same and macOS specific, but found a workaround in the meantime. Just use the local filesystem to sync:

    ln -s ~/Library/Mobile\ Documents/com~apple~CloudDocs ~/iCloud
    rclone sync gdrive:foo ~/iCloud/bar
    
  8. xor-gate commented on Mar 15, 2020

    @xor-gate

    I stumbled upon a NodeJS iCloud Services implementation, could be handy as reference to port it to Golang for integration with rclone. See https://github.com/MauriceConrad/iCloud-API

  9. davemaps commented on Apr 15, 2020

    @davemaps
  10. palomnik commented on Jun 26, 2020

    @palomnik
  11. ncw commented on Jun 26, 2020

    @ncw
    Member

    That seems to just open the icloud website for you?

  12. scuba-tech commented on Oct 18, 2020

    @scuba-tech
  13. 52 remaining items

  14. lostb1t commented on Mar 27, 2024

    @lostb1t
    Member

    so a few ways togo about this as iCloud exists out of several services, drive, photos etc

    i could:

    A: each rclone remote maps to a single service. So user creates seperate remotes for each service (icloudphotos:, icloudsrive: etc)

    B: single remote includes all available services mapped to their names in the root(so icloudremote:/drive, icloudremote:/photos etc)

    C: B but let user choose woch services are avaiable for the remote

    would like to get feedback on this. Im leaning to C

  15. bexelbie commented on Mar 27, 2024

    @bexelbie

    I like C FWIW

  16. lostb1t commented on Mar 31, 2024

    @lostb1t
    Member

    Started work here: https://github.com/lostb1t/rclone/tree/feature/icloud

    What is working:

    • Authentication and session management
    • Drive listing

    So currently you can create an iCloud drive remote and use the list or mount options on it.
    (file operations not yet implemented, open, copy, move etc) so if somebody wants to play with it go ahead.

    Once I finish the whole filesystem interface i will open an Draft PR for feedback.

  17. ncw commented on Mar 31, 2024

    @ncw
    Member

    A: each rclone remote maps to a single service. So user creates seperate remotes for each service (icloudphotos:, icloudsrive: etc)

    B: single remote includes all available services mapped to their names in the root(so icloudremote:/drive, icloudremote:/photos etc)

    C: B but let user choose woch services are avaiable for the remote

    A and C are probably quite similar just with a config option to control. One of those sounds the easiest to implement and there is lots of precedent in rclone, eg drive/shared drives or OneDrive/SharePoint

    I wouldn't do B, that will end up being painful to use.

  18. lostb1t commented on Apr 1, 2024

    @lostb1t
    Member

    A: each rclone remote maps to a single service. So user creates seperate remotes for each service (icloudphotos:, icloudsrive: etc)

    B: single remote includes all available services mapped to their names in the root(so icloudremote:/drive, icloudremote:/photos etc)

    C: B but let user choose woch services are avaiable for the remote

    A and C are probably quite similar just with a config option to control. One of those sounds the easiest to implement and there is lots of precedent in rclone, eg drive/shared drives or OneDrive/SharePoint

    I wouldn't do B, that will end up being painful to use.

    im gonna focus on option C. This allows credentials to be defined only once and a user can choose the services from the config.

    Il write an Fs interface for every service but combine them similar to combine backen to provide a single backend to rclone

  19. callowaysutton commented on May 29, 2024

    @callowaysutton

    So Apple released iCloud for Windows a while back. I don't know if that's useful or helpful at all, but I figured it was at least worth a mention just in case someone might be able to do something with that information.

    I looked in to it a month ago, it's read-only.

    However, on a mac, it's just a (fuse) directory (with rw, but possibly with a blocker/warning on deleting loads of files at once). As insane as it sounds, buying an old mac mini, or qemu as a proxy / one endpoint works.

    I'm not sure when it was updated but it seems like it's now read and write

  20. buengese commented on Oct 8, 2024

    @buengese
    Member

    And iCloud backend has been implement in #7717

  21. lewis-conroy commented on Oct 9, 2024

    @lewis-conroy

    big if true

  22. maxexcloo commented on Oct 9, 2024

    @maxexcloo

    Awesome work!

  23. bexelbie commented on Oct 10, 2024

    @bexelbie

    Thank you @lostb1t

  24. jackmac92 commented on Oct 15, 2024

    @jackmac92

    Thanks to all involved! looking forward to using this, is the next release scheduled?

  25. hdadhich01 commented on Oct 26, 2024

    @hdadhich01

    @lostb1t you might be goated

  26. LionyxML commented on Nov 3, 2024

    @LionyxML

    This should've been on world wide TV breaking news 24/7. thanks!

  27. locked as resolved and limited conversation to collaborators on Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions