# russhwolf/multiplatform-settings

A Kotlin Multiplatform library for saving simple key-value data

Repository: https://github.com/russhwolf/multiplatform-settings
Canonical: https://ross.abutalabs.com/products/multiplatform-settings
Language: Kotlin
License: Apache-2.0
License Family: permissive
Topics: kotlin-multiplatform, kotlin, kotlin-library, kotlin-android, kotlin-native, kotlin-ios, kotlin-js, kotlin-jvm, kotlin-multiplatform-library, kotlin-wasm
Last push: 2025-09-07T16:58:51+00:00

## Health v2 (maintenance only)
Score: 41/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 40, release rhythm 8, longevity 100
- inputs: {"age_days": 3039, "days_push": 360, "days_rel": 642, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2247, forks 81 (observed 2026-08-28T04:06:30.204189+00:00)

## What it is
A Kotlin Multiplatform library providing a common API for persisting simple key-value data across platforms like Android, iOS, JVM, JS, and Windows. It wraps platform-specific storage backends such as NSUserDefaults, Keychain, and Java Preferences behind a unified Settings interface.

## Use cases
- persist user settings in a Kotlin Multiplatform app
- save key-value preferences from shared Kotlin code
- store app configuration across iOS and Android
- wrap NSUserDefaults and SharedPreferences behind one API
- securely store small values using the Apple Keychain
- observe changes to stored settings reactively

## When to choose
- you're building a Kotlin Multiplatform app and need shared persistence for simple key-value data
- you want one API over platform-specific preference stores like NSUserDefaults, SharedPreferences, or Windows registry
- you need optional secure storage via Apple Keychain or coroutine/serialization support

## When to avoid
- you need to store large or complex structured data rather than small key-value pairs
- your project is single-platform and can use the native preferences API directly
- you need a full database with queries rather than simple settings

## Facets
- artifact type: library
- maturity: stable
- function: sdk, developer-tools
- domain: cross-platform, mobile-development, developer-tools
- platform: windows, jvm, wasm, cross-platform
- tags: kotlin-multiplatform, key-value-storage, preferences, settings, persistence, android, ios, macos

## Member repositories
- russhwolf/multiplatform-settings (main) score 41

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:30.204189+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-30T02:43:57.975352+00:00, confidence not recorded.
  - readme: https://github.com/russhwolf/multiplatform-settings (fetched 2026-08-28T04:06:30.204189+00:00, sha 942559ca4e34)
- Data as of 2026-08-30T08:39:29.467469+00:00.
