# xudaolong/CodeVar

生成可用的代码变量 (CodeVar that return u a better variable from Chinese to English . )

Repository: https://github.com/xudaolong/CodeVar
Canonical: https://ross.abutalabs.com/products/codevar
Language: JavaScript
License Family: other
Topics: alfy, alfred-workflows, workflow, javascript, youdao
Last push: 2023-08-11T02:39:41+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": 3551, "days_push": 1118, "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 1125, forks 81 (observed 2026-08-28T04:03:41.092471+00:00)

## What it is
An Alfred workflow that translates Chinese phrases into English variable names in multiple naming conventions (camelCase, PascalCase, snake_case, constant, kebab-case). It uses the Youdao translation API via Node.js and alfy.

## Use cases
- convert Chinese words to English variable names
- generate camelCase variable names from Chinese input
- name variables in code without switching to a dictionary
- get snake_case or kebab-case names from Chinese phrases
- quickly look up English naming for identifiers in Alfred

## When to avoid
- you don't use Alfred or macOS
- you need offline translation without a Youdao API key
- you need a cross-platform or editor-integrated naming tool

## Facets
- artifact type: plugin
- maturity: maintenance
- function: nlp, developer-tools
- domain: developer-tools
- platform: cli
- tags: alfred-workflow, variable-naming, translation, youdao, chinese-to-english, natural-language-processing, macos, nodejs

## Member repositories
- xudaolong/CodeVar (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:41.092471+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:39:36.440527+00:00, confidence not recorded.
  - readme: https://github.com/xudaolong/CodeVar (fetched 2026-08-28T04:03:41.092471+00:00, sha 312f6f9b1bbe)
- Data as of 2026-08-30T08:39:29.467469+00:00.
