# pointfreeco/sqlite-data

A fast, lightweight replacement for SwiftData, powered by SQL and supporting CloudKit synchronization.

Repository: https://github.com/pointfreeco/sqlite-data
Canonical: https://ross.abutalabs.com/products/sqlite-data
Homepage: https://www.pointfree.co
Language: Swift
License: MIT
License Family: permissive
Topics: persistence, sqlite, database, observation, swiftdata, swiftui, cloudkit, sql, synchronization
Last push: 2026-08-26T19:33:09+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 98, longevity 45
- inputs: {"age_days": 630, "days_push": 7, "days_rel": 14, "gap_med": 8.5, "n_releases_24m": 39}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1898, forks 135 (observed 2026-08-28T04:05:51.139271+00:00)

## What it is
SQLiteData is a fast, lightweight Swift persistence library that serves as a drop-in replacement for SwiftData, built on top of GRDB. It provides @Table and @Fetch property wrappers for SQL-backed models with automatic SwiftUI observation and CloudKit synchronization and sharing.

## Use cases
- replace SwiftData with a faster SQL-backed persistence layer
- sync app data across devices via CloudKit
- query SQLite with type-safe Swift models in SwiftUI apps
- observe database changes reactively outside of views
- share data between users with CloudKit sharing

## When to choose
- you want SwiftData-like ergonomics but with direct SQL control and better performance
- your SwiftUI app needs CloudKit sync without writing CloudKit code
- you need fine-grained, testable database observation

## When to avoid
- you have no SQLite knowledge and prefer pure object-graph persistence
- you target platforms outside Apple's ecosystem
- you need a server-side or cross-platform ORM

## Facets
- artifact type: library
- maturity: active
- function: database, orm, database-driver
- domain: databases, mobile-development, developer-tools
- platform: -
- tags: swiftdata-replacement, grdb, sqlite, cloudkit-sync, swiftui, observation, persistence, swift, ios, macos, mobile, desktop

## Member repositories
- pointfreeco/sqlite-data (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:51.139271+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:12:47.033136+00:00, confidence not recorded.
  - readme: https://github.com/pointfreeco/sqlite-data (fetched 2026-08-28T04:05:51.139271+00:00, sha b2ed89addea0)
  - homepage: https://www.pointfree.co (fetched 2026-08-29T10:51:29.913880+00:00, sha b0c56cc8b0c1)
  - site_page: https://www.pointfree.co/about (fetched 2026-08-29T10:51:29.918558+00:00, sha c3a02fbfb680)
  - site_page: https://www.pointfree.co/pricing (fetched 2026-08-29T10:51:29.916518+00:00, sha 3ca41bd90916)
- Data as of 2026-08-30T08:39:29.467469+00:00.
