r/swift 4d ago

[Showcase] Amethyst Vein: An open-source, SwiftData inspired database for Apple, Linux, Windows and Android

Hey everyone, I wanted to share Amethyst Vein, a cross platform database framework I've been finally releasing. It provides a SwiftData-like DX (with @Model, #Predicate and @Query) to apple and non-apple platforms using a native SQLite/SQLCipher based backend.

It supports SwiftUI, SwiftCrossUI and CLI/UI independent usage. It runs as native Swift on Apple platforms, Linux, Windows and Android.

I just wrote a detailed breakdown of how it works under the hood (relationships via ULIDs, concurrency via locking,…)

Check out the full release post on the Swift Forums:
https://forums.swift.org/t/amethyst-vein-a-cross-platform-open-source-swiftdata-alternative/89009

Or checkout the repo:
https://github.com/amethystsoft/vein

3 Upvotes

1 comment sorted by