chore: update README
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m14s
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m14s
This commit is contained in:
27
README.md
27
README.md
@@ -14,4 +14,29 @@ Simple, bullshit-free QR code generator with straightforward API.
|
||||
|
||||
## Stack
|
||||
|
||||
- [Nuxt 4](https://nuxt.com) + [Nuxt UI](https://ui.nuxt.com)a
|
||||
- [Nuxt 4](https://nuxt.com) + [Nuxt UI](https://ui.nuxt.com)
|
||||
|
||||
## API
|
||||
|
||||
### `GET /api` - Generate a QR code
|
||||
|
||||
Returns the QR code as an image file.
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
|-----------|---------------------------|----------|-----------------------------------------------------|
|
||||
| `content` | string | yes | Data to encode |
|
||||
| `format` | `png` \| `jpeg` \| `webp` | no | Output format (default: `png`) |
|
||||
| `logo` | string | no | Logo name to embed in the center (case-insensitive) |
|
||||
|
||||
**Example:**
|
||||
```
|
||||
GET /api?content=https://example.com&format=png&logo=github
|
||||
```
|
||||
|
||||
### `GET /api/logos` - List available logos
|
||||
|
||||
Returns a JSON array of available logo names.
|
||||
|
||||
```json
|
||||
["signal", "monero", "session", ...]
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user