MistKit 0.2.0 - Server-Side and Command-Line Access to CloudKit Web Services

I built a library to access CloudKit Web Services via Swift. Why?

Because the CloudKit framework is not available outside of Apple operative systems. Therefore, if you are doing anything server-side (i.e. Linux) then you can use MistKit to swiftly access CloudKit via the web services. I use this specifically for my app Heartwitch.

Version 0.2.0 includes built-in support and helpers for SwiftNIO and Vapor.

Your input and feedback is great appreciated!

13 Likes

This looks very cool: it seems extremely thorough and has a wide feature set, as well as lots of great integrations. Really good work!

1 Like

This is great! I've been wanting such a thing! Anything I can do to help with Kitura integration?

Hey @dannys42

Thanks for asking! I know barely anything about Kitura but if you are willing to implement a plugin for it that would be fantastic. There are two main components I implemented for integration with Vapor:

1. HTTPClient

This protocol is for making http request in whatever manner the developer wishes to do so...

Implementations

2. Storing the CloudKit Web Authentication Token

For Vapor, there are two ways to do:

I would recommend looking the Vapor code for ideas on how I've implemented this.

Feel free to reach out to me if you have any questions.
Leo

1 Like

Cool thanks! I'll check it out.