# go-macaron/macaron

Package macaron is a high productive and modular web framework in Go.

Repository: https://github.com/go-macaron/macaron
Canonical: https://ross.abutalabs.com/products/macaron
Homepage: https://go-macaron.com
Language: Go
License: Apache-2.0
License Family: permissive
Topics: go, web-framework, macaron
Last push: 2026-02-16T00:42:27+00:00

## Health v2 (maintenance only)
Score: 53/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 67, release rhythm 8, longevity 100
- inputs: {"age_days": 4437, "days_push": 199, "days_rel": 414, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3545, forks 286 (observed 2026-08-28T04:08:09.380218+00:00)

## What it is
Macaron is a high-productivity, modular web framework for Go, inspired by Martini, featuring a fast multi-tree router, dependency injection, and a rich middleware ecosystem. It is officially in maintenance mode with Flamego as its successor.

## Use cases
- build web apps and APIs in Go
- serve static files and templates with a Go web framework
- add middleware like sessions, caching, csrf, and i18n to a Go server
- integrate a router into an existing Go http.Handler server
- understand the framework behind Gogs and Grafana

## When to choose
- you are maintaining or contributing to a project already built on Macaron such as Gogs
- you want a Martini-style framework with dependency injection and modular middlewares

## When to avoid
- you are starting a new Go web project - use its successor Flamego or a mainstream framework like Gin or Echo
- you need a framework with active feature development and long-term support

## Facets
- artifact type: framework
- maturity: maintenance
- function: web-framework, http-server, routing, middleware, templating
- domain: web-development, backend, developer-tools
- platform: go, windows, cross-platform
- tags: go-web-framework, martini-inspired, dependency-injection, modular-middlewares, maintenance-mode, linux, macos

## Member repositories
- go-macaron/macaron (main) score 53

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:09.380218+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-29T18:34:25.161069+00:00, confidence not recorded.
  - readme: https://github.com/go-macaron/macaron (fetched 2026-08-28T04:08:09.380218+00:00, sha 46394e7ce14c)
  - homepage: https://go-macaron.com (fetched 2026-08-29T09:28:27.998771+00:00, sha 1301cebc8b42)
  - site_page: https://go-macaron.com/faqs (fetched 2026-08-29T09:28:28.007711+00:00, sha c400db8f07a4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
