# jondot/hygen

The simple, fast, and scalable code generator that lives in your project.

Repository: https://github.com/jondot/hygen
Canonical: https://ross.abutalabs.com/products/hygen
Homepage: http://www.hygen.io
Language: JavaScript
License: MIT
License Family: permissive
Topics: nodejs, generator, tools, cli
Last push: 2024-07-09T11:40:47+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": 3307, "days_push": 785, "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 5930, forks 275 (observed 2026-08-28T04:09:32.408028+00:00)

## What it is
Hygen is a fast, scalable code generator that lives inside your project, letting you define local templates for scaffolding files, injecting into existing code, and running shell commands. It provides automatic CLI argument handling, prompts, and built-in scaffolds for creating new generators.

## Use cases
- generate react components from templates
- scaffold new project files with a cli generator
- inject code into existing files automatically
- create custom project scaffolding per repo
- replace copy-pasting boilerplate code
- build interactive code generation prompts

## When to choose
- you want project-local generators versioned with your code
- you need fast, lightweight scaffolding without heavy tooling
- you need to inject snippets into existing files, not just create new ones

## When to avoid
- you need a full monorepo-wide or multi-language scaffolding system like Yeoman
- your templates require complex runtime dependencies beyond EJS-style rendering
- you want a GUI-based generator

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: cli, templating, developer-tools, boilerplate
- domain: developer-tools, web-development
- platform: cli, cross-platform
- tags: code-generation, scaffolding, project-templates, ejs-templates, command-line, automation, nodejs

## Member repositories
- jondot/hygen (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:32.408028+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:50:48.439348+00:00, confidence not recorded.
  - readme: https://github.com/jondot/hygen (fetched 2026-08-28T04:09:32.408028+00:00, sha a072f6f289b9)
  - registry_npm: https://registry.npmjs.org/hygen (fetched 2026-08-29T08:46:42.570516+00:00, sha bf40071fd858)
- Data as of 2026-08-30T08:39:29.467469+00:00.
