# brofield/simpleini

Cross-platform C++ library providing a simple API to read and write INI-style configuration files

Repository: https://github.com/brofield/simpleini
Canonical: https://ross.abutalabs.com/products/simpleini
Language: C++
License: MIT
License Family: permissive
Last push: 2026-06-19T15:55:17+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 88, release rhythm 89, longevity 100
- inputs: {"age_days": 4723, "days_push": 75, "days_rel": 79, "gap_med": 0, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1325, forks 357 (observed 2026-08-28T04:04:22.660464+00:00)

## What it is
SimpleIni is a cross-platform, header-only C++ library for reading and writing INI-style configuration files. It supports ASCII, MBCS, and Unicode encodings, preserves comments and ordering, and works on Windows, Linux, and macOS.

## Use cases
- read and write INI config files in C++
- parse INI files with Unicode or UTF-8 encoding
- preserve comments when editing configuration files
- header-only config file library for C++ projects
- load INI files with multi-line values
- handle duplicate keys or case-insensitive sections in INI files

## When to choose
- you need a simple, dependency-free, header-only INI parser in C++
- you need cross-platform support including Windows, WinCE, Linux, and macOS
- you need Unicode, MBCS, or ICU-based encoding conversion
- you want comments and key ordering preserved when saving config files

## When to avoid
- you need a hierarchical config format like JSON, YAML, or TOML
- you need schema validation or type-safe config handling
- you need a runtime-configurable or watched/reloading config system

## Facets
- artifact type: library
- maturity: stable
- function: configuration-management, parser, serialization
- domain: developer-tools, cross-platform, files
- platform: cpp, windows, cross-platform
- tags: ini-files, header-only, config-files, unicode, mbcs, linux, macos

## Member repositories
- brofield/simpleini (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:22.660464+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-30T04:46:33.452393+00:00, confidence not recorded.
  - readme: https://github.com/brofield/simpleini (fetched 2026-08-28T04:04:22.660464+00:00, sha e01779e96a7b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
