Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By mentalfacultyv1.0.0See LICENSEIn 1 marketplace
Set up sync for Core Data and SwiftData apps that keeps working offline, with data moving through users' own storage and no custom server. Its README says CloudKit and local backends are free, while other backends need a license key.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Local-first sync for Core Data and SwiftData.
This package distributes pre-built XCFrameworks (binary only). Source code is available separately with a premium license. CloudKit and local backends are free to use; other backends require a license key. See Licensing below.
Ensembles is the only local-first sync framework for Core Data and SwiftData. Unlike most sync frameworks, it requires no custom server: your data syncs as opaque files through storage your users already have, whether that is CloudKit, Dropbox, Google Drive, S3, WebDAV, or a custom backend.
Each device keeps a complete copy of the data, so apps work fully offline. Data stays in your users' own accounts, and can be end-to-end encrypted before it ever leaves the device. There is no server to run, and no cloud bill.
Ensembles has synced production apps since 2013, including Agenda. Ensembles 3 is a complete rewrite in Swift, with async/await concurrency and Swift Package Manager distribution, and it is fully backward compatible with Ensembles 2 cloud data.
CloudFileSystem protocol (8 methods) to add your own.NSManagedObjectContext saves. You don't need to change your data model or your save logic.CoreDataEnsembleContainer creates a Core Data stack, sets up a delegate, and auto-syncs on save:
import Ensembles
import EnsemblesCloudKit
// modelURL points to the .momd compiled from your .xcdatamodeld
let modelURL = Bundle.main.url(forResource: "Model", withExtension: "momd")!
// The store is placed automatically at Application Support/MainStore.sqlite
let container = CoreDataEnsembleContainer(
name: "MainStore",
modelURL: modelURL,
cloudFileSystem: CloudKitFileSystem(
privateDatabaseForUbiquityContainerIdentifier: "iCloud.com.yourcompany.yourapp",
schemaVersion: .v2
)
)!
For deduplication, conform your NSManagedObject subclass to the Syncable protocol:
class Note: NSManagedObject, Syncable {
static let globalIdentifierKey = "uniqueID"
@NSManaged var uniqueID: String
@NSManaged var title: String
}
That's it. The container automatically attaches to the cloud, syncs on save, on app activation, and on a timer. Remote changes are merged into the container's viewContext automatically.
Pass EnsembleContainerConfiguration(autoSyncPolicy: .manual) to the initializer to disable all automatic syncing and call sync() yourself.
For more control, use CoreDataEnsemble directly — see the Getting Started guide.
import EnsemblesSwiftData
import EnsemblesCloudKit
// The store is placed automatically at Application Support/MainStore.sqlite
let container = SwiftDataEnsembleContainer(
name: "MainStore",
modelTypes: [Item.self, Tag.self],
cloudFileSystem: CloudKitFileSystem(
privateDatabaseForUbiquityContainerIdentifier: "iCloud.com.yourcompany.yourapp",
schemaVersion: .v2
)
)!
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub mentalfaculty/ensembles3 --plugin ensemblesPlugins from other owners that cover similar ground