{
  "id": 12173646,
  "title": "Add a Drive-style file manager to Next.js without giving up your bucket",
  "url": "https://urgent.news/2026/10/05/add-a-drive-style-file-manager-to-next-js-without-giving-up-your",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-05T14:59:25.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/luis_yerenasosa_/add-a-drive-style-file-manager-to-nextjs-without-giving-up-your-bucket-2fpa"
  },
  "original_language": "en",
  "account": "file-next is an open-source filesystem for Next.js that keeps the bytes in your S3 or R2 bucket and the folder tree in your database. It provides a Drive-like explorer or allows you to use hooks without a UI. The metadata store can be SQLite or Postgres, while the object storage is S3 or R2. The filesystem separates the file management logic from the object storage, allowing for a more flexible and scalable solution. File-next installs four packages: the base package, your own UI, a Drive-like explorer, and server actions. It uses getAuth() to determine the tenant ID and user ID securely, ensuring multi-tenant files are managed appropriately. The filesystem returns a Result object with success or failure information, making it easy to handle errors in your application.",
  "summary": "file-next keeps the bytes in your S3 or R2 bucket and the folder tree in your database. Tenant comes from the server. The UI is optional. You already know how to put a file in S3. The trouble starts the week after. Someone wants folders. Then search. Then a trash can they can undo. Then a link they can send that does not expire into a raw bucket URL. Then a second customer, and the tenant id in…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}