Locker wants you to stop paying for Dropbox — plug in your own S3 bucket instead

April 7, 2026
Monochromatic close-up of an external hard drive with a USB cable.
Photo by Nothing Ahead on Pexels

What is Locker?

Locker is an open-source, self-hostable file-storage platform pitched as a drop-in alternative to Dropbox and Google Drive. Deploy it to your own servers and point it at local disk, AWS S3, Cloudflare R2, or Vercel Blob — one environment variable swap (BLOB_STORAGE_PROVIDER) and you’re allegedly using a different backend with no code changes. The project promises familiar folder and sharing workflows: shareable links with optional passwords, expirations and download limits, upload links for collecting files, and role-based access across workspaces.

Features and stack

It has been reported that Locker transcribes images and PDFs into searchable text so you can find files by content, not just by name. Developers get a type-safe tRPC API and programmatic access via API keys; the UI uses Next.js 16, Tailwind, and BetterAuth, backed by PostgreSQL and Drizzle ORM in a Turborepo monorepo. Locker also exposes a “virtual filesystem API” with ls, cd, find, cat and grep semantics. Sessions are stored server-side with encrypted cookies, and authentication supports email/password plus Google OAuth. Nice for teams — and for people who like their data under their own roof.

Deployment, cost and caveats

Locker is free and open source — you only pay for the infrastructure you choose. Clone the repo, run pnpm install, set up Postgres, configure .env, run migrations, and you’re off. The pitch is straightforward: no vendor lock-in, no surprise pricing, and no third party reading your files. But remember: self-hosting shifts responsibilities. Backups, uptime, security patches and egress costs become yours to manage. Want the flexibility without surprises? That convenience has a price — just not a subscription fee.

Why this matters

With cloud costs and egress fees under fresh scrutiny across the industry, tools that let teams control where their data lives are catching on. Locker isn’t a magic wand — it’s a toolkit. For some, it’ll be liberation; for others, extra ops work. Either way, it puts a familiar drive experience into hands you control. Who doesn’t like the sound of taking back the keys?

Sources: locker.dev, Hacker News