# go-martini/martini

Classy web framework for Go

Repository: https://github.com/go-martini/martini
Canonical: https://ross.abutalabs.com/products/martini
Language: Go
License: MIT
License Family: permissive
Last push: 2022-03-29T19:42:09+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4691, "days_push": 1618, "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 11599, forks 1087 (observed 2026-08-28T04:10:48.907882+00:00)

## What it is
Martini is a classic Go web framework offering simple routing, middleware chaining, dependency injection of services into handlers, and static file serving via a martini.Classic() setup. Its own README declares the framework is no longer maintained, so it survives only as legacy code for existing applications.

## Use cases
- quickly write modular web applications and services in Go
- add path-based routing with middleware to a Go http server
- inject services into request handlers with dependency injection
- serve static files or an HTML5-mode single-page app from Go
- build a simple REST API in Go with minimal boilerplate
- maintain or migrate an existing legacy Martini codebase

## When to choose
- you are maintaining an existing application already built on Martini
- you need to study a historically influential Go framework's dependency-injection and middleware design
- you have a tiny, isolated internal service pinned to an old Go toolchain where Martini already works

## When to avoid
- starting any new Go web project - the project is officially unmaintained
- security-sensitive or long-term production systems that need patches and updates
- you want modern Go idioms - prefer net/http (Go 1.22+ routing), chi, gin, or echo
- your codebase requires a dependency with an active community and recent releases

## Facets
- artifact type: framework
- maturity: abandoned
- function: web-framework, routing, middleware, http-server
- domain: web-development, backend, developer-tools
- platform: go, windows, cross-platform
- tags: martini, dependency-injection, unmaintained, legacy-framework, go-web-framework, modular-design, handler-chain, linux, macos

## Member repositories
- go-martini/martini (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:48.907882+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:15:29.280347+00:00, confidence not recorded.
  - readme: https://github.com/go-martini/martini (fetched 2026-08-28T04:10:48.907882+00:00, sha 6d2cdb5b1826)
- Data as of 2026-08-30T08:39:29.467469+00:00.
