application-research / estuary-www

https://estuary.tech
https://estuary.tech
Other
35 stars 31 forks source link

Upload files from URLs #41

Open alvin-reyes opened 2 years ago

alvin-reyes commented 2 years ago

Proposal

We want to make it easy for anyone to transfer or upload files to estuary and one of features we can introduce for this is to allow uploading files with URLs.

The idea is to allow the user to specify a link (URL), which the process can grab and upload it to estuary using the API endpoints.

Changes

  1. add a downloader queue that will consume these URLs.
  2. the queue will download the file (wget or curl) and load it on estuary using the endpoints.
  3. make a change on the UI to allow uploading files.

Notes

  1. make sure to check for duplicate files
  2. the downloader can be another process or module that sits alongside estuary.
  3. each download should call a goroutine and can emit responses (use socket.io)