
bruin-data/dac
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
DaC는 대쉬보드-as-code 도구입니다. YAML 및 JSX를 이용한 대화형 대시보드 구축 내장 semantic 층. 표준화, 검토 가능한 대시보드를 구축하는 에이전트를 가져옵니다.
개요
DAC는 YAML 및 TSX에서 정의, 검증 및 서스펜션 대시보드-as-Code 도구입니다. - TSX와 동적 차트, 탭, 루프 및 조건. - 모든 주요 데이터베이스 지원 : Postgres, MySQL, Snowflake, BigQuery, Redshift, Databricks 및 Bruin을 통해 더 많은 - 내장 된 semantic 레이어 : semantic /에서 한 미터 및 크기를 정의하여 모든 위젯을 참조하십시오. DAC는 SQL을 생성합니다. AI 에이전트가 신뢰할 수 있고 검토 가능한 방식으로 대시보드를 구축하는 데 사용됩니다. 기본 내보내기 ( < Dashboard name="Simple Dashboard" connection="my db"> < Row> < Metric name="Total Revenue" col={4} sql="SELECT SUM(amount) 판매" value={{ field: "value", type: "number", format: "$,.2f" }} /> </Row>> 이름: 판매 개관 연결: 창고 행: - 위젯: - 이름: 복수 유형: 미터 sql: SELECT SUM(amount) 판매 값: 필드: 값 유형: 번호 형식: "$,.
개요(AI 번역)
DAC는 YAML 및 TSX에서 정의, 검증 및 서스펜션 대시보드-as-Code 도구입니다.
- TSX와 동적 차트, 탭, 루프 및 조건.
- 모든 주요 데이터베이스 지원 : Postgres, MySQL, Snowflake, BigQuery, Redshift, Databricks 등 Bruin
- 내장 된 semantic 층 :
semantic/]에서 한 번 메트릭 및 치수를 정의하여 위젯에서 참조하십시오. DAC는 SQL을 생성합니다.
AI 에이전트가 신뢰할 수 있고 검토 가능한 방식으로 대시보드를 구축하는 데 사용됩니다.
사이트맵 사이트맵
수출 기본 (
<미터 name=“총 수익” ₢ 킹 sql="SELECT SUM(amount) 판매의 가치로 value={{ 필드: “value”, 유형: “number”, 형식: “$,.2f” }} · & gt;
·
이름: 판매 개요 연결: 창고
줄:
- 위젯:
- 이름: 복수 유형: 미터 sql: SELECT SUM (amount) 판매에서 가치로 가치: 분야: 가치 유형: 번호 형식 : “$,.2f” 색깔: 4
설치
최신 안정적인 DAC 출시를 설치:
main에서 최신 엣지를 설치:
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
DAC
DAC is a Dashboard-as-Code tool for defining, validating, and serving dashboards from YAML and TSX.
- Dynamic charts, tabs, loops and conditionals with TSX.
- Supports all the major databases: Postgres, MySQL, Snowflake, BigQuery, Redshift, Databricks, and more via Bruin
- Built-in semantic layer: define metrics and dimensions once in
semantic/, reference them from any widget. DAC generates the SQL.
It is built for AI agents to build dashboards in a reliable and reviewable way.
Install
Install the latest stable DAC release:
curl -LsSf https://getbruin.com/install/dac | sh
Install the latest edge build from main:
curl -LsSf https://getbruin.com/install/dac | sh -s -- --channel edge
DAC uses your existing Bruin connections and currently shells out to bruin query for query execution. The install script installs the Bruin CLI first when bruin is not already available on your PATH.
Quickstart
Create a new starter project:
dac init my-dashboards
cd my-dashboards
dac validate --dir .
dac validate --dir . --with-database
dac serve --dir . --open
The starter includes a SQL-backed YAML dashboard, a semantic YAML dashboard, and a semantic model under semantic/.
dac init also installs DAC’s bundled dashboard authoring skill for Claude and Codex:
ls .claude/skills/create-dashboard/SKILL.md
ls .codex/skills/create-dashboard
For existing projects, run dac skills install --dir ..
If you cloned the repository and have dac installed, you can also run one of the bundled example projects:
dac serve --dir examples/basic-yaml
Examples
The repository includes four self-contained example projects under examples/:
| Example | What it shows |
|---|---|
examples/basic-yaml |
Standard YAML dashboards with filters, SQL queries, and a self-contained Vega-Lite layered-chart demo. |
examples/basic-tsx |
A TSX dashboard that uses load-time queries to generate layout from the database. |
추천 도구
다른 키워드를 입력하거나 필터를 제거해 보세요.
설치
npx skillfish add bruin-data/dac