# @nexoxa/seo

Per-page SEO and UI audits for apps on your server — stored in `.nexoxa/seo/`, read by Bridge over SSH.

## Install

```bash
npm i @nexoxa/seo
```

## Next.js

```ts
// app/api/nexoxa-seo/collect/route.ts
import { createSeoCollectHandler, seoOptionsHandler } from "@nexoxa/seo/node";

export const POST = createSeoCollectHandler();
export const OPTIONS = seoOptionsHandler;
```

```tsx
import { SeoInsights } from "@nexoxa/seo/next";

<SeoInsights siteKey="nx_your_deployment_key" captureSnapshot />
```

Each route visit posts:

- **seoScore** — title, description, headings, canonical, Open Graph
- **uiScore** — viewport, font size, alt text, tap targets
- **issues** — actionable list
- **snapshot** — optional viewport JPEG thumbnail

Privacy: [asteron.nexoxa.com/privacy](https://asteron.nexoxa.com/privacy) (section 8).

MIT
