mateimarica / mateimarica.dev

Personal website with an Express.js backend.
https://mateimarica.dev
MIT License
0 stars 0 forks source link

[files] Display "estimated time remaining" info during upload #30

Open mateimarica opened 2 months ago

mateimarica commented 2 months ago

Could be calculated as:

(fileSize / (bytesUploaded / milliSinceStart)) / 1000

or, it could take into account only the past 5 seconds of upload speed.

Displaying the upload speed would also be interesting.