QubitProducts / gcs-browser-upload

Resumable chunked uploads to Google Cloud Storage from the browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Context for usage example?

danielcompton opened this issue · comments

I'm not a deep JS expert, especially on new JS compilation technologies. Would you be able to give me a pointer for how to use the usage example, i.e. what else I need to do to use this in a project that targets the browser, or an example project using it?

I'm in the same boat. I just started learning GCS this week, and need a library to perform resumable uploads from the browser using signed URLs. (I was shocked to learn Google doesn't provide one.)

This library might do what I want, but I don't feel comfortable using it with no docs, 1 contributor, and no responses on issues.

Would you describe this library as actively maintained, or simply an example archived for posterity?

@odigity You can see where I got to in #12. Notably I still don't have a working method for generating resumable upload URLs yet. I was testing with signed URLs using the XML API, but they will only work if the file is small enough to fit into a single chunk. I've given up on this for now, but would be interested if you manage to figure out how to generate resumable upload URLs, especially with the Java API, but NodeJS would be suitable too.

I'm in the exact same spot. In fact, I just opened an issue on the GCS Node lib explaining my problem:

googleapis/google-cloud-node#2248

Apologies for the very late response on this. For some reason I wasn't getting any notifications about this repository.

We are not actively developing this library at the moment since we no longer use it in our own production code.

Hey, I am using it in my project but it's not working as expected.
Lets say user select file 0f 100 mb, after 50 mb the internet connection gets lost, it raise an error of networkError but on restoring internet it doesn't resume that upload. Is it work in this way or am i missing something?