Object Storage
Files, images, videos.
All handled.
S3-compatible storage with built-in CDN, image transforms on the fly, and access control that ties into your auth. Upload anything, serve it globally.
upload.ts
import { createClient } from '@wowsql/js'
const wowsql = createClient(WOWSQL_URL, WOWSQL_KEY)
// Upload a file to a bucket
const { data, error } = await wowsql.storage
.from('avatars')
.upload('user/avatar.png', file, {
cacheControl: '3600',
upsert: true
})
// Get public URL with image transforms
const { data: { publicUrl } } = wowsql.storage
.from('avatars')
.getPublicUrl('user/avatar.png', {
transform: { width: 200, height: 200 }
})Global CDN
Content cached at edge locations worldwide. Lightning-fast delivery for every user, everywhere.
Access Policies
Public and private buckets with row-level security. Control access at the object level.
Image Transforms
Resize, crop, and optimize images on the fly with simple URL parameters. No extra service.
Resumable Uploads
Large file uploads with automatic resume. TUS protocol for reliable transfers over any network.
Folder Organization
Organize files in virtual folders. List, move, and manage with a clean API.
S3 Compatible
Use any S3-compatible tool, SDK, or CLI. Migrate existing storage with zero changes.
