https://www.file0.dev [file0] PricingSign InSign Up Stop reading docs. Start shipping. A ridiculously simple S3 alternative for the modern web. Get started As easy as using the localStorage[arrow] Copy import { f0 } from 'file0'; // Upload await f0.set('image.png', myImage); // Download await f0.get('image.png'); // Delete await f0.delete('image.png'); Do more with less code. File0 is the easiest way to manage files in serverless apps. What used to take hours to build, now takes minutes. UploadPublishClient Upload [file0] Copy import { f0 } from 'file0'; const url = await f0.publish('image.png'); S3 Copy import { S3Client, PutObjectAclCommand } from '@aws-sdk/client-s3'; const s3 = new S3Client({ region: region, credentials: { accessKeyId: process.env.S3_ACCESS_KEY_ID, secretAccessKey: process.env.S3_SECRET_ACCESS_KEY } }); const bucketPolicy = { Version: "2012-10-17", Statement: [ { Effect: "Allow", Principal: "*", Action: "s3:GetObject", Resource: "arn:aws:s3:::mybucket/image.png" } ]; }; const policyParams = { Bucket: bucketName, Policy: JSON.stringify(bucketPolicy) }; const command = new PutBucketPolicyCommand(policyParams); const response = await s3.send(command); Runs anywhere. Built on modern web-standards. Works in any runtime, frameworks, even in the browser. [nodejs][nextjs][worker][bun][svelte][vercel][nuxt][deno] [nodejs][nextjs][worker][bun][svelte][vercel][nuxt][deno] Low latency worldwide. All your public files are served from global CDN. No extra configuration needed. 320 Edge locations 120+ Countries ~50 ms Latency worldwide [globe] [file0] All your files a function call away. Get started file0hi@file0.dev Terms of servicePrivacy policyContact FILE0 by Offcast LLC (c) 2024