KISS Java Libraries

KissConfig

Tiny zero-dependency Java 17+ configuration loading from properties, explicit .env files, system properties, and environment variables into immutable Java records.

Latest documented release: 0.1.0 Java 17+ Apache-2.0

Maven

<dependency>
  <groupId>io.github.arthurhoch</groupId>
  <artifactId>kiss-config</artifactId>
  <version>0.1.0</version>
</dependency>

Small Surface

KissConfig makes source order, merge behavior, interpolation, mapping, and secret masking explicit. Records are the primary mapping target for the documented 0.1.0 API.

Quick Example

public record AppConfig(ServerConfig server) {}
public record ServerConfig(String host, int port) {}

AppConfig config = KissConfig.load(AppConfig.class);

KISS Principles

Predictable Order

Search order and merge strategy are explicit instead of hidden behind framework defaults.

Records First

Immutable Java records keep configuration shape compact and easy to audit.

Secret Aware

Reports and exceptions mask values marked or detected as secret.

Documentation

Related Projects