Universal • Type-Safe • Production Ready

File Uploads forAny Framework

The most comprehensive file upload library. Works with 16+ frameworks, 5+ storage providers, edge runtimes, with type-safe APIs and guided setup.

$
upload.ts

Everything you need for file uploads

Built with developer experience in mind, pushduck handles the complexity so you can focus on your application

16+ Framework Support

Universal handlers work with any web framework and edge runtime - from Next.js to Hono, Express to Expo to Cloudflare Workers

5+ Storage Providers

AWS S3, Cloudflare R2, DigitalOcean Spaces, Google Cloud, MinIO, Wasabi, Backblaze - switch anytime

Type-Safe APIs

Full TypeScript support with intelligent autocomplete and compile-time validation

CLI Setup

Interactive CLI guides you through setup. Get from zero to uploads in minutes

Advanced Schema Validation

Built-in file type, size, and custom validation with detailed error messages

Production Ready

Presigned URLs, chunked uploads, progress tracking, retry logic, and error handling

Works with your favorite framework & edge runtime

Universal API that adapts to any framework and edge runtime - write once, deploy anywhere from traditional servers to the edge

+Any custom HTTP server, edge runtime, or serverless function

View all integrations

Handle any file type

Built-in validation and optimization for common file types, with custom rules for anything else

Images

JPEG, PNG, WebP with automatic optimization

Profile pics, galleries, thumbnails

Videos

MP4, WebM, AVI with size and duration limits

Course content, demos, clips

Documents

PDF, DOCX, XLSX with virus scanning

Contracts, reports, spreadsheets

Any File Type

Custom validation rules for any format

3D models, audio, archives

Why developers choose pushduck

Zero vendor lock-in

Switch storage providers or frameworks without rewriting code

Production-ready security

Presigned URLs, file validation, size limits, and CORS handling

Developer experience first

CLI setup, TypeScript intellisense, detailed error messages

Performance optimized

Direct uploads, chunked transfers, progress tracking, automatic retries

Quick Setup Example

1npx @pushduck/cli@latest init
2Configure your storage provider
3Add upload routes to your app
Start uploading files!

Ready to handle file uploads like a pro?

Join developers building the next generation of applications with pushduck. Get started in minutes with our comprehensive documentation.