---
title: "Generating Static Reports"
description: "Generating Static Reports for the Unlighthouse v1 beta."
canonical_url: "https://unlighthouse.dev/v1/guide/guides/generating-static-reports"
last_updated: "2026-10-04T00:40:11.180Z"
---

The CI executable can export a dashboard after a successful scan.

```sh
pnpm add -D unlighthouse@beta
pnpm exec unlighthouse-ci --site https://example.com --build-static --reporter json
```

Publish the generated client directory as static files.
Keep the complete directory so report assets remain available.

## Programmatic export

```ts
import { createUnlighthouseHost } from 'unlighthouse'

const host = await createUnlighthouseHost({
  userConfig: { site: 'https://example.com' },
  behavior: { ws: null },
})
const session = await host.start()
await session.done
await host.generateClient({ static: true })
```

## CI result files

JSON exports use `ci-result.json`; CSV exports use `ci-result.csv`.
These exports are separate from the static dashboard.
See [CI Integration](/integrations/ci) for reporter selection and device rows.

## Sitemap

See the full [sitemap](/sitemap.md) for all pages.
