Metadata-Version: 2.4
Name: linkedin-banner
Version: 0.2.3
Summary: Generate LinkedIn profile banner images with QR codes
License-Expression: MIT
License-File: LICENSE
Requires-Python: >=3.11
Requires-Dist: httpx>=0.27
Requires-Dist: pillow>=10.1
Requires-Dist: pydantic
Requires-Dist: qrcode[pil]
Requires-Dist: rich
Requires-Dist: typer[all]
Description-Content-Type: text/markdown

# linkedin-banner

![banner](banner.png)

Generate LinkedIn profile banner images (1584×396px) with multiple QR codes and favicon overlays.

## Installation

```bash
uv sync
```

## Usage

### Generate a banner

```bash
# Single QR code
linkedin-banner generate --url "https://github.com/user" --color midnight

# Multiple QR codes with favicons
linkedin-banner generate \
  --url "https://github.com/lm-cyber" \
  --url "https://www.kaggle.com/asdasdsadasdsasdasd" \
  --url "https://t.me/overfeat_and_data_leak" \
  --color midnight \
  --pattern dots \
  --preview

# 4 QR codes
linkedin-banner generate \
  --url "https://github.com/user" \
  --url "https://kaggle.com/user" \
  --url "https://t.me/user" \
  --url "https://linkedin.com/in/user" \
  --color ocean \
  --pattern grid \
  --preview
```

### Options

| Option | Description | Default |
|---|---|---|
| `--url` | URL for QR code (repeat for multiple, max 4) | — |
| `--color` | Hex code or palette name (required) | — |
| `--pattern` | `none` / `grid` / `dots` / `lines` | `none` |
| `--output` / `-o` | Output file path | `banner.png` |
| `--format` / `-f` | `png` / `jpg` | `png` |
| `--preview` | Open image after generation | `false` |

### List palettes

```bash
linkedin-banner palettes
```

Available palettes: midnight, ocean, forest, slate, burgundy, charcoal, navy, plum, steel, espresso, olive, graphite, teal, rust, indigo, sage.

## Development

```bash
make dev        # Install with dev deps
make lint       # Ruff check
make fmt        # Ruff format
make typecheck  # Mypy strict
make test       # Pytest
```
