# aliyun/darabonba

Darabonba 是一种用于 OpenAPI 的 DSL 语言，可以用来生成多语言的 SDK、Code Sample、Test Case 等代码

Repository: https://github.com/aliyun/darabonba
Canonical: https://ross.abutalabs.com/products/darabonba
Language: JavaScript
License: NOASSERTION
License Family: other
Topics: darabonba, aliyun, dsl, geteway
Last push: 2025-08-12T06:57:00+00:00

## Health v2 (maintenance only)
Score: 39/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 36, release rhythm 8, longevity 100
- inputs: {"age_days": 2280, "days_push": 386, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- 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 1104, forks 96 (observed 2026-08-28T04:03:36.319698+00:00)

## What it is
Darabonba is a domain-specific language (DSL) for describing OpenAPI-based interfaces, maintained by Alibaba Cloud. It compiles a single interface definition into multi-language SDKs, code samples, and test cases via per-language generators (Java, Go, Python, TypeScript, PHP, C#, C++, and more).

## Use cases
- generate SDKs for an API in multiple programming languages from one definition
- write code samples for an OpenAPI once and emit them in many languages
- generate test cases for API client libraries
- define and publish reusable API utility modules
- build consistent multi-language SDKs for a cloud platform
- get syntax highlighting and linting for Darabonba DSL files in VS Code

## When to choose
- you maintain a public API and need to ship SDKs in several languages without duplicating effort
- you want a single source of truth for API behavior, samples, and tests
- you are building Alibaba Cloud or Alipay-style multi-language SDK ecosystems

## When to avoid
- you only need SDKs in one language, where hand-written code may be simpler
- your API is not describable in OpenAPI-style terms
- you need a general-purpose programming language rather than an API-description DSL

## Facets
- artifact type: cli-tool
- maturity: active
- function: parser, compiler, sdk, cli, testing
- domain: programming-languages, apis, developer-tools, parsers
- platform: cli, cross-platform
- tags: dsl, openapi, multi-language-code-generation, code-samples, aliyun, vscode-plugin, module-registry, code-generation, nodejs

## Member repositories
- aliyun/darabonba (main) score 39

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:36.319698+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:45:27.282053+00:00, confidence not recorded.
  - readme: https://github.com/aliyun/darabonba (fetched 2026-08-28T04:03:36.319698+00:00, sha 8e55292f5780)
- Data as of 2026-08-30T08:39:29.467469+00:00.
