homeisfar / LinuxDir2HTML

Other
86 stars 17 forks source link

Add feature to track progress and display remaining time in terminal #16

Open nsozturk opened 1 month ago

nsozturk commented 1 month ago

I would like to request a feature that allows users to track the current progress directly from the terminal while using the LinuxDir2HTML tool. Along with progress updates, it would be helpful to display the estimated remaining time for completion.

Requested features:

Some samples

Processing: 30%|███ | 30/100 [00:03<00:07, 9.14it/s]

Processing:   0%|          | 0/100 [00:00<?, ?it/s]
Processing:  10%|█         | 10/100 [00:01<00:09,  9.22it/s]
Processing:  20%|██        | 20/100 [00:02<00:08,  9.25it/s]
Processing:  30%|███       | 30/100 [00:03<00:07,  9.27it/s]
Processing:  40%|████      | 40/100 [00:04<00:06,  9.28it/s]
Processing:  50%|█████     | 50/100 [00:05<00:05,  9.29it/s]
Processing:  60%|██████    | 60/100 [00:06<00:04,  9.29it/s]
Processing:  70%|███████   | 70/100 [00:07<00:03,  9.30it/s]
Processing:  80%|████████  | 80/100 [00:08<00:02,  9.30it/s]
Processing:  90%|█████████ | 90/100 [00:09<00:01,  9.30it/s]
Processing: 100%|██████████| 100/100 [00:10<00:00,  9.31it/s]
nsozturk commented 1 month ago

added this feature and have tested. @homeisfar here: https://github.com/homeisfar/LinuxDir2HTML/pull/17