# mergesort/Boutique

✨ A magical persistence library (and so much more) for state-driven iOS and Mac apps ✨

Repository: https://github.com/mergesort/Boutique
Canonical: https://ross.abutalabs.com/products/boutique
Homepage: https://build.ms/boutique/docs
Language: Swift
License: MIT
License Family: permissive
Topics: actors, cache, database, ios, macos, offline-first, persistence, swift, appkit, swiftui, uikit
Last push: 2026-07-13T13:59:15+00:00

## Health v2 (maintenance only)
Score: 90/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 92, release rhythm 82, longevity 100
- inputs: {"age_days": 1559, "days_push": 51, "days_rel": 120, "gap_med": 15.5, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1132, forks 54 (observed 2026-08-28T04:03:42.798636+00:00)

## What it is
Boutique is a Swift persistence library providing a simple Store API with memory + disk caching for state-driven apps. It offers property wrappers (@StoredValue, @SecurelyStoredValue) that expose persisted data as regular Swift arrays and values for SwiftUI, UIKit, and AppKit.

## Use cases
- persist app state offline in a SwiftUI app
- replace Core Data with a simpler persistence layer
- cache API responses on disk with real-time updates
- store secure values like auth tokens
- build offline-first iOS apps with minimal code
- manage app state as a reactive Swift array

## When to choose
- building SwiftUI, UIKit, or AppKit apps needing simple offline persistence
- you want state-driven architecture without database boilerplate
- you need both in-memory and disk caching with a tiny API

## When to avoid
- building for platforms outside Apple's ecosystem
- you need complex relational queries or migrations that Core Data or SQLite provide
- server-side or non-Swift projects

## Facets
- artifact type: library
- maturity: active
- function: database, caching, state-management, serialization
- domain: mobile-development, desktop-applications, databases, frontend
- platform: -
- tags: swiftui, uikit, appkit, offline-first, property-wrappers, actors, persistence, mvcs, ios, macos, swift, mobile, desktop

## Member repositories
- mergesort/Boutique (main) score 90

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:42.798636+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-30T06:37:58.330604+00:00, confidence not recorded.
  - readme: https://github.com/mergesort/Boutique (fetched 2026-08-28T04:03:42.798636+00:00, sha 34c5486c47e7)
  - homepage: https://build.ms/boutique/docs (fetched 2026-08-29T12:42:18.943158+00:00, sha 9d231ff2daa0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
