Skip to content
This repository was archived by the owner on Dec 17, 2022. It is now read-only.

Progress feedback in output #33

Open
dominikwilkowski opened this issue Jun 23, 2015 · 1 comment
Open

Progress feedback in output #33

dominikwilkowski opened this issue Jun 23, 2015 · 1 comment

Comments

@dominikwilkowski
Copy link

I assume there is no way you can output some feedback as to how much has been downloaded so far. I am handling ~100MB files and it's hard to stare at a blank screen for that long :)

Something like:

[======                                  ] 30% done

would be awesome.

@twolfson
Copy link
Owner

This should be possible. I would imagine people to opt in via something like progress: true. I am going to mark this issue with a "help wanted" as I have other higher priority items in my queue =/

If you are interesting taking it on, I suggest taking a library which takes request, extracts the Content-Length response header, and calculates the progress as new chunks come in:

https://github.com/freeall/progress-stream

https://github.com/IndigoUnited/node-request-progress

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants