Getting Started

Rebuilt Next S3

rebuilt-next-s3 is a simple and easy to use library for Next.js to upload files to S3 buckets.

Rebuilt is a project in progress you can learn more about us at rebuilt.so (opens in a new tab) or on X (opens in a new tab).

Installation

npm install rebuilt-next-s3

or

yarn add rebuilt-next-s3

Environment Variables

You’ll need to set up the following environment variables for this package to work correctly:

REBUILT_S3_ACCESS_KEY_ID=your-access-key-id
REBUILT_S3_SECRET_ACCESS_KEY=your-secret-access-key
REBUILT_S3_REGION=your-region
REBUILT_S3_BUCKET_NAME=your-bucket-name

Refer to the Next.js documentation for more information on how to set up environment variables in your app. https://nextjs.org/docs/pages/building-your-application/configuring/environment-variables (opens in a new tab)