# sinatra/sinatra

Classy web-development dressed in a DSL (official / canonical repo)

Repository: https://github.com/sinatra/sinatra
Canonical: https://ross.abutalabs.com/products/sinatra
Homepage: https://sinatrarb.com
Language: Ruby
License: MIT
License Family: permissive
Topics: ruby, rack, web-framework, sinatra
Last push: 2026-07-20T09:59:21+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 93, release rhythm 35, longevity 100
- inputs: {"age_days": 6441, "days_push": 44, "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 12452, forks 2074 (observed 2026-08-28T04:10:58.958680+00:00)

## What it is
Sinatra is a Ruby DSL for quickly creating web applications with minimal effort, built on Rack. It provides routing, filters, sessions, and support for many template languages in a lightweight microframework.

## Use cases
- build a small web api in ruby
- create a lightweight web app without rails
- serve json endpoints quickly
- prototype a web service
- build a webhook receiver
- create a simple website with templates

## When to choose
- you want a minimal ruby web framework with a simple DSL
- you need a small service or api without rails overhead
- you want fine control over rack middleware
- you're building microservices or small endpoints

## When to avoid
- you need a full-stack framework with batteries included like orm, auth, and asset pipeline
- you're building a large monolithic web application
- you're not working in ruby

## Facets
- artifact type: framework
- maturity: stable
- function: web-framework, routing, templating, middleware, http-server
- domain: web-development, backend, apis
- platform: ruby, cross-platform
- tags: dsl, rack, microframework, minimalist, rest, web-server

## Member repositories
- sinatra/sinatra (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:58.958680+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:14:03.469062+00:00, confidence not recorded.
  - readme: https://github.com/sinatra/sinatra (fetched 2026-08-28T04:10:58.958680+00:00, sha 228373a4e811)
  - homepage: https://sinatrarb.com (fetched 2026-08-29T08:10:51.989058+00:00, sha 452bc93b5774)
  - site_page: https://sinatrarb.com/sinatra.github.com/documentation.html (fetched 2026-08-29T08:10:51.997997+00:00, sha 2c1ef6b9a757)
  - site_page: https://sinatrarb.com/sinatra.github.com/about.html (fetched 2026-08-29T08:10:52.001267+00:00, sha 61b842547ec4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
