惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

J
Java Code Geeks
腾讯CDC
Jina AI
Jina AI
博客园 - 司徒正美
博客园 - 三生石上(FineUI控件)
Apple Machine Learning Research
Apple Machine Learning Research
GbyAI
GbyAI
WordPress大学
WordPress大学
Hugging Face - Blog
Hugging Face - Blog
T
The Blog of Author Tim Ferriss
小众软件
小众软件
M
MIT News - Artificial intelligence
MyScale Blog
MyScale Blog
D
Docker
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Google DeepMind News
Google DeepMind News
月光博客
月光博客
L
LangChain Blog
F
Fortinet All Blogs
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - Franky
C
Check Point Blog
U
Unit 42
人人都是产品经理
人人都是产品经理

Hacker News

GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis Bonsai 1-bit WebGPU - a Hugging Face Space by webml-community Moving a large-scale metrics pipeline from StatsD to OpenTelemetry / Prometheus GitHub - Nightmare-Eclipse/RedSun: The Red Sun vulnerability repository GitHub - SethPyle376/hiraeth: Local AWS emulator focused on fast integration testing, with SQS support, SQLite-backed state, and a debug-friendly web UI. GitHub - macOS26/Agent: Any AI, replaces Claude Code, Cursor, OpenClaw. Over 18 LLM providers (Claude, OpenAI, Gemini, Ollama, Zai, HF, Qwen) wired into a native Mac app that writes code, builds Xcode projects, bumps versions, manages git, automates Safari, use AppleScript, JS or Accessibility, extend Agent! w/ MCP Servers, run tasks from your iPhone via Messages. YouTube now lets you turn off Shorts I Made a Terminal Pager Burgers | マクドナルド公式 Commands — HackerNews CLI documentation ChatGPT for Excel PiCore - Raspberry Pi Port of Tiny Core Linux Live Nation illegally monopolized ticketing market, jury finds Google Broke Its Promise to Me. Now ICE Has My Data. Founding Engineer at Adaptional | Y Combinator CRISPR takes important step toward silencing Down syndrome’s extra chromosome GitHub - saffron-health/libretto: The AI toolkit for building reliable browser automations US v. Heppner (S.D.N.Y. 2026) no attorney-client privilege for AI chats [pdf] Retrofitting JIT Compilers into C Interpreters IPv6 – Google The Accursèd Alphabetical Clock Cybersecurity Looks Like Proof of Work Now Fragments: April 14 Cal.com Goes Closed Source: Why AI Security Is Forcing Our Decision | Cal.com - Scheduling Software for Online Bookings Laravel raised money and now injects ads directly into your agent When moving fast, talking is the first thing to break Too much Discussion of the XOR swap trick – Heather Cafe Introduction to Spherical Harmonics for Graphics Programmers The Grand Line
GitHub - bruin-data/dac: dac is a dashboard-as-tool code....
karakanb · 2026-04-29 · via Hacker News

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.
  • Built-in AI agent via Codex: chat with your dashboard live and get it updated.
  • 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.

DAC dashboard demo

TSX YAML
export default (
  <Dashboard name="Simple Dashboard" connection="my_db">
    <Row>
      <Metric
        name="Total Revenue"
        col={4}
        sql="SELECT SUM(amount) AS value FROM sales"
        column="value"
        prefix="$"
        format="number"
      />
    </Row>
  </Dashboard>
)
name: Sales Overview
connection: warehouse

rows:
  - widgets:
      - name: Revenue
        type: metric
        sql: SELECT SUM(amount) AS value FROM sales
        column: value
        prefix: "$"
        col: 4

Install

Install the latest stable DAC release:

curl -fsSL https://raw.githubusercontent.com/bruin-data/dac/main/install.sh | bash

Install the latest edge build from main:

curl -fsSL https://raw.githubusercontent.com/bruin-data/dac/main/install.sh | bash -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 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 A standard YAML dashboard with filters, SQL queries, and query files.
examples/basic-tsx A TSX dashboard that uses load-time queries to generate layout from the database.
examples/semantic-yaml A YAML dashboard that reads semantic models from semantic/ and compiles widgets in the backend.
examples/semantic-tsx A TSX dashboard using external semantic models and backend semantic query compilation.

Project Layout

.
├── cmd/         CLI entrypoints
├── pkg/         Dashboard loading, semantic engine, server, query backends
├── frontend/    React frontend embedded into the DAC binary
├── docs/        VitePress documentation source
├── examples/    Runnable example projects for YAML, TSX, and semantic dashboards
├── resources/   README and documentation assets
└── testdata/    Internal fixtures used by tests

Development

make deps
make test
make build
make dev

The main development commands are defined in the Makefile. Use make targets rather than ad-hoc go build or npm run build commands so frontend embedding and build flags stay consistent.

Telemetry

DAC sends anonymous usage events to help us understand which commands are used and where they fail. Each event includes the command name, run duration, OS/architecture, DAC version, and an anonymous install ID stored at ~/.dac/telemetry.json.

We do not collect:

  • SQL queries, query results, or row counts
  • Dashboard or widget contents, names, or file paths
  • Connection names, hosts, credentials, project IDs, or dataset names
  • Any environment variables or shell history

To disable telemetry, set either of these environment variables:

export TELEMETRY_OPTOUT=1
# or the industry-standard:
export DO_NOT_TRACK=1

Builds without a telemetry write key (the default for make build) are silent and send nothing.

Documentation

License

AGPL-3.0-only. See LICENSE.