| 1 | BLOBS_PASSWORD=changeme |
| 2 | BLOBS_DB_PATH=blobs.sqlite |
| 3 | HOST=127.0.0.1 |
| 4 | PORT=3000 |
| 5 | BLOBS_COOKIE_SECURE=false |
| 6 | BLOBS_MAX_UPLOAD_MB=100 |
| 7 | BLOBS_PRESIGN_TTL_SECONDS=3600 |
| 8 | |
| 9 | # Default bucket for the CLI/TUI (`blobs <file>` and bare `blobs`). Overridden by -b/--bucket. |
| 10 | BLOBS_DEFAULT_BUCKET= |
| 11 | |
| 12 | # Terminal image preview backend for the TUI: kitty | iterm | chafa | none. Auto-detected if empty. |
| 13 | BLOBS_PREVIEW= |
| 14 | |
| 15 | # Pick one credential style: |
| 16 | # |
| 17 | # Option A — generic S3 endpoint (works with AWS, Minio, B2, R2, etc). |
| 18 | S3_ENDPOINT= |
| 19 | S3_REGION=auto |
| 20 | S3_ACCESS_KEY_ID= |
| 21 | S3_SECRET_ACCESS_KEY= |
| 22 | # |
| 23 | # Option B — Cloudflare R2 shortcut. Endpoint derived from account ID. |
| 24 | # S3_ACCESS_KEY_ID / S3_SECRET_ACCESS_KEY are still used; R2_ACCESS_KEY_ID / |
| 25 | # R2_SECRET_ACCESS_KEY are accepted as fallbacks for convenience. |
| 26 | R2_ACCOUNT_ID= |
| 27 | R2_ACCESS_KEY_ID= |
| 28 | R2_SECRET_ACCESS_KEY= |
| 29 | |
| 30 | # Optional per-bucket public URL prefixes. Comma-separated bucket=url pairs. |
| 31 | # Example: BLOBS_PUBLIC_URLS=my-bucket=https://cdn.example.com,other=https://pub-xyz.r2.dev |
| 32 | BLOBS_PUBLIC_URLS= |