# felangel/mason

Tools which allow developers to create and consume reusable templates called bricks.

Repository: https://github.com/felangel/mason
Canonical: https://ross.abutalabs.com/products/felangel-mason
Homepage: https://docs.brickhub.dev
Language: Dart
License Family: other
Topics: dart-package, dart, template-generator, mustache-templates, templating, mustache, mustache-templating, cli, mason, bricks, template, command-line-tool, templates, command-line, flutter
Last push: 2026-06-03T22:27:26+00:00

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 85, release rhythm 75, longevity 100
- inputs: {"age_days": 2163, "days_push": 91, "days_rel": 166, "gap_med": 6, "n_releases_24m": 14}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1134, forks 113 (observed 2026-08-28T04:03:43.198198+00:00)

## What it is
Mason is a collection of Dart packages and a CLI that lets developers create, publish, and consume reusable code templates called bricks. It includes mason_cli for generating code from templates and a registry (BrickHub) for sharing them.

## Use cases
- generate boilerplate code from reusable templates
- scaffold flutter features with a consistent structure
- share code templates across a team
- create custom project scaffolding for dart and flutter apps
- standardize file and folder generation in repositories
- publish and install community code templates

## When to choose
- you write Dart or Flutter code and want reusable scaffolding
- your team needs consistent boilerplate across many projects
- you want a template registry with publishing and versioning
- you prefer mustache-based templates driven by variables and hooks

## When to avoid
- you need code generation for non-Dart ecosystems with richer tooling (e.g., Yeoman, Cookiecutter may fit better)
- you only need one-off project scaffolding without reuse
- you require a license-guaranteed dependency (no license file is present in the repo)

## Facets
- artifact type: cli-tool
- maturity: active
- function: templating, cli, developer-tools
- domain: developer-tools, web-development, cross-platform
- platform: cli, cross-platform, windows
- tags: dart, flutter, bricks, mustache, template-generator, brickhub, scaffolding, code-generation, command-line, macos, linux

## Member repositories
- felangel/mason (main) score 84

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:43.198198+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-30T06:37:05.902620+00:00, confidence not recorded.
  - readme: https://github.com/felangel/mason (fetched 2026-08-28T04:03:43.198198+00:00, sha dda07d493e27)
  - homepage: https://docs.brickhub.dev (fetched 2026-08-29T12:41:53.711994+00:00, sha a1472d8b163f)
  - site_page: https://docs.brickhub.dev/category/getting-started (fetched 2026-08-29T12:41:53.720900+00:00, sha ed65fccdb93d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
