# soveran/cuba

Rum based microframework for web development.

Repository: https://github.com/soveran/cuba
Canonical: https://ross.abutalabs.com/products/cuba
Homepage: http://soveran.github.io/cuba/
Language: Ruby
License: MIT
License Family: permissive
Topics: rack, ruby, micro-framework, lesscode
Last push: 2024-01-24T13:00:14+00:00

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

## Adoption (not part of the score)
Stars 1447, forks 261 (observed 2026-08-28T04:04:45.355908+00:00)

## What it is
Cuba is a Ruby microframework for web development built on top of Rack, inspired by the Rum request mapper. It offers minimal routing with composable matchers, template integration via Tilt, and testing support through Cutest and Capybara.

## Use cases
- build a small Rack-based web application in Ruby
- write a lightweight API with minimal routing
- create a microservice with minimal dependencies
- learn minimalist Ruby web development
- serve simple pages with template rendering via Tilt

## When to choose
- you want a tiny, dependency-light Rack framework
- you prefer explicit, composable route matchers over DSL magic
- you're building small apps, prototypes, or microservices in Ruby

## When to avoid
- you need batteries-included features like ORM, background jobs, or asset pipelines
- you're building a large application and want a full-stack framework like Rails
- you need a framework with a large active community and ecosystem

## Facets
- artifact type: framework
- maturity: maintenance
- function: web-framework, routing, templating, middleware
- domain: web-development, backend, apis
- platform: ruby
- tags: rack, microframework, minimalist, tilt, web-server

## Member repositories
- soveran/cuba (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:45.355908+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-30T04:36:08.485896+00:00, confidence not recorded.
  - readme: https://github.com/soveran/cuba (fetched 2026-08-28T04:04:45.355908+00:00, sha 6f2e5c1a7642)
  - homepage: http://soveran.github.io/cuba/ (fetched 2026-08-29T11:45:51.484211+00:00, sha 1ffb314e5c40)
- Data as of 2026-08-30T08:39:29.467469+00:00.
