Profile Picture
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.id
Upload File
Multipart form. Field file (single). Max 100MB. Optional expiresIn: 1h, 1d, 7d, 30d.
POST /upload
# 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.
POST /shorten
# 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.
GET /api/stats
curl https://cdn.shuzxie.my.id/api/stats
List Files
All files ever uploaded.
GET /api/files
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.
GET /api/links
Fields & Error
FieldTypeDescription
fileform-dataBinary file, single. Max 100MB.
longUrlstringMust start with http:// or https://
customCodestringOptional, 2-32 alphanumeric chars
expiresInstringOptional, permanent, 1h, 1d, 7d, 30d
shortUrlstringResult URL (file: /f/..., link: /s/...)
Expired link will return 410 Gone. Error format: {"success": false, "error": "..."} with status 400/500.