# asyncapi/generator

Use your AsyncAPI definition to generate literally anything. Markdown documentation, Node.js code, HTML documentation, anything!

Repository: https://github.com/asyncapi/generator
Canonical: https://ross.abutalabs.com/products/asyncapi-generator
Homepage: https://asyncapi.com/docs/tools/generator
Language: JavaScript
License: Apache-2.0
License Family: permissive
Topics: asyncapi, generator, documentation, codegen, codegenerator, hacktoberfest, nodejs, get-global-docs-autoupdate, get-global-prettierignore, get-global-holopin
Last push: 2026-09-03T00:36:17+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 96, longevity 100
- inputs: {"age_days": 2962, "days_push": 0, "days_rel": 26, "gap_med": 1, "n_releases_24m": 36}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1075, forks 393 (observed 2026-09-03T02:15:09.343805+00:00)

## What it is
The AsyncAPI Generator is a Node.js tool that generates arbitrary output—code, documentation, diagrams, boilerplate—from an AsyncAPI specification document and a template. It ships as a CLI (via the AsyncAPI CLI) and an npm library, with an extensible template ecosystem including React-based rendering.

## Use cases
- generate HTML documentation from an AsyncAPI spec
- scaffold Node.js service boilerplate from an event-driven API definition
- generate client SDKs for Kafka, WebSocket, or MQTT APIs
- produce markdown docs from asyncapi.yaml
- generate code from AsyncAPI document in CI/CD pipeline
- create custom templates to generate anything from an API spec

## When to choose
- you have an AsyncAPI document and want docs, code, or SDKs generated from it
- you want to automate API artifact generation in CI/CD
- you need an extensible, template-driven codegen tool for event-driven APIs

## When to avoid
- you only need to generate data models/classes—use AsyncAPI Modelina instead
- your API is REST/OpenAPI rather than event-driven/AsyncAPI
- you need a GUI-based documentation generator

## Facets
- artifact type: cli-tool
- maturity: active
- function: templating, documentation, cli, developer-tools
- domain: developer-tools, apis, documentation
- platform: cli, cross-platform
- tags: asyncapi, codegen, event-driven-architecture, api-documentation, template-engine, monorepo, code-generation, automation, nodejs

## Member repositories
- asyncapi/generator (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:09.343805+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:53:25.764775+00:00, confidence not recorded.
  - readme: https://github.com/asyncapi/generator (fetched 2026-09-03T02:15:09.343805+00:00, sha 6b0da723dc6d)
  - homepage: https://asyncapi.com/docs/tools/generator (fetched 2026-08-29T12:55:05.403286+00:00, sha 329bae0f5a35)
  - site_page: https://www.asyncapi.com/docs (fetched 2026-08-29T12:55:05.405895+00:00, sha 3d4b76ea8e4e)
  - site_page: https://www.asyncapi.com/docs/concepts (fetched 2026-08-29T12:55:05.407612+00:00, sha 86b7583a06ab)
  - site_page: https://www.asyncapi.com/docs/tutorials (fetched 2026-08-29T12:55:05.409986+00:00, sha adeaaf4ba929)
  - site_page: https://www.asyncapi.com/docs/tools (fetched 2026-08-29T12:55:05.412296+00:00, sha d4beafd18088)
  - site_page: https://www.asyncapi.com/docs/tools/generator/installation-guide (fetched 2026-08-29T12:55:05.414340+00:00, sha 3576e7f3b943)
  - site_page: https://www.asyncapi.com/docs/tools/generator/usage (fetched 2026-08-29T12:55:05.416118+00:00, sha 673e44c4abe6)
  - site_page: https://www.asyncapi.com/docs/tools/generator/asyncapi-document (fetched 2026-08-29T12:55:05.422451+00:00, sha 3d57a41f7e79)
  - site_page: https://www.asyncapi.com/docs/tools/generator/template (fetched 2026-08-29T12:55:05.425414+00:00, sha c4d99d90391e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
