All packages
Open Source

Orrery

Code-defined BI dashboards. Dashboards as code, not clicks.

Overview

Define interactive dashboards in a lightweight DSL, connect to any SQL database, and serve them with a single command. Everything lives in git — no drag-and-drop builder, no vendor lock-in. Server-rendered, interactive, and self-hostable.

Highlights

  • Dashboards as code.board files in a small declarative DSL, versioned in git.
  • Any SQL database — point it at Postgres, MySQL, SQLite, and more.
  • One-command serve — server-rendered and interactive, not a static export.
  • CI/CD for dashboards — GitHub Actions workflows ship as part of the offering.

Install

# Pull and run against your dashboards project (also on GHCR: ghcr.io/cache-has/orrery)
docker pull cachehorizon/orrery:latest
docker run -p 3000:3000 -v "$(pwd)":/workspace cachehorizon/orrery:latest

Then open http://localhost:3000.

Example

dashboard "Sales Overview" {
  chart "Revenue by Month" {
    query = "select month, revenue from monthly_sales order by month"
    type  = line
  }
}