# Slate

Beautiful API documentation from OpenAPI specs.

## Usage

### Development

Start a dev server with hot reload:

```bash
npx slate dev ./openapi.json
# or with a URL
npx slate dev https://api.example.com/openapi.json
```

### Build

Generate static documentation:

```bash
npx slate build ./openapi.json
```

Output is in `./dist` - deploy it anywhere.

## Features

- Three-panel Slate-style layout
- Syntax-highlighted code examples (cURL, JavaScript, Python)
- Search endpoints
- Scroll-synced code panel
- Fully static output

## Tech Stack

- Vite + React + Tailwind CSS
- Shiki for syntax highlighting
