#6565th of 102 in Backends, databases and hosting

realm-swift

On-device object database for iOS, macOS, tvOS and watchOS apps

Stars
16.6k
License
Apache-2.0
Last commit
Sep 2026
Last release
Sep 2026
Language
Objective-C
Stars, last 29 weeks+100
21 Apr 2026: 16,501 stars28 Apr 2026: 16,505 stars5 May 2026: 16,507 stars12 May 2026: 16,510 stars19 May 2026: 16,512 stars26 May 2026: 16,516 stars2 Jun 2026: 16,520 stars9 Jun 2026: 16,525 stars16 Jun 2026: 16,531 stars23 Jun 2026: 16,535 stars30 Jun 2026: 16,546 stars7 Jul 2026: 16,551 stars14 Jul 2026: 16,552 stars21 Jul 2026: 16,553 stars28 Jul 2026: 16,557 stars4 Aug 2026: 16,562 stars11 Aug 2026: 16,566 stars18 Aug 2026: 16,567 stars25 Aug 2026: 16,569 stars1 Sept 2026: 16,572 stars8 Sept 2026: 16,578 stars15 Sept 2026: 16,582 stars22 Sept 2026: 16,584 stars29 Sept 2026: 16,588 stars6 Oct 2026: 16,589 stars13 Oct 2026: 16,591 stars20 Oct 2026: 16,593 stars27 Oct 2026: 16,595 stars3 Nov 2026: 16,596 stars10 Nov 2026: 16,601 stars

16,501 on 21 Apr 202616,601 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Realm Swift and Realm Objective-C are an embedded mobile database that stores objects on disk without an ORM. Models are Swift classes with @Persisted properties, and live objects, notifications and SwiftUI property wrappers such as @ObservedResults keep views in sync. Realms can be encrypted with a 64-byte key and installed through Swift Package Manager, CocoaPods, Carthage or XCFramework.

Who it is for: Apple-platform app developers needing an embedded, reactive local database

Strengths

  • Object model with @Persisted classes needs no ORM or schema files
  • Live objects and observe() notifications update data across the app
  • SwiftUI wrappers like @ObservedResults bind queries directly to views
  • At-rest encryption via a 64-byte key in Realm.Configuration

Weaknesses

  • Apple platforms only: iOS, macOS, tvOS and watchOS
  • Building from source requires Xcode 15.3 or newer
  • Local embedded store; README describes no server-side or hosted component
  • Not a fit for server backends or non-Apple clients

What it needs

  • no GPU
  • Needs Xcode 15.3+ (building from source)

Quick answers

Is realm-swift open source?

Yes. Its code is on GitHub under the Apache-2.0 license.

Also in Backends, databases and hosting

See all 102
Also in Backends, databases and hosting
RankProjectScore
1bunJavaScript and TypeScript runtime with bundler, test runner and package manager96.7k starscustom license93 out of 100
2strapiHeadless CMS that generates REST and GraphQL APIs from content models Live demo ↗ (opens in a new tab)73.5k stars+245 (+0.3%) in 30 dayscustom license92 out of 100
3traefikHTTP reverse proxy and load balancer that auto-discovers routes from orchestrators65.5k stars+446 (+0.7%) in 30 daysMIT92 out of 100
#4appwriteBackend with auth, databases, storage, functions and an MCP server for agents Live demo ↗ (opens in a new tab)58k stars+463 (+0.8%) in 30 daysBSD-3-Clause92 out of 100
#5medusaNode.js commerce platform with modular products, carts, orders and payments37.2k starscustom license92 out of 100