idea: show estimated time remaining while downloading a model
Problem Statement
Today Jan shows the amount of data left to download (125 MB / 530 MB) but not how long that is likely to take. An ETA helps users decide whether to wait, pause, or switch to a faster connection. The % progress is a good proxy, but for large download sizes it becomes hader to project forward.
Feature Idea
- Desktop GUI
• Beside the existing progress bar:
• Suggestion: e.g. “≈ 3 m 12 s remaining” in the same row, right-aligned.
or:
Algorithm
• Calculate download rate as an exponential moving average (EMA) of the last N progress samples.
• ETA = (total_bytes − downloaded_bytes) / avg_bytes_per_sec.
• Cap at 99 h 59 m so garbage values don’t creep in on very slow links.
• Update at most once per second to avoid UI thrash.
An alternative is to use instantaneous rate (Δbytes / Δt at each tick), but that could be noisy, especially with Wi-Fi or VPN.
Options / toggles
I like how Jan has reasonable settings out of the box, and would rather not clutter with more. If we do want advanced settings for this, some ideas I had are:
| Setting | Default | Notes |
|---|---|---|
Preferences ▸ Appearance ▸ Show Download ETA |
ON | Hide if user prefers a minimalist UI |
Rate smoothing: instant / 5-s avg / EMA |
EMA | Possible advanced setting? |
Display units |
auto | Switch between “MM:SS”, “Xm Ys”, or “~5 min” |
Drawbacks / risks
• ETA will probably fluctuate on unstable connections; EMA should mitigate, but users may see jumps.
• If multiple parallel downloads share bandwidth, each instance computes ETA independently and may over-promise. (A global bandwidth monitor could improve this?)
Source: janhq/jan