henrik / progress_bar

Command-line progress bars and spinners for Elixir.
MIT License
329 stars 20 forks source link

Elapsed time and ETA #2

Closed henrik closed 5 years ago

henrik commented 8 years ago

If there's a sensible way of doing this. Maybe running the progress bar as a server? That could also enable us to have a tick(progress_to_add) type interface like https://github.com/tj/node-progress.

praveenperera commented 8 years ago

It would be cool to add the download speed as well, like in the mechanize progress bar: https://github.com/kitamomonga/Mechanize-ProgressBar

henrik commented 8 years ago

@praveenperera :thumbsup: Sounds good. I also like the idea of Mechanize progress bar – I might make a httpoison_progress_bar for fun some day. Basically combining this lib with https://gist.github.com/henrik/108e5fc23b66131fc3aa, automagically showing an indeterminate bar if there's no content length.

henrik commented 5 years ago

Closing this since I don't think I'll get around to it, but if anyone else wants to, feel free!