ShareX Configuration
Configure ShareX for automatic uploads to olrite.lol:
- Open ShareX
- Go to Destinations → Custom uploader settings
- Click New to create a new uploader
- Configure the fields as shown below:
Name:
olrite.lol
Request URL:
https://olrite.lol/api/upload
Method:
POST
Body:
Form data (multipart/form-data)
Field name:
file
URL:
{json:url}
Quick Setup: Download the auto-config file to skip manual setup
Chatterino Configuration
Configure Chatterino to upload images directly to olrite.lol:
- Open Chatterino Settings
- Go to External Tools → Image Uploader
- Check Enable image uploader
- Configure the fields as shown below:
Request URL:
https://olrite.lol/api/upload
Form field:
file
Extra headers:
(leave empty)
Image link:
{url}
Deletion link:
{delete}
Usage: Drag & drop images into Chatterino chat or paste from clipboard with Ctrl+V
API Documentation
Complete API reference for developers and custom uploaders:
Endpoint
POST https://olrite.lol/api/upload
Request Format
Method:
POST
Content-Type:
multipart/form-data
File Field:
file
Max Size:
100MB
Rate Limit:
200 uploads/hour per IP
Supported File Types
Images: JPEG, PNG, GIF, WebP, AVIF
Videos: MP4, WebM, AVI, MOV
Response Format
Success Response (200 OK)
{
"success": true,
"url": "https://olrite.lol/abc123def456",
"id": "abc123def456",
"expires_at": "2025-01-15T12:00:00Z",
"file_info": {
"size": 1048576,
"type": "image/png",
"original_format": "image/png",
"width": 1920,
"height": 1080,
"optimal_formats": ["webp", "avif"]
}
}
Error Response (4xx/5xx)
{
"success": false,
"error": "File too large (max 100MB)",
"code": 413
}
cURL Example
curl -X POST -F "[email protected]" https://olrite.lol/api/upload