Closed haseakito closed 1 year ago
This can a good reference too.
When uploading large size videos, try to use multipart upload wherever possible.
AWS sdk throws this error. Does it have something to do with new version of sdk being imcompatible with Nextjs or new Nextjs app folder does not work well with AWS sdk?
Import trace for requested module: ./node_modules/aws-crt/dist/native/binding.js ./node_modules/aws-crt/dist/native/auth.js ./node_modules/aws-crt/dist/index.js ./node_modules/@aws-sdk/util-user-agent-node/dist-cjs/is-crt-available.js ./node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js ./node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js ./node_modules/@aws-sdk/client-s3/dist-cjs/S3Client.js ./node_modules/@aws-sdk/client-s3/dist-cjs/index.js ./components/FileUpload.tsx ./app/profile/posts/[postId]/components/ImageForm.tsx
Decided to use UploadThing over AWS S3. Still, hosting on AWS would be nice though.
Memo
Decided to use UploadThing over AWS S3. Still, hosting on AWS would be nice though.
Hello there,
I'd like to recommend trying out the next-s3-uploader package, which I created specifically for Next.js app directories. It simplifies the file upload process seamlessly.
You can explore the documentation for comprehensive details. Should you encounter any challenges or have questions, don't hesitate to get in touch with me or open a GitHub issue here. I'm here to provide assistance and support.
@abhay-ramesh Thanks for your reply. Since I'm working on a bunch of different projects, I'm going to look into your repository in one of the projects. You've made a huge contribution to the Nextjs and also AWS ecosystem for developers around the world. Thank you and keep on grinding bro!!
Issue
Requirements
.env
fileReferences
Features Expectation in the future
drag and drop
with react-dropzone or @mantime/dropzone