Shuzxíe - Cloud storages
A personal project for file hosting and URL shortening, built with simplicity and efficiency in mind.
Supports all mimetypes, from images to executables. Max 100MB.
Click or Drag File Here
Enter a long URL to make it short. Custom code is optional.
History
Click link to copy • Stored in local JSON
Loading...
Statistics
Real-time server metrics
Loading stats...
API Reference
All endpoints are public. Base URL:
https://cdn.shuzxie.my.idUpload File
Multipart form. Field
file (single). Max 100MB. Optional expiresIn: 1h, 1d, 7d, 30d.# Upload file
curl -X POST https://cdn.shuzxie.my.id/upload \
-F "file=@/path/to/file.pdf" \
-F "expiresIn=1d"
# Response
{
"success": true,
"shortId": "photo-1712345678901",
"shortUrl": "https://cdn.shuzxie.my.id/f/photo-1712345678901.jpg",
"fileName": "photo.jpg",
"fileSize": 47257,
"mimeType": "image/jpeg",
"fileId": "...",
"expiresAt": 1712432078901
}
Shorten URL
JSON body. Custom code optional — only
[A-Za-z0-9_-], 2-32 chars. Optional expiresIn: 1h, 1d, 7d, 30d.# Shorten URL (random code)
curl -X POST https://cdn.shuzxie.my.id/shorten \
-H "Content-Type: application/json" \
-d '{"longUrl": "https://example.com/long/once", "expiresIn": "7d"}'
# With custom code
curl -X POST https://cdn.shuzxie.my.id/shorten \
-H "Content-Type: application/json" \
-d '{"longUrl": "https://example.com", "customCode": "promo2025"}'
# Response
{
"success": true,
"code": "promo2025",
"shortUrl": "https://cdn.shuzxie.my.id/s/promo2025",
"longUrl": "https://example.com",
"expiresAt": 1712345678901
}
Server Stats
Summary of file, link, view, & bandwidth statistics.
curl https://cdn.shuzxie.my.id/api/stats
List Files
All files ever uploaded.
curl https://cdn.shuzxie.my.id/api/files
# Response: array of
{
"shortId": "photo-1712345678901",
"fileName": "photo.jpg",
"fileSize": 47257,
"mimeType": "image/jpeg",
"shortUrl": "https://cdn.shuzxie.my.id/f/photo-1712345678901.jpg",
"createdAt": "2025-01-01T...",
"ext": "jpg",
"views": 12,
"expiresAt": null
}
List Short Links
All short URLs ever created.
curl https://cdn.shuzxie.my.id/api/links
# Response: array of
{
"code": "promo2025",
"longUrl": "https://example.com",
"shortUrl": "https://cdn.shuzxie.my.id/s/promo2025",
"createdAt": "2025-01-01T...",
"expiresAt": null
}
Fields & Error
| Field | Type | Description |
|---|---|---|
| file | form-data | Binary file, single. Max 100MB. |
| longUrl | string | Must start with http:// or https:// |
| customCode | string | Optional, 2-32 alphanumeric chars |
| expiresIn | string | Optional, permanent, 1h, 1d, 7d, 30d |
| shortUrl | string | Result URL (file: /f/..., link: /s/...) |
Expired link will return
410 Gone. Error format: {"success": false, "error": "..."} with status 400/500.