rig-dashboard Svelte Themes

Rig Dashboard

Read-only public dashboard for the Dashecorp Engineering Rig — agents, streams, events, costs. SvelteKit + shadcn-svelte + Playwright. Talks to rig-conductor's read-only public API.

Rig Dashboard

Public status dashboard for the Dashecorp Engineering Rig.

Status Scaffolded (M1) — live data in M2
Stack SvelteKit + adapter-static · shadcn-svelte · Tailwind CSS
Hosting Cloudflare Pages
E2E tests Playwright
Unit tests Vitest

Local Development

npm install
npm run dev

Opens at http://localhost:5173.

Build

npm run build
npm run preview   # preview production build at http://localhost:4173

Tests

# Lint
npm run lint

# Unit tests (Vitest)
npm test

# E2E tests (Playwright) — starts build + preview server automatically
npx playwright test

Per rig-gitops#176, tests must pass pre-push. The CI workflow mirrors this: install → lint → build → vitest → playwright.

API Contract

The dashboard reads from the Rig Conductor event API. Contract defined in dashecorp/rig-conductor#192.

M2 note: No real data is integrated yet. The / route is a placeholder.

Project Structure

src/
  app.html          # HTML shell (dark class on <html>)
  app.css           # Tailwind + shadcn-svelte CSS variables
  lib/
    utils.ts        # cn() helper (clsx + tailwind-merge)
  routes/
    +layout.svelte  # Root layout
    +page.svelte    # / placeholder route
    +page.ts        # prerender = true
static/             # Static assets
playwright/         # E2E tests
docs/               # Repo documentation
.github/workflows/
  ci.yml            # CI gate
  deploy.yml        # CF Pages deploy on merge to main

Top categories

Loading Svelte Themes