# Pushduck > Direct-to-storage file uploads for any web app. The server signs; the browser uploads straight to S3, Cloudflare R2, Google Cloud Storage, MinIO, DigitalOcean Spaces or any S3-compatible store, so file bytes never pass through your server. TypeScript (React, Vue, Svelte, Solid, React Native), with Go and Python servers. Install with `npm install pushduck`. The server defines upload routes with a schema builder; the client calls one hook per route. Every page below is markdown. **Setting pushduck up in a project?** Follow the skill at https://pushduck.org/skill.md: it covers inspecting the project, the route, provider config, client, bucket CORS and verification, in order. ## Getting started - [Pushduck](https://pushduck.org/docs/index.mdx): Own your file uploads. The most comprehensive upload solution for Next.js. - [Quick Start](https://pushduck.org/docs/quick-start.mdx) - [Manual Setup](https://pushduck.org/docs/manual-setup.mdx): Step-by-step manual setup for developers who prefer full control over configuration - [How It Works](https://pushduck.org/docs/how-it-works.mdx): Deep dive into Pushduck's architecture, upload flow, and component design with visual diagrams - [Wire Protocol](https://pushduck.org/docs/protocol.mdx): The normative HTTP contract between a pushduck client and server — implementable in any language - [AI & LLM Integration](https://pushduck.org/docs/ai-integration.mdx): Point an AI assistant or coding agent at pushduck's docs in the formats they read best. - [Comparisons](https://pushduck.org/docs/comparisons.mdx): How Pushduck compares to other file upload solutions - [Examples & Demos](https://pushduck.org/docs/examples.mdx): Experience pushduck with interactive demos and real-world examples. All demos use live Cloudflare R2 integration. - [Limitations](https://pushduck.org/docs/limitations.mdx): Real architectural boundaries — read this before adopting to scope your project correctly. - [Philosophy & Scope](https://pushduck.org/docs/philosophy.mdx): What Pushduck does (and doesn't do) - our principles, boundaries, and integration approach - [Roadmap](https://pushduck.org/docs/roadmap.mdx): What Pushduck has shipped, what's actively being worked on, and what's next. Structured by intent, not by quarter. ## Storage providers - [Storage Providers](https://pushduck.org/docs/providers.mdx): Connect pushduck to your preferred cloud storage provider with simple, unified configuration - [AWS S3](https://pushduck.org/docs/providers/aws-s3.mdx): Complete AWS S3 setup guide for production file uploads in under 5 minutes. Includes bucket creation, IAM user configuration, CORS setup, and security best practices for scalable storage. - [Cloudflare R2](https://pushduck.org/docs/providers/cloudflare-r2.mdx): Set up Cloudflare R2 for lightning-fast file uploads with zero egress fees. Complete guide including bucket creation, CORS configuration, custom domains, and global CDN integration. - [DigitalOcean Spaces](https://pushduck.org/docs/providers/digitalocean-spaces.mdx): Set up DigitalOcean Spaces with CDN for fast, affordable file uploads - [Google Cloud Storage](https://pushduck.org/docs/providers/google-cloud.mdx): Upload to Google Cloud Storage through its S3-compatible XML API. Step-by-step setup in the Console or with gcloud — project, bucket, HMAC key, CORS and a working config. - [MinIO](https://pushduck.org/docs/providers/minio.mdx): Complete MinIO setup guide for self-hosted S3-compatible object storage. Docker deployment, production configuration, SSL setup, and pushduck integration for private file uploads. - [Neon Object Storage](https://pushduck.org/docs/providers/neon-object-storage.mdx): Upload files to Neon Object Storage, the S3-compatible storage built into your Neon project. Covers buckets, credentials, CORS, branch endpoints, public and private access, and large files. - [S3-Compatible](https://pushduck.org/docs/providers/s3-compatible.mdx): Set up any S3-compatible storage service for flexible, vendor-agnostic file uploads ## Framework integrations - [Framework Integrations](https://pushduck.org/docs/integrations.mdx): Universal file uploads that work with any web framework - from Web Standards to custom request/response APIs - [Astro](https://pushduck.org/docs/integrations/astro.mdx): Modern static site file uploads with Astro using Web Standards - no adapter needed! - [Bun Runtime](https://pushduck.org/docs/integrations/bun.mdx): Ultra-fast JavaScript runtime with native Web Standards support - no adapter needed! - [Effect](https://pushduck.org/docs/integrations/effect.mdx): Mount pushduck in an Effect Platform HTTP app, and drive uploads from an Effect program - [Elysia](https://pushduck.org/docs/integrations/elysia.mdx): TypeScript-first framework with Bun - Web Standards native, no adapter needed! - [Expo & React Native](https://pushduck.org/docs/integrations/expo.mdx): Add S3 file uploads to any React Native or Expo app — pass picker assets directly, no field mapping needed. - [Express](https://pushduck.org/docs/integrations/express.mdx): Popular Node.js framework integration with pushduck using adapters for req/res API - [Fastify](https://pushduck.org/docs/integrations/fastify.mdx): High-performance Node.js framework integration with pushduck using adapters - [Fresh](https://pushduck.org/docs/integrations/fresh.mdx): Deno-powered file uploads with Fresh using Web Standards - no adapter needed! - [Go](https://pushduck.org/docs/integrations/golang.mdx): Use pushduck from net/http, chi, gin, echo or gorilla — with the same JavaScript client - [Hono](https://pushduck.org/docs/integrations/hono.mdx): Fast, lightweight file uploads with Hono using Web Standards - no adapter needed! - [Next.js](https://pushduck.org/docs/integrations/nextjs.mdx): Complete guide to integrating pushduck with Next.js App Router and Pages Router - [Nitro/H3](https://pushduck.org/docs/integrations/nitro-h3.mdx): Universal web server file uploads with Nitro and H3 using Web Standards - no adapter needed! - [Nuxt.js](https://pushduck.org/docs/integrations/nuxtjs.mdx): Vue.js full-stack file uploads with Nuxt.js using Web Standards - no adapter needed! - [Python](https://pushduck.org/docs/integrations/python.mdx): Use pushduck from FastAPI, Django, Flask, Starlette or Litestar — with the same JavaScript client - [Qwik](https://pushduck.org/docs/integrations/qwik.mdx): Edge-optimized file uploads with Qwik using Web Standards - no adapter needed! - [Remix](https://pushduck.org/docs/integrations/remix.mdx): Full-stack React file uploads with Remix using Web Standards - no adapter needed! - [SolidJS Start](https://pushduck.org/docs/integrations/solidjs-start.mdx): Full-stack SolidJS framework with Web Standards support - no adapter needed! - [SvelteKit](https://pushduck.org/docs/integrations/sveltekit.mdx): Fast, modern file uploads with SvelteKit using Web Standards - no adapter needed! - [TanStack Start](https://pushduck.org/docs/integrations/tanstack-start.mdx): Full-stack React framework with Web Standards support - no adapter needed! - [tRPC](https://pushduck.org/docs/integrations/trpc.mdx): End-to-end typesafe file storage operations with tRPC - uploads handled by your framework! ## Guides - [Guides & Tutorials](https://pushduck.org/docs/guides.mdx): Comprehensive guides to help you master pushduck - from basic uploads to advanced patterns and production deployment - [Client-Side Approaches](https://pushduck.org/docs/guides/client-approaches.mdx): Compare the structured client vs hook-based approaches for file uploads - [Client-Side Metadata](https://pushduck.org/docs/guides/client-metadata.mdx): Pass contextual data from your UI to the server for dynamic file organization and categorization - [Image Uploads](https://pushduck.org/docs/guides/image-uploads.mdx): Complete guide to handling image uploads with optimization, validation, and processing - [Large Files](https://pushduck.org/docs/guides/large-files.mdx): Multipart uploads and resume — what changes, what doesn't, and the two provider settings that bite - [Enhanced Client Migration](https://pushduck.org/docs/guides/migrate-to-enhanced-client.mdx): Migrate from hook-based API to property-based client access for better type safety - [Production Checklist](https://pushduck.org/docs/guides/production-checklist.mdx): Essential checklist for deploying pushduck to production safely - [Authentication](https://pushduck.org/docs/guides/security/authentication.mdx): Secure your file uploads with proper authentication and authorization patterns - [CORS & ACL Setup](https://pushduck.org/docs/guides/security/cors-and-acl.mdx): Complete guide to configuring CORS policies and understanding ACL differences across cloud providers ## Recipes - [Recipes](https://pushduck.org/docs/recipes.mdx): Copy-paste patterns for the things Pushduck deliberately doesn't do. - [Database record](https://pushduck.org/docs/recipes/database-record.mdx): Persist uploads correctly — store the key, never the presigned URL. - [Image thumbnails](https://pushduck.org/docs/recipes/image-thumbnails.mdx): Generate responsive derivatives with Sharp after upload. - [Rate limiting](https://pushduck.org/docs/recipes/rate-limiting.mdx): Enforce per-user upload quotas before a presigned URL is issued. - [Video transcoding](https://pushduck.org/docs/recipes/video-transcoding.mdx): Transcode before upload in the browser, or after upload on your server. - [Virus scanning](https://pushduck.org/docs/recipes/virus-scanning.mdx): Scan uploads after they land and quarantine anything infected. ## API reference - [API Reference](https://pushduck.org/docs/api.mdx): Complete API reference for pushduck - from client hooks to server configuration and storage operations - [CLI Reference](https://pushduck.org/docs/api/cli.mdx): Complete reference for the pushduck CLI tool with all commands, options, and examples - [Client API](https://pushduck.org/docs/api/client.mdx): Client-side APIs for file uploads including React hooks and property-based client access with built-in state management and progress tracking - [createUploadClient](https://pushduck.org/docs/api/client/create-upload-client.mdx): Create a type-safe upload client with property-based access and optional per-route configuration - [useUploadRoute](https://pushduck.org/docs/api/client/use-upload-route.mdx): React hook for uploading files with reactive state management - [Configuration](https://pushduck.org/docs/api/configuration.mdx): Complete guide to configuring pushduck for your application. Learn about upload configuration, client options, server routing, and path management. - [Client Configuration](https://pushduck.org/docs/api/configuration/client-options.mdx): Configure your upload client for the best developer experience with enhanced type inference - [Path Configuration](https://pushduck.org/docs/api/configuration/path-configuration.mdx): Choose where uploads land with a prefix and a naming strategy. Every key is checked before it is signed. - [Server Router](https://pushduck.org/docs/api/configuration/server-router.mdx): Complete guide to configuring your upload router with type safety and advanced features - [Upload Configuration](https://pushduck.org/docs/api/configuration/upload-config.mdx): Complete guide to configuring pushduck with the createUploadConfig builder - [S3 Router](https://pushduck.org/docs/api/s3-router.mdx): Build type-safe upload routes with schema validation, middleware, and lifecycle hooks. Complete S3 router configuration guide for image uploads, file validation, and custom paths. - [Storage API](https://pushduck.org/docs/api/storage.mdx): Complete guide to pushduck's storage API. Learn file operations, presigned URLs, storage instance management, and troubleshooting storage issues. - [File Operations](https://pushduck.org/docs/api/storage/file-operations.mdx): Complete guide to listing, reading, copying, moving, uploading, deleting and checking files from your server - [Presigned URLs](https://pushduck.org/docs/api/storage/presigned-urls.mdx): Secure file access with presigned URLs for private buckets - [Quick Reference](https://pushduck.org/docs/api/storage/quick-reference.mdx): Essential pushduck storage API operations at a glance. Quick examples for file listing, deletion, metadata retrieval, presigned URLs, and error handling patterns. - [Storage Instance](https://pushduck.org/docs/api/storage/storage-instance.mdx): Complete guide to pushduck's storage instance API. Learn the object-style interface for S3 operations including file listing, metadata, uploads, downloads, and validation. - [Troubleshooting](https://pushduck.org/docs/api/storage/troubleshooting.mdx): Solve storage API issues including access denied errors, empty file lists, presigned URL problems, and timeout issues. Complete debugging guide with error handling patterns. - [Troubleshooting](https://pushduck.org/docs/api/troubleshooting.mdx): Fix common pushduck issues including CORS errors, TypeScript problems, upload failures, and environment variable configuration. Complete troubleshooting guide with solutions. ## Optional - [Setup skill](https://pushduck.org/skill.md): step-by-step setup for coding agents; also `npx skills add abhay-ramesh/pushduck`. - [Full documentation](https://pushduck.org/llms-full.txt): every page above in a single file.