sksamuel/hoplite
A boilerplate-free Kotlin config library for loading configuration files as data classes observed · 2026-08-28
Health v2 · maintenance only
90/100
- Activity 94
- Release rhythm 78
- Longevity 100
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: 9
- age_days: 2662
- days_rel: 150
- days_push: 37
- n_releases_24m: 8
Adoption not part of the score
1045 stars · 89 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Hoplite is a boilerplate-free Kotlin library for loading configuration files into typesafe data classes. It supports multiple formats (YAML, JSON, TOML, HOCON, properties), cascading config layers, environment variable and system property overrides, and detailed error reporting.
Use cases
- load yaml config into kotlin data classes
- type-safe configuration loading for jvm apps
- layer environment-specific config files over defaults
- resolve secrets from aws secrets manager in config
- fail fast on missing or invalid config values
- reload configuration at runtime
- override config values via environment variables
When to choose
- you write Kotlin/JVM apps and want config mapped directly to data classes with no boilerplate
- you need to mix multiple config formats or stack cascading config files
- you want clear, detailed errors for missing or mistyped config values
- you need preprocessors for secrets managers or reloadable config
When to avoid
- you are not on the JVM or not using Kotlin
- you need config loading at compile time rather than runtime
- you only need simple key-value properties without type conversion
Facets
library · maturity active
configuration-management serialization json yaml developer-tools backend jvm cross-platform kotlin config-loader data-classes hocon toml type-safe-config secrets-manager environment-variables jvm
1 source
- readme: https://github.com/sksamuel/hoplite · fetched 2026-08-28 · ba25985cde1c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sksamuel/hoplite | main | 90 |
For agents
markdown · JSON · MCP: product_card(name="sksamuel/hoplite")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem