benhoyt/inih
Simple .INI file parser in C, good for embedded systems observed · 2026-08-28
Health v2 · maintenance only
62/100
- Activity 65
- Release rhythm 35
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 48
- age_days: 4192
- days_rel: 356
- days_push: 215
- n_releases_24m: 4
Adoption not part of the score
3037 stars · 571 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
inih (INI Not Invented Here) is a small, simple .INI file parser written in C, designed to be just a couple pages of code. It parses INI files in a SAX-style callback manner, making it well-suited for low-memory embedded systems and compatible with Python's ConfigParser style.
Use cases
- parse INI config files in a C program
- read configuration files on an embedded microcontroller
- parse INI files compatible with Python ConfigParser
- parse INI data from a string or custom stream
- handle multi-line and inline-comment INI syntax in C
- add lightweight config file support to a C library
When to choose
- you need a tiny, dependency-free INI parser in C or C++
- you're targeting embedded or low-memory systems
- you want ConfigParser-style INI syntax with compile-time configurability
- you prefer a simple callback-based (SAX-style) parsing API
When to avoid
- you need a full-featured configuration format like TOML or YAML
- you want a tree/DOM-style parsed config object rather than callbacks
- you need type conversion, validation, or schema support built in
- you're working in a higher-level language with native config parsing
Facets
library · maturity stable
parser configuration-management developer-tools parsers embedded-systems developer-tools files c cpp embedded cross-platform ini-parser configparser embedded-friendly single-file-library sax-style linux
1 source
- readme: https://github.com/benhoyt/inih · fetched 2026-08-28 · b78faed7dc73
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| benhoyt/inih | main | 62 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem