Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Open‑source bilingual Bazi terminology DB and React chart component

说明与用途

bazi‑kit 将术语和渲染与计算分离,允许使用任何引擎的数据在双语 Bazi 图表中显示,而无需重写 UI。

问题

Bazi software developers struggle with scattered terminology and tightly coupled chart UIs that depend on a single calculation engine, making it hard to reuse terminology or swap engines.

结果

Developers can now render bilingual Bazi charts from any calculation engine without rewriting UI code, improving maintainability and internationalization.

工作流

  • 1. Install bazi-terms and bazi-chart via npm.
  • 2. Import and use bazi-terms to translate raw engine output or to normalize data.
  • 3. Feed the normalized data or raw engine output into BaziChart component.
  • 4. Configure language (zh, en, both) and theme (light/dark).
  • 5. Render the chart; missing data sections are omitted automatically.

证据

bazi-kit never calculates anything. It takes chart data you already have and turns it into clean, bilingual, structured output or UI.

来源

bazi-terms is a zero‑dependency, bilingual terminology database.

来源

BaziChart auto‑detects the input shape, normalizes it, and renders — no calculation, no configuration ceremony.

来源

  • 记录日期: 2026-09-12T21:00:27.962Z