ARK-Builders / ARK-Builders/ark-core

`drop-core` Add transfer speed and ETA to CLI progress output

Open
#102 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
10
Forks
6
PR merge metrics
No merged PRs in 30d

Description

#### Currently, the CLI shows progress as percentage and bytes transferred, but doesn't display transfer speed or estimated time remaining. This would improve UX significantly for large file transfers.

#### Implementation considerations:
- Calculate speed using a rolling average over the last few seconds to smooth out fluctuations
- Format bytes in human-readable units (KB/s, MB/s, GB/s) based on magnitude
- Calculate ETA based on current transfer speed and remaining bytes

#### Additional improvements:
- Show instantaneous and average speeds
- Add option to toggle between detailed and simple progress display

more info: https://github.com/ARK-Builders/ark-core/pull/101#discussion_r2237244116

Contributor guide

Open the contributing guide

Research direction

Start by locating the CLI progress-output entry point and read the discussion linked from PR #101. Confirm the scope for rolling, instantaneous, and average speed, human-readable units, ETA, and the detailed/simple toggle; done means the agreed output behaves correctly during large transfers.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.