Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Server upload file from ReadableStream or similar (instead of loading the complete file into memory) #538

Open
1 task
Martoxdlol opened this issue Jan 7, 2024 · 2 comments
Labels
area:packages issue regarding one of the uploadthing packages ✨ enhancement suggestion or feature request to improve uploadthing planned We would like this to happen

Comments

@Martoxdlol
Copy link
Contributor

Describe the feature you'd like to request

Upload file from a stream (like ReadableStream) at server side. I want to be able to upload a large file from a stream so I don't need it to be fully loaded into memory. Also, I want to know the upload progress, with this I will be able to do it.

Describe the solution you'd like to see

A option to provide some kind of stream instead of only a Blob with all the content loaded in it.

Additional information

No response

👨‍👧‍👦 Contributing

  • 🙋‍♂️ Yes, I'd be down to file a PR implementing this feature!
@Martoxdlol Martoxdlol added the ✨ enhancement suggestion or feature request to improve uploadthing label Jan 7, 2024
@juliusmarminge
Copy link
Collaborator

I think we've talked about this and want to add it in the future 👍🏼

@juliusmarminge juliusmarminge added planned We would like this to happen area:packages issue regarding one of the uploadthing packages labels Jan 8, 2024
@akarabach
Copy link

I would like to see a readstream as well, it will be possible to use uploadthing as google drive or as video streaming platform since download traffic is unlimited

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:packages issue regarding one of the uploadthing packages ✨ enhancement suggestion or feature request to improve uploadthing planned We would like this to happen
Projects
None yet
Development

No branches or pull requests

3 participants