# scalatra/scalatra

Tiny Scala high-performance, async web framework, inspired by Sinatra

Repository: https://github.com/scalatra/scalatra
Canonical: https://ross.abutalabs.com/products/scalatra
Homepage: http://scalatra.org
Language: Scala
License: NOASSERTION
License Family: other
Topics: scala, sinatra, web-framework, json, jetty, atmosphere, scalate, swagger
Last push: 2026-08-22T02:06:10+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 35, longevity 100
- inputs: {"age_days": 6303, "days_push": 12, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2650, forks 334 (observed 2026-08-28T04:07:06.979464+00:00)

## What it is
Scalatra is a tiny, Sinatra-inspired web micro-framework for Scala that runs on the JVM. It lets developers build high-performance, asynchronous web sites and HTTP APIs with concise, DSL-style route definitions.

## Use cases
- build a REST API in Scala
- create a lightweight web backend for a single-page app
- serve JSON endpoints with minimal boilerplate
- build a small Sinatra-style web app on the JVM
- add websocket support to a Scala web service
- learn Scala through a simple web framework
- build high-performance async HTTP services using all server cores

## When to choose
- you want a minimal, Sinatra-like DSL for Scala web development
- you need a lightweight JVM framework for JSON APIs
- you want async, high-concurrency HTTP handling on the JVM
- you prefer few dependencies and quick setup
- you want Swagger support for documenting APIs

## Facets
- artifact type: framework
- maturity: active
- function: web-framework, routing, http-server, middleware, websocket, templating
- domain: web-development, backend, apis
- platform: jvm, cross-platform
- tags: scala, sinatra-inspired, micro-framework, jetty, scalate, swagger, async, rest-api, web-server

## Member repositories
- scalatra/scalatra (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:06.979464+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-30T02:18:53.694512+00:00, confidence not recorded.
  - readme: https://github.com/scalatra/scalatra (fetched 2026-08-28T04:07:06.979464+00:00, sha c9e52035b2dc)
  - homepage: http://scalatra.org (fetched 2026-08-29T10:01:38.226498+00:00, sha 478da65cf84d)
  - site_page: https://scalatra.org/getting-started (fetched 2026-08-29T10:01:38.235802+00:00, sha 32c2cf0fb4fb)
  - site_page: https://scalatra.org/guides (fetched 2026-08-29T10:01:38.237516+00:00, sha 8bddfd892d38)
  - site_page: https://scalatra.org/getting-started/installation.html (fetched 2026-08-29T10:01:38.239267+00:00, sha a2e34c6fb628)
- Data as of 2026-08-30T08:39:29.467469+00:00.
