Back Original

Show HN: Stop paying for Dropbox/Google Drive, use your own S3 bucket instead

The self-hostable alternative to Dropbox and Google Drive. Upload, organize, and share files from your own infrastructure.

Bring your own storage — local disk, S3, R2, or Vercel Blob. One env var to switch. Full type-safe API with tRPC.

Built for power users

Everything you need to manage files

Locker gives you the full toolkit for file management, sharing, and collaboration—all self-hosted on your own terms.

Storage Provider Agnostic

Swap between local filesystem, AWS S3, Cloudflare R2, or Vercel Blob with a single environment variable. Your data, your infrastructure.

Search Inside Images & PDFs

Find files by what's in them, not just the name. Locker transcribes images and PDFs into searchable text so every document is discoverable.

Virtual Bash Shell

Navigate your files with familiar commands. Use ls, cd, find, cat, and grep through a virtual filesystem API.

Workspace Teams

Invite team members with role-based access. Organize files across workspaces with granular permissions.

Secure by Default

Email/password and Google OAuth authentication. Sessions managed server-side with encrypted cookies.

API Keys

Programmatic access to your files through API keys. Build integrations and automate workflows with full tRPC type safety.

Why self-host?

Full control over your data

No vendor lock-in, no surprise pricing, no third party reading your files. Deploy on your own servers and keep everything under your roof.

Type-safe

End-to-end with tRPC

Bring your own backend

One env var. Any storage provider.

Set BLOB_STORAGE_PROVIDER in your .env and you're done. Switch providers anytime without touching a line of code.

Local Filesystem

Store files directly on your server. Zero config, zero cost.

AWS S3

AWS S3

The industry standard. Reliable, scalable, globally distributed.

Cloudflare R2

Cloudflare R2

S3-compatible with zero egress fees. Great for bandwidth-heavy workloads.

Vercel Blob

Vercel Blob

Serverless-native storage. One token, no infrastructure to manage.

Frequently Asked Questions

Ready to own your files?

Deploy Locker in minutes and take back control of your file storage. Free forever, open source, no strings attached.