#2121st of 45 in Backend and cloud templates

javalin

Lightweight web framework for Java and Kotlin with WebSockets and HTTP/2

Stars
8.4k
License
Apache-2.0
Last commit
Oct 2026
Last release
Oct 2026
Language
Kotlin
Stars, last 29 weeks+180
21 Apr 2026: 8,199 stars28 Apr 2026: 8,206 stars5 May 2026: 8,211 stars12 May 2026: 8,216 stars19 May 2026: 8,222 stars26 May 2026: 8,232 stars2 Jun 2026: 8,238 stars9 Jun 2026: 8,245 stars16 Jun 2026: 8,251 stars23 Jun 2026: 8,257 stars30 Jun 2026: 8,264 stars7 Jul 2026: 8,273 stars14 Jul 2026: 8,279 stars21 Jul 2026: 8,285 stars28 Jul 2026: 8,289 stars4 Aug 2026: 8,297 stars11 Aug 2026: 8,305 stars18 Aug 2026: 8,313 stars25 Aug 2026: 8,319 stars1 Sept 2026: 8,323 stars8 Sept 2026: 8,331 stars15 Sept 2026: 8,332 stars22 Sept 2026: 8,335 stars29 Sept 2026: 8,342 stars6 Oct 2026: 8,348 stars13 Oct 2026: 8,355 stars20 Oct 2026: 8,361 stars27 Oct 2026: 8,372 stars3 Nov 2026: 8,375 stars10 Nov 2026: 8,379 stars

8,199 on 21 Apr 20268,379 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Javalin is a web library for Java and Kotlin that handles HTTP routing, WebSockets, HTTP/2, async requests, static files, JSON mapping and file uploads. It avoids annotations, reflection and base classes to extend, so handlers are plain lambdas registered on a config object. It has no AI features; it fits this list only as a generic backend service base, with plugins for OpenAPI and SSL.

Who it is for: Java and Kotlin developers building HTTP or WebSocket backend services

Strengths

  • No annotations, reflection or required base classes; handlers are plain lambdas
  • Same API in Java and Kotlin, with examples for both
  • Built-in WebSockets, static files, JSON mapping and file uploads
  • Plugin system, including OpenAPI 3.0 generation and SSL (PEM, PKCS12, JKS)

Weaknesses

  • No AI, model or agent integration; only a generic HTTP backend
  • Not a template: no auth, database or billing wired in
  • OpenAPI support is a separate plugin that relies on annotations
  • Dependency, JSON mapper and database choices are left to you

What it needs

  • Kotlin
  • Needs JVM (Java or Kotlin), Maven or Gradle

Quick answers

Is javalin open source?

Yes. Its code is on GitHub under the Apache-2.0 license.

Also in Backend and cloud templates

See all 45
Also in Backend and cloud templates
RankProjectScore
1fastapiPython web framework for typed REST APIs with automatic OpenAPI docs104.6k starsMIT90 out of 100
2fiberExpress-style HTTP web framework for Go, built on fasthttp40.3k stars+130 (+0.3%) in 30 daysMIT90 out of 100
3generator-jhipsterCode generator for Java apps with Angular, React or Vue frontends22.5k starsApache-2.090 out of 100
#4serverlessCLI that deploys AWS Lambda code and infrastructure from serverless.yml46.9k starscustom license88 out of 100
#5echoMinimalist Go web framework with a radix-tree router and middleware32.8k stars+73 (+0.2%) in 30 daysMIT86 out of 100