KISS Java Libraries

KissServer

Tiny zero-dependency Java 17+ HTTP/1.1 server library for simple REST-style applications, explicit routing, bounded parsing, and predictable shutdown.

Latest stable: 0.1.0 Java 17+ Apache-2.0

Maven

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

Small Surface

KissServer keeps HTTP routes and runtime behavior explicit. It is intended for small services that need a direct Java API without servlet containers or web frameworks.

Quick Example

KissServer server = KissServer.create();
server.get("/health", ctx -> ctx.text("OK"));
server.start(8080).await();

KISS Principles

Bounded Input

Request line, header, body, connection, and keep-alive limits are explicit.

Direct Routing

Exact and dynamic routes use small public types with predictable request and response behavior.

Simple Runtime

The core artifact targets Java 17 and keeps optional Java 21 virtual-thread usage application-provided.

Documentation

Related Projects