Preview
Endpoints
| GET /random | Public. Streams image bytes; usable directly as an <img src>. |
| GET /random?type=redirect | Public. 302 to the image. Preferred in production so a proxy or CDN serves the bytes. |
| GET /random?type=json | Public. Returns {name, url, width, height, bytes}. |
| GET /i/{name} | Public. Content-addressed and immutably cacheable. |
| POST /upload | Authenticated. Multipart field files. |
| POST /reload | Authenticated. Reconciles the index with the store directory. |
| GET /stats · /list | Public. /stats returns paths and session counts only when authenticated. |