You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Reacted by Thomas Guymer, Kyle Marek-Spartz, Dane MacMillan, Simon, Ellie Algase, trochdewei, TheOGTonyG, Dror Levin, Chris Varenhorst, Adam C. Stephens and 525 more
Reacted by Bjørn Erik Pedersen, Chris [scuba.tech], Paul Hagedorn, Akhil Jalagam, Jim Aldon D'Souza, Armin Wehrfritz, CJ Angrist, lostb1t, 0x08, Shaposhnikoff and 11 more
Reacted by Shaposhnikoff, Greg Sadetsky, Issam Chajii, Anant, Teofanus Gary, Akhil Jalagam, James C. Wise, Tobi, Nate Tippie, Matteu and 9 more
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.
Reacted by Michał J. Gajda, Simon, Ellie Algase, Teodor, Zayin Krige, trochdewei, Dan Woodward, Ron Wolf, Tobias Cudnik, Paul Hagedorn and 3 more
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.
Reacted by Andrew Ferrier, Ilya Siamionau, svde, Kristoffer Dalby, Hamza, Christian A. Jacobsen, Max Schaefer, Fernando De Lucchi, b14d, Michael Arndt and 19 more
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.
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
Reacted by Irakli Janiashvili, Nick Craig-Wood, lostb1t, Leonardo Mantovani, Mike Schnaser and TomEnns
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
Reacted by Lewis Conroy, Suraj, Bowen, Peter Abbasi, Tomáš Szabo, Ilya Siamionau, Yakov Till, Alexey Palazhchenko, aviraccoon, Irakli Janiashvili and 11 more
Activity
olihey commentedon Oct 28, 2017
As far as I know there is no API documentation for Apple iCloud
ncw commentedon Oct 28, 2017
It is a nice idea if it is possible. I didn't find any API docs in a brief search though.
martimarkov commentedon Oct 28, 2017
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.
Guymer commentedon May 28, 2018
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.
DjKiDD commentedon Jan 30, 2019
rubiojr commentedon Mar 13, 2019
Not exactly the same and macOS specific, but found a workaround in the meantime. Just use the local filesystem to sync:
xor-gate commentedon Mar 15, 2020
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
davemaps commentedon Apr 15, 2020
palomnik commentedon Jun 26, 2020
ncw commentedon Jun 26, 2020
That seems to just open the icloud website for you?
pvlogin commentedon Jun 28, 2020
https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/iCloud/iCloud.html
araven commentedon Jul 18, 2020
https://developer.apple.com/library/archive/documentation/General/Conceptual/iCloudDesignGuide/Chapters/Introduction.html#//apple_ref/doc/uid/TP40012094
scuba-tech commentedon Oct 18, 2020
52 remaining items
lostb1t commentedon Mar 27, 2024
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
bexelbie commentedon Mar 27, 2024
I like C FWIW
lostb1t commentedon Mar 31, 2024
Started work here: https://github.com/lostb1t/rclone/tree/feature/icloud
What is working:
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.
ncw commentedon Mar 31, 2024
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.
lostb1t commentedon Apr 1, 2024
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
callowaysutton commentedon May 29, 2024
I'm not sure when it was updated but it seems like it's now read and write
buengese commentedon Oct 8, 2024
And iCloud backend has been implement in #7717
lewis-conroy commentedon Oct 9, 2024
big if true
maxexcloo commentedon Oct 9, 2024
Awesome work!
bexelbie commentedon Oct 10, 2024
Thank you @lostb1t
jackmac92 commentedon Oct 15, 2024
Thanks to all involved! looking forward to using this, is the next release scheduled?
hdadhich01 commentedon Oct 26, 2024
@lostb1t you might be goated
LionyxML commentedon Nov 3, 2024
This should've been on world wide TV breaking news 24/7. thanks!