Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds iCloud client #550

Closed
wants to merge 8 commits into from
Closed

Adds iCloud client #550

wants to merge 8 commits into from

Conversation

davidmerfield
Copy link
Owner

@davidmerfield davidmerfield commented Jun 17, 2022

  • Determine how best to share a given folder in iCloud drive with a given email address programatically I have a draft applescript in app/clients/icloud/server/applescript.scpt
    • we could also use browser automation? could this even be done completely on Blot's server, with no rented mac?
  • Finish the UI stuff to make the client work on Blot's dashboard
  • Create iCloud account for Blot
  • Write script to init git client for iCloud clients


  • Release a beta

@davidmerfield davidmerfield temporarily deployed to Tests June 17, 2022 16:05 Inactive
@davidmerfield davidmerfield temporarily deployed to Tests June 17, 2022 16:11 Inactive
@rmateu
Copy link

rmateu commented Oct 7, 2022

+1 for testing!

@davidmerfield
Copy link
Owner Author

@rmateu Great, I've added you to the list

@aewhite77
Copy link

Also love to assist in testing

@davidmerfield
Copy link
Owner Author

@aewhite77 Excellent, please send us an email and I'll add you to the list to be notified

@aewhite77
Copy link

aewhite77 commented Oct 12, 2022 via email

@podviaznikov
Copy link

It seems like montaigne.io are doing something similar with Apple notes. Is it worth contacting them for tips? We have corresponded in the past

@davidmerfield happy to help. iCloud for Blot should be very doable. I think the only small problem is the flow to Share folders in iCloud. It's not as straightforward as Dropbox that creates App folder for the user. But it's also doable.

@jasonshew
Copy link

I would love to test iCloud sync. I've been an iCloud (2TB) user for years and it doesn't make sense to spend another $15 on DropBox or Google Drive. Plus I have come across some Google Drive sync issues, like failing to delete an automatically generated image post. Would love to see iCloud in the lineup!

@ltgreer
Copy link

ltgreer commented Dec 10, 2022

Looking forward to iCloud sync!

@logorrhoea
Copy link

If this still needs testing, happy to be a tester. Holding off installing Dropbox on my Mac if iCloud sync is near to being released.

@ltgreer
Copy link

ltgreer commented Jan 10, 2023

If this still needs testing, happy to be a tester. Holding off installing Dropbox on my Mac if iCloud sync is near to being released.

Ditto!

@juter
Copy link

juter commented Jan 13, 2023

Hey, long time Blot user and have been waiting for this for a while - would be happy to test if you're still in need of testers.

@davidmerfield davidmerfield temporarily deployed to Tests March 21, 2023 08:27 — with GitHub Actions Inactive

dashboard.get("/", function (req, res, next) {
if (req.query.setup)
return res.redirect(require("url").parse(req.originalUrl).pathname);

Check warning

Code scanning / CodeQL

Server-side URL redirect

Untrusted URL redirection depends on a [user-provided value](1).
@davidmerfield davidmerfield temporarily deployed to Tests March 21, 2023 09:17 — with GitHub Actions Inactive
@davidmerfield davidmerfield temporarily deployed to Tests March 21, 2023 11:25 — with GitHub Actions Inactive
@davidmerfield davidmerfield temporarily deployed to Tests March 21, 2023 11:25 — with GitHub Actions Inactive
@davidmerfield davidmerfield temporarily deployed to Tests March 21, 2023 11:26 — with GitHub Actions Inactive
@davidmerfield davidmerfield temporarily deployed to Tests April 5, 2023 13:25 — with GitHub Actions Inactive
@davidmerfield
Copy link
Owner Author

davidmerfield commented Nov 21, 2023

I've decided that I will wait for Apple to release an iCloud Drive API (as Dropbox, Google Drive, OneDrive, etc. already do).

Since there is no iCloud Drive API, the workaround I had planned was to run a Mac server, connected to the internet and powered 24/7, signed into Blot's iCloud account. I'd use Apple Script to automate the creation of blog folders folders within iCloud Drive on the Mac server and then automate the sharing of those folders with your iCloud email addresses. The Mac server would then watch the blog folders for changes and then in turn, sync them with Blot's server.

After thorough experimentation, I have concluded the workaround I was planning to use is unreliable – perhaps this seems obvious based on the description of the proposed system in the previous paragraph – but I was hoping I could get this to work.

If you want to help, please apply pressure on Apple to release an API for iCloud Drive.

@davidmerfield davidmerfield deleted the icloud branch December 11, 2023 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants