Production-ready file upload and sharing service
v1.0 - PROXY READYBase URL: https://kittencloud.uk
Proxy Path: None
Trust Proxy: Enabled
API key authentication, rate limiting, and secure file handling
Optimized for reverse proxy deployment with proper header handling
Comprehensive statistics and view tracking
Perfect embed support for Discord and social media
Description: Upload an image or video file
Authentication: Required (X-API-Key header or api_key query parameter)
Content-Type: multipart/form-data
Parameters:
file
- The file to upload (image or video, max 100 MB)Response:
{ "success": true, "id": "1234567890abcdef", "view_url": "/api/view/1234567890abcdef", "embed_url": "/api/embed/1234567890abcdef", "message": "File uploaded successfully" }
Description: View or download a file directly
Parameters:
download=true
(query) - Force download instead of displayResponse: Raw file data with appropriate Content-Type
Description: View file with Discord embed support and web interface
Features:
Description: Get comprehensive server statistics
Description: Health check endpoint for proxy monitoring
curl -X POST \ -H "X-API-Key: your-api-key-here" \ -F "file=@image.jpg" \ https://kittencloud.uk/api/upload
const formData = new FormData(); formData.append('file', fileInput.files[0]); fetch('https://kittencloud.uk/api/upload', { method: 'POST', headers: { 'X-API-Key': 'your-api-key-here' }, body: formData }).then(response => response.json()) .then(data => console.log(data));
location /api/ { proxy_pass http://localhost:8080/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Host $host; # For file uploads client_max_body_size 100M; }
ProxyPass /api/ http://localhost:8080/ ProxyPassReverse /api/ http://localhost:8080/ ProxyPreserveHost On ProxyAddHeaders On