# diegohaz/generact

Generate React components by replicating your own

Repository: https://github.com/diegohaz/generact
Canonical: https://ross.abutalabs.com/products/generact
Homepage: https://git.io/generact
Language: JavaScript
License: MIT
License Family: permissive
Topics: react, create-react-app, cli, generator, react-boilerplate, react-starter-kit
Last push: 2019-03-08T17:18:29+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3378, "days_push": 2735, "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 1472, forks 46 (observed 2026-08-28T04:04:49.498300+00:00)

## What it is
generact is a CLI tool that generates new React components by replicating existing components in your project, regardless of file structure. It scans a project for components to use as templates and works with common boilerplates like create-react-app and react-boilerplate.

## Use cases
- generate react components from existing ones
- scaffold new react components without copy-pasting
- create components matching my project's file structure
- avoid repetitive component boilerplate in react projects
- generate components compatible with create-react-app
- replicate an existing component as a starting point for a new one

## When to choose
- you frequently create React components by copying and modifying existing ones
- your project has a custom file structure that rigid generators can't handle
- you use a common boilerplate like create-react-app or react-boilerplate

## When to avoid
- you need an actively maintained tool (last release was 2019)
- you use a framework other than React
- you prefer IDE-integrated generation (though a third-party VS Code extension exists)

## Facets
- artifact type: cli-tool
- maturity: abandoned
- function: cli, developer-tools, boilerplate
- domain: web-development, frontend, developer-tools
- platform: cli, cross-platform
- tags: react, component-generator, scaffolding, code-generator, code-generation, command-line, nodejs

## Member repositories
- diegohaz/generact (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:49.498300+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:34:40.600765+00:00, confidence not recorded.
  - readme: https://github.com/diegohaz/generact (fetched 2026-08-28T04:04:49.498300+00:00, sha c5be115a3e5a)
  - homepage: https://git.io/generact (fetched 2026-08-29T11:42:44.054314+00:00, sha a910caf061e6)
  - registry_npm: https://registry.npmjs.org/generact (fetched 2026-08-29T11:42:44.063446+00:00, sha b512d5b460f4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
