# perwendel/spark

A simple expressive web framework for java. Spark has a kotlin DSL https://github.com/perwendel/spark-kotlin

Repository: https://github.com/perwendel/spark
Canonical: https://ross.abutalabs.com/products/perwendel-spark
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2023-10-08T09:20:37+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5599, "days_push": 1060, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 9644, forks 1566 (observed 2026-08-28T04:10:36.537415+00:00)

## What it is
Spark is a tiny, expressive web framework for Java 8+ (with a Kotlin DSL) inspired by Sinatra, letting you define routes with lambdas in a few lines. It bundles an embedded web server so applications can serve HTTP endpoints with minimal setup.

## Use cases
- build a rest api in java
- create a simple http server with minimal boilerplate
- serve json endpoints from a jvm app
- prototype a web backend quickly in java
- add lightweight http routing to an existing java application
- learn web development with a small java framework

## When to choose
- you want a Sinatra-style microframework in Java with minimal boilerplate
- you need a small REST API or prototype without a heavyweight stack
- you prefer an embedded server and simple lambda-based routing

## When to avoid
- you need a full-featured ecosystem with dependency injection, ORM, and async-first design (consider Spring Boot or Micronaut)
- you need high-throughput reactive/non-blocking I/O
- you require active development - releases have slowed and the project appears to be in maintenance mode

## Facets
- artifact type: framework
- maturity: maintenance
- function: web-framework, http-server, routing, middleware
- domain: web-development, backend, apis
- platform: jvm, cross-platform
- tags: microframework, sinatra-inspired, kotlin-dsl, embedded-jetty

## Member repositories
- perwendel/spark (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:36.537415+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-29T17:21:20.244369+00:00, confidence not recorded.
  - readme: https://github.com/perwendel/spark (fetched 2026-08-28T04:10:36.537415+00:00, sha 9dac0b22f2b9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
